Friday, 12 December 2008

Using apt-get With A Proxy Server

So I mainly use my laptop when at Uni now. Recently they have tried (but failed) to stop people using the wireless Internet. They have now set up a proxy server.

This is fine as I have got all the correct settings, so I am still able to connect to the Internet. However, I was having problems using apt-get. If you are having similar problems, then this is how to get around it:

1] You will need to edit /etc/apt/apt.conf file using a text editor.

2] Enter the following lines of text, changing the necessary information to match the settings of the proxy server that you are using:

ACQUIRE {
http::proxy "http://userid:password@proxy-ip:port-number/"
}

1 comment:

  1. always try to use good Proxy Server that require simple configuration and easy to use you can find many free proxies on net.

    ReplyDelete