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