Thursday, August 13, 2009

How to use apt-get behind proxy server (Ubuntu/Debian)


If you’re using command-line apt-get


Edit your /etc/bash.bashrc file as root.


Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

You can omit the username:password, if your proxy server has no password. That’s all for today! Happy apt-get-ing!


debian,ubuntu,knoppix, mepis, apt-get


No comments:

Post a Comment