Configuring YUM to use a Proxy Server.

There are two basic ways that you can configure YUM to use a proxy server.

First is by editing the yum.conf file pop over to this web-site. The yum.conf is usually localed in the /etc directory. You will need to add couple of parameters depending on your proxy configuration.

1.) The first parameter is to add the proxy server to the yum.conf.

# The proxy server – proxy server:port number
proxy=http://yum.proxy.server:3128

2.) Now If a username and password is required to login to the proxy server.

# The account details for yum connections
proxy_username=username
proxy_password=password

The second way is by configuring the user’s environmental variables.

1.) The first way is just by adding the proxy server information.

bash> http_proxy=”http://yum.proxy.server:3128″
bash> export http_proxy

2.) The second way is by adding the proxy server with an username and password.

bash> http_proxy=”http://username:password@yum.proxy.server:3128″
bash> export http_proxy

 

4 responses to “Configuring YUM to use a Proxy Server.”

  1. Appliance Repair Manual Avatar

    Hi there, just became alert to your blog through Google,and found that it is truly informative. I am gonna watch outfor brussels. I’ll be grateful if you continue this in future.Lots of people will be benefited from your writing.Cheers! http://www.kayswell.com

  2. Appliance Repair Manual Avatar

    Howdy just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Ie. http://www.kayswell.com

  3. Appliance Repair Manual Avatar

    Hello, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam feedback? If so how do you stop it, any plugin or anything you can recommend? I get so much lately it’s driving me insane so any help is very much appreciated. http://www.kayswell.com

  4. Appliance Repair Manual Avatar

    I’m curious to find out what blog system you have been using? I’m experiencing some small security issues with my latest blog and I’d like to find something more safe. Do you have any suggestions? http://www.kayswell.com

Leave a Reply