yum 失败(This system is not registered with RHN.)解决方法

首页 → Linux教程

背景:

阅读新闻

yum 失败(This system is not registered with RHN.)解决方法

[日期:2012-06-23]来源:Linux社区作者:Linux[字体:]

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

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

1.卸载redhat自带的yum组件

[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e –nodeps

2.安装CentOS的yum包

[root@localhost ~]# wget [root@localhost ~]# wget [root@localhost ~]# wget [root@localhost ~]# rpm -ivh *.rpmwarning: yum-3.2.22-37.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897Preparing… ########################################### [100%] 1:yum-metadata-parser ########################################### [ 33%] 2:yum-fastestmirror ########################################### [ 67%] 3:yum ########################################### [100%]

3. 下载更新源,并存放在系统目录中[root@localhost ~]# wget

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

4.生成缓存并进行安装

[root@localhost ~]# yum makecache[root@localhost ~]# yum install httpd

0

Linux/Unix下grep命令使用的几个例子[grep Examples]

Fedora 17 安装后配置笔记

相关资讯 yum

图片资讯

本文评论  查看全部评论 (0)

评论声明

最新资讯

本周热门

Linux公社简介 – 广告服务 – 网站地图 – 帮助信息 – 联系我们本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。Copyright © 2006-2014 Linux公社 All rights reserved 浙ICP备06018118号

那些曾经以为念念不忘的事情就在我们念念不忘的过程里,被我们遗忘了。

yum 失败(This system is not registered with RHN.)解决方法

相关文章:

你感兴趣的文章:

标签云: