yum提示This system is not registered with RHN.RHN support will be disabled.
Posted on 2014-08-01 16:00 牧羊岛 阅读(5464) 评论(0) 编辑 收藏 举报[root@cactiez ~]# yum install mlocate
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package mlocate available.
Nothing to do
使用CentOS源:
cd /etc/yum.repos.d/ wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo mv rhel-debuginfo.repo rhel-debuginfo.repo.bak cp CentOS-Base.repo rhel-debuginfo.repo