This system is not registered with RHN

来源:互联网 发布:百度下载安装 mac版 编辑:程序博客网 时间:2024/05/18 12:03

转自:http://hi.baidu.com/bluedream_119/item/4f58a5fd7b81c5ee1a111f53

 

红帽中出现This system is not registered with RHN这个的原因是因为红帽中没有注册RHN。解决办法:(假定你已安装yum,且网络畅通)更改yum的源,即更换/etc/yum.repos.d/rhel-debuginfo.repo 这个文件。入/etc/yum.repos.d/目录,终端中输入wgethttp://docs.linuxtone.org/soft/lemp/CentOS-Base.repo即可在此目录下得到CentOS-Base.repo文件,这是centos的源文件,只需将其重命名为rhel-debuginfo.repo即可,以前的文件做个备份。