码迷,mamicode.com
首页 > 其他好文 > 详细

解决This system is not registered with RHN

时间:2016-01-10 11:42:03      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

1.Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令 cd /etc/yum.repos.d/   进入yum的配置目录。
2.在终端中输入 wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo 命令,下载CentOS- Base.repo文件。
3. mv  rhel-debuginfo.repo rhel-debuginfo.repo_bak
4.然后将原的rhel-debuginfo.repo备份一下,使用命令mv CentOS-Base.repo rhel-debuginfo.repo,将CentOS- Base.repo重命名成rhel-debuginfo.repo。

解决This system is not registered with RHN

标签:

原文地址:http://www.cnblogs.com/FCWORLD/p/5118077.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!