Jump to content

CentOS 5 Proxy Configuration


Recommended Posts

We are currently using a CentOS 5.6 server inside a corporate intranet and so to pull updates down from the internet we must go through a proxy using credentials.

Here is how I did it.

nano /etc/profile




export http_proxy https_proxy ftp_proxy

reboot CentOS

echo $http_proxy

then run

nano /etc/yum.conf




Test yum.conf by searching for an application like wireshark

yum search wireshark

if it's configured correctly you will see it pulling information. if its configured incorrectly you will see something like the following:

 HTTP Error 407: Proxy Authentication Required

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...