Oracle Linux更新Yum源


发现Oracle Linux更新Yum源还是挺方便的,比Red Hat省事很多,而且在6.3的版本中,默认已经有重新编译可用的Yum了。
 
Oracle Linux 4, Update 6 or Newer
 
# cd /etc/yum.repos.d
 
# mv Oracle-Base.repo Oracle-Base.repo.disabled
 
# wget http://public-yum.oracle.com/public-yum-el4.repo
 
 
Oracle Linux 5
 
# cd /etc/yum.repos.d
 
# wget http://public-yum.oracle.com/public-yum-el5.repo
 

Oracle Linux 6
 
# cd /etc/yum.repos.d
 
# wget http://public-yum.oracle.com/public-yum-ol6.repo
 

Oracle VM 2
 
# cd /etc/yum.repos.d
 
# wget http://public-yum.oracle.com/public-yum-ovm2.repo
 

2. 最后修改下载的文件,把Change enabled=0 改为 enabled=1

相关内容