Yum with Proxy Server Fedora, CentOS and Redhat

If your RPM based Linux System use proxy server to use internet(not connected internet directly), you cannot use "yum" commands by default.To Use yum commands to install packages via proxy internet, follow the below method.

Yum Behind Proxy
Step1: Edit yum.conf file located in /etc/yum.conf and specify the proxy server and port number,

and also apecify proxy username and password if required
[root@server ~#]vi /etc/yum.conf
#disable the line starting with "cachedir=/var/cache/yum/$basearch/$releasever"
by adding a "#" in front of the line. and add a new line just below and specify your internet proxy server ip address and port number in below format.(Reboot PC to take effect)

Use proxy_username and proxy_password (only if applicable)
Yum via http proxy server
#And save the yum.conf file, and try package management with YUM.. 

Was this helpfull ?


Mary Mary jhon said...

Unblock Proxy enables you to unblock/avoid/bypass all the websites. now you can unblock all of your favroite websites like unblock proxy youtube, facebook and many more as you want.

Related Posts Plugin for WordPress, Blogger...

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons