Friday, June 1, 2007

Make wget, apt-get and aptitude use a proxy server

Just add this lines to your /etc/environment file...

http_proxy="http://ip address:ip port"
ftp_proxy="http://
ip address:ip port"

then run this command to apply the changes:

source /etc/environment

No comments: