CentOS – How to Configure the Software Update Application to Use a Proxy Server

To get the Software Update application in CentOS to use a web proxy server, add the following line to the /etc/yum.conf file:

proxy=http://www.theProxyServer.com:port/

Replace “www.theProxyServer.com:port” with the URL and port number of the proxy service running on the proxy server. The “/” at the end is important so don’t forget to add it.