yum behind a proxy

If you happen to be behind a corporate proxy and need to get “yum” working you could easily set your proxy settings in the “yum.conf” file. The file is usually located here:

/etc/yum.conf

And all you need to do is to set the following variables:

proxy=http://proxy.mydomain.com:3128
# If your proxy server happen to need user/pass credentials for Authentication
proxy_username=proxy_user
proxy_password=proxy_pass
Advertisements

One thought on “yum behind a proxy

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