RHEL6 use CentOS6 YUM

2013-09-10 12:17
[root@opsview01 ~]# cd /etc/yum.repos.d/
[root@opsview01 yum.repos.d]# vi centos.repo
 
[base]
name=CentOS-6.3 - Base
baseurl=https://vault.centos.org/6.3/os/x86_64/
gpgcheck=1
enabled=1
 
[updates]
name=CentOS-6.3 - Updates
baseurl=https://vault.centos.org/6.3/updates/x86_64/
gpgcheck=1
enabled=1
 
[extras]
name=CentOS-6.3 - Extras
baseurl=https://vault.centos.org/6.3/extras/x86_64/
gpgcheck=1
enabled=1
 
[plus]
name=CentOS-6.3 - Plus
baseurl=https://vault.centos.org/6.0/centosplus/x86_64/
gpgcheck=1
enabled=1
 
[root@opsview01 ~]# yum clean all
[root@opsview01 ~]# yum update