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.repo
mv rhel-debuginfo.repo rhel-debuginfo.repo.bak
cp CentOS-Base.repo rhel-debuginfo.repo

 

你可能感兴趣的:(yum提示This system is not registered with RHN.RHN support will be disabled.)