Monday, 10 February 2014

Using apt-get through a proxy.

The network nazi's have blocked your access to the Internet and are forcing everything through a proxy. What to do?  
Well, you can do this. 
Edit or create /etc/apt/apt.conf. Add the following lines; 
Acquire::http::proxy "http://username:password@proxyserver:port/";
Acquire::https::proxy "https://username:password@proxyserver:port/";
Acquire::socks::proxy "socks://username:password@proxyserver:port/";

No comments: