Print Friendly

Configuring pup/yum for a proxy on CentOS 5

Edit the /etc/yum.conf and add

proxy=http://proxy-server-hostname:proxy-server-port/

Note the final slash, it is most important.

ref:
http://docs.fedoraproject.org/yum/sn-yum-proxy-server.html.