use yum behind a proxy on CentOS 5.6
Posted
by
ewok
on Super User
See other posts from Super User
or by ewok
Published on 2012-03-14T20:27:08Z
Indexed on
2012/03/26
11:34 UTC
Read the original article
Hit count: 294
I have a CentOS VM running in Virtualbox on a Windows 7 host (all 64-bit). I have configured the proxy in the System menu and have added the proxy=http://my.proxy.com:12345
line to my /etc/yum.conf
file. I am able to connect to the internet from a browser, and I can update packages form the update manager and install them from the package manager. However, I cannot use yum for anything. When I attempt to use yum (install, update, upgrade, or anything else), It attempts to connect to the mirrors, does nothing, then after a minute or so, quits.
Does anyone know how to configure yum to work behind a proxy?
© Super User or respective owner