首页 > 代码库 > yum提示This system is not registered with RHN.RHN support will be disabled.

yum提示This system is not registered with RHN.RHN support will be disabled.

[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.repomv rhel-debuginfo.repo rhel-debuginfo.repo.bakcp CentOS-Base.repo rhel-debuginfo.repo