代码改变世界

随笔档案-2012年9月25日

64位RHEL5系统上运行yum出现"This system is not registered with RHN”的解决方法

2012-09-25 13:58 by idkkk, 447 阅读, 收藏,
摘要: 在红帽EL5上运行yun,提示“This system is not registered with RHN”,证明你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案是采用centos源。1.卸载rhel的默认安装的yum包查看yum包:# rpm -qa|grep yum卸载yum包:# rpm -qa|grep yum|xargs rpm -e --nodeps2.下载新的yum包并安装(请注意下载对应系统及位数的安装包)# wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-39.el 阅读全文