Skip to content

Instantly share code, notes, and snippets.

@ducfilan
Last active October 19, 2018 02:58
Show Gist options
  • Select an option

  • Save ducfilan/027d93974c42481f81a5e9f61a6b59ef to your computer and use it in GitHub Desktop.

Select an option

Save ducfilan/027d93974c42481f81a5e9f61a6b59ef to your computer and use it in GitHub Desktop.
To Set Proxy in Ubuntu:
Edit the /etc/apt/apt.conf file under root and add the following:
Acquire::http::proxy "http://ProxyHOST:ProxyPORT/";
Acquire::https::proxy "https://ProxyHOST:ProxyPORT/";
sudo gedit ~/.condarc
proxy_servers:
http: http://ProxyHOST:ProxyPORT
https: https://ProxyHOST:ProxyPORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment