Monday, November 22, 2010

Connection problem when run apt-get behind proxy server

Error when running apt-get update command behind the proxy server:

> Cannot initiate the connection

Solution as below:
1) Edit the configuration:
nano /etc/apt/apt.conf

2) Insert the proxy URL & port number, example:
Acquire::http::Proxy "http://ip-address:port/";

No comments:

Post a Comment