Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package subversion available. Nothing to do
红帽中出现"This system is not registered with RHN"这个的缘由是由于红帽中没有注册RHN。linux
解决办法:(假定你已安装yum,且网络畅通)更改yum的源,
即更换/etc/yum.repos.d/rhel-debuginfo.repo 这个文件。首先备份,以下所示:centos
[root@localhost yum.repos.d]# ls /etc/yum.repos.d/
rhel-debuginfo.repo.bak网络
进入/etc/yum.repos.d/目录,终端中输入测试
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repospa
再看目下有什么文件:nuxt
[root@localhost yum.repos.d]# ls /etc/yum.repos.d/
CentOS-Base.repo rhel-debuginfo.repo.bakdebug
便可在此目录下获得CentOS-Base.repo文件,这是centos的源文件,而后测试看看yum是否能够使用了,
若是仍是不能够的话,只需将其重命名为rhel-debuginfo.repo便可。code