Yum centos behind a proxy | Tip

by

Please shareShare on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page

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.