Configure Ubuntu 10.10 Maverick Meerkat to work behind a proxy

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

Question: How  to install or update packages behind a proxy Server in Ubuntu 10.10 Maverick Meerkat?

Answer :

Open terminal and add the following lines to /etc/apt/apt.conf.

gedit /etc/apt/apt.conf

And add these 2 line :

Acquire::http::Proxy "http://user:pass@proxy-host:port/";
Acquire::ftp::Proxy "http://user:pass@proxy-host:port/";

Question: How  to install or update packages behind a proxy Server in Ubuntu 10.10 Maverick Meerkat?

Answer :

Open terminal and add the following lines to /etc/apt/apt.conf.

gedit /etc/apt/apt.conf

And add these 2 line :

Acquire::http::Proxy "http://user:pass@proxy-host:port/";
 

If  you are not  using a proxy with  password, then add the following lines instead.

Acquire::http::Proxy "http://proxy-host:port/";
Acquire::ftp::Proxy "http://proxy-host:port/";

save  and exit

Now you should be able to install packages and update your maverick meerkat behind a proxy. This  method has been  tested  on  Ubuntu 10.04  and  10.10 and works  fine.

{module user9-footer}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0