1)首先,需要移除系统注册相关软件
∘ 查看相关软件:rpm -qa | grep subscription-manager
∘ 移除相关软件:yum remove subscription-manager
2)为了使用CentOS提供的yum源,需要删除系统自带的yum
∘ rpm -aq | grep yum | xargs rpm -e –nodeps
3)从Centos上下载安装yum
∘ wget http://vault.centos.org/6.0/os/x86_64/Packages/Python-iniparse-0.3.1-2.1.el6.noarch.rpm
∘ wget
1