Google Plus

Configure Ubuntu 10.10 Maverick Meerkat to work behind a proxy

Written by Mel Kham on . Posted in Frequently Asked Questions

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • nana adhei

    when i try saving i get error message saying "Please check that you typed the location correctly and try again"

  • http://enteryoursiteURL... pirat9

    was small error in the command. try this :
    gedit /etc/apt/apt.conf
    and put the proxy settings

  • http://enteryoursiteURL... Crash_Victim

    For those of you using xubuntu or any other linux that does not have an /etc/apt/apt.conf, create it with sudo mousepad /etc/apt/apt.conf. Substitute whatever you want for an editor. Mousepad just happened to be what I had.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Pat L

|

I tried it and it works with a regular zip file, but if you password-protect the .zip file it does NOT work.

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .