-
Configure Yum Behind Authenticated Proxy Server
You can follow the following steps to get yum working behind a proxy server using user name & password for authentication.
1) Add the following lines to yum.conf file.
vi /etc/yum.conf
proxy=http://proxy_server_here:port/ proxy_username=user_name proxy_password=user_password
2)Export http proxy in bash login :
vi /root/.bash_profile
export http_proxy=”http://proxy_server_here:80/”
2)Export http proxy variable :
export http_proxy=”http://proxy_server_here:80/”
For testing ,run
echo $http_proxy3)check now that every thing is working fine :
yum list
if there is no problems ,this should list all packages in all the repositories and all the packages installed on your system.
Setup Linux Network bonding Configuring dom0 Memory in XenServer 6.1.0
Configure Yum Behind Authenticated Proxy Server
Recent Posts
Categories
Archives
Comments are currently closed.