Yum centos behind a proxy | Tip

by

Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUpon

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.