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/"
}




Share your views...

0 Respones to "Using apt-get With A Proxy Server"

Post a Comment

 

About Me

Hey! I'm Jam, a part time web developer / blogger form the UK. I have a love for anything involving Artificial Intelligence, and robotics.

I'm also quite a fan of Ubuntu Linux! And I'm guessing you are since you're here? If you would like to contribute your own posts to this blog, then please get in touch!

Thinking about getting your own website? Click on the below link for great prices, and great designs!

Jam1e.co.uk

Our Partners

Would you like to see your link here? Contact us to find out how!

© 2010 Jam's Ubuntu Linux Blog All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info