How to configure apt-get to go through proxy server 

  1. edit file /etc/apt/apt.conf
  2. add the following line to it

    Acquire::http::Proxy "http://username:password@Proxy_IP:port";

Ignore username and password if your proxy server does not require authentication to connect to internet.

Ref: http://www.ee.iitb.ac.in/uma/~shanmuga/linux.html[]

Using DSL Behind a Proxy Server 

http://www.damnsmalllinux.org/talk/node/218

For those of you who need to get DSL working from behind your company's proxy server,

export http_proxy='http://userid:password@proxy.yourcompanyserver.com:port'
export ftp_proxy='http://userid:password@proxy.yourcompanyserver.com:port'

save to the .bash_profile file so next time you reboot it will all be set for you..

documented on: 2007.05.01