Just add the following lines into your /etc/apt/apt.conf if you require a proxy to connect to the internet.
Acquire {
Retries "0";
HTTP {
Proxy "http://www.yourproxyserver.com:port";
};
};
You can also export http_proxy variable and include the following in your .bashrc
http_proxy=http://username:password@yourproxyserver:port/
export http_proxy
No comments:
Post a Comment