Thursday 18 December 2008

Removing the default proxy setting for RedHat's "yum"

If you had set up the yum wizard to use an http proxy, these settings/environment variables are placed in /etc/sysconfig/rhn/up2date.

So, if you decide to remove/stop using this default proxy, you would need to modify the above file by setting the following variables to the respective values:

enableProxy=0 <- set this value to 0 (zero)
httpProxy= <- remove the proxy string
proxyUser= <- remove the username string
proxyPassword= <- remove the password string