Now we are going to enable yum update through proxy server on Linux Centos system. So Backup "yum.conf" configuration file before we start edit the yum.conf file.
[root@sysadmin ~]# cp -p /etc/yum.conf /etc/yum.conf.bkp
Open the yum.conf configuration file and put the http proxy server address and proxy port number
[root@sysadmin ~]# vim /etc/yum.conf
If the proxy server require a user name and password... edit the /etc/yum.conf and add proxy user username and add proxy user password
Then execute "yum clean all" command to clean/clear yum cache file
Then execute "yum update" command
I hope, it should work.
[root@sysadmin ~]# cp -p /etc/yum.conf /etc/yum.conf.bkp
Open the yum.conf configuration file and put the http proxy server address and proxy port number
[root@sysadmin ~]# vim /etc/yum.conf
If the proxy server require a user name and password... edit the /etc/yum.conf and add proxy user username and add proxy user password
Then execute "yum clean all" command to clean/clear yum cache file
Then execute "yum update" command
I hope, it should work.
No comments:
Post a Comment