How to enable yum in fedora through Proxy Server
Below Process show how to yum repository update in fedora through squid proxy server.
1. first step- take backup yum.conf file.
[root@vsnl ~]# cp /etc/yum.conf /etc/yum.conf.bkp
2. second step- Add proxy server ip in yum.conf file for enable update yum repository
[root@vsnl ~]# vim /etc/yum.conf
[main]
http://192.168.10.2:8080
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
Note-: 192.168.10.2:8080 is a proxy server ip & port number.
Note-: If you want to keep all download rpm copy in your pc then replace value
keepcache=0 to keepcache=1
After editing all things save file & execute yum clean all command in terminal
& then downlaod any rpm from internet.
[root@vsnl ~]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@vsnl ~]#
[root@vsnl ~]# yum install (Rpm name)