标签:oar 原因 列表 centos lis view arc data- grep
由于redhat的yum在线更新要收费,即没有注册的无法使用;
将redhat的yum卸载、重装第三方源。
第三方源包括:网易,重庆大学,epel 等
Author wood_man.
2015.10.2 v2.0
测试环境
#VMware 10.0
#RHEL6.5_x86_64
#Start
1 wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm 2 wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm 3 wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm 4 wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-60.el6.centos.noarch.rpm
3 安装yum
1 rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm 2 rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm 3 rpm -ivh yum-3.2.29-60.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm
#需同时安装两个,相互依赖。
1 cd /etc/yum.repos.d 2 mv rhel-source.repo rhel-source.repo.bak 3 wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 4 mv CentOS6-Base-163.repo rhel-source.repo 5 sed -i ‘s/\$releasever/6/g‘ rhel-source.repo
5 #yum clean all
标签:oar 原因 列表 centos lis view arc data- grep
原文地址:http://www.cnblogs.com/woodman/p/6136868.html