May 6, 201115 yr 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 http_proxy="http://domain\user:passwd@proxy.com:80/" https_proxy=$http_proxy ftp_proxy=$http_proxy export http_proxy https_proxy ftp_proxy reboot CentOSecho $http_proxythen run nano /etc/yum.conf proxy=http://proxy.com:80 proxy_username=domain\user proxy_password=passwd 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
Create an account or sign in to comment