configure yum through proxy


Recently,I was having problems on installing via yum via proxy..after a bit searching on google i found a the way to configure yum through proxy.
Edit the yum.conf file in /etc/ folder
$vi /etc/yum.conf

[main]
proxy=http://proxy_address:port_number/
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
…..
save the file and now you can use yum through proxy.

Advertisements
2 comments
  1. rohit said:

    dude yum is not hapening in ubuntu also………why is it so

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: