red hat linux使用yum 出现Loaded plugins: rhnplugin, security

作者: 蓝鹰 分类: CentOS 发布时间: 2013-11-15 00:34 ė318 浏览数 6red hat linux使用yum 出现Loaded plugins: rhnplugin, security已关闭评论

使用RedHat 系统在线安装时提示This system is not registered with RHN.如下:

[root@localhost ~]# yum install httpd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd available.
Nothing to do
解决方案:

下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo

[root@localhost ~]#mv CentOS_Base.repo /etc/yum.repos.d/CentOS-Base.repo

生成缓存并进行安装

[root@localhost ~]# yum makecache

本文出自 蓝鹰博客,转载时请注明出处及相应链接。

本文永久链接: http://www.lanyingblog.com/blog/1351.html

Ɣ回顶部