Yum centos behind a proxy | Tip

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

Question: How  to  use  yum behind  proxy on  centos 5.5 ?

Answer:

open  terminal  and  under  root  run the  following export  commands:

 

export  http_proxy=http://user:pass@host:port/

or

export  ftp_proxy=http://user:pass@host:port/

Now   run  the  yum install or update  again

 

is done.

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

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0