On some Linux distributions (e. g. Mint) for some applications (e. g. software center/apt) the default system proxy settings are not respected.
Those additional settings are needed:
- Add to /etc/environment:
http_proxy=http://myproxy.server.com:8080/
https_proxy=http://myproxy.server.com:8080/
ftp_proxy=http://myproxy.server.com:8080/
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
HTTP_PROXY=http://myproxy.server.com:8080/
HTTPS_PROXY=http://myproxy.server.com:8080/
FTP_PROXY=http://myproxy.server.com:8080/
NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
- Create file /etc/apt/apt.conf.d/95proxies with contents:
Acquire::http::proxy "http://myproxy.server.com:8080/";
Acquire::ftp::proxy "ftp://myproxy.server.com:8080/";
Acquire::https::proxy "https://myproxy.server.com:8080/";
Replace all myproxy.server.com occurrences with your proxy name or ip.
Source:
http://www.ictsteps.com/2013/10/how-to-use-proxy-setting-with-linux-mint.html
Kategorie(n): Linux