RHEL下yum更新出现This system is not registered with RHN解决办法
来源:互联网 发布:mysql 压缩包 root密码 编辑:程序博客网 时间:2024/06/04 13:38
新接手一家公司的运维工作,发现该公司部分服务器使用的系统都是RHEL的,而不是我之前一贯使用的CentOS,系统不一样暂且不谈,今日在yum安装软件时,发现服务器报“This system is not registered with RHN”错误,从字面上来看,该错误是由于该Linux系统没有在红帽网络上进行注册的原因引起的,这里有一个比较好的方案,就是把其yum源换为CentOS的,因为如果去红帽企业版的注册的话,是需要花费银子的,这里介绍一下这两者的关系吧
2000年,红帽公司连同合作伙伴一起进军中国市场,分销红帽产品,几年的发展,红帽为企业用户提供了完全符合行业标准的最全面的Linux解决方案,以其完全开放的源代码和全免费的服务为中国的中小型企业提供了技术创新的基础。2004年4月,红帽公司宣布停止对Red Hat 9.0版本的支持,标志着Red Hat Linux的免费时代正式结束,同时其项目所有者由Fedora Project这个项目所取代,所以现在看到的Fedora Core6等一些版本就是Red Hat的延续,同时其技术成果都被沿用到了RHEL即RedHat企业版中,以收费的形式更好地满足企业的使用,同时提供相应的技术支持。
CentOS是Community ENTerprise Operating System的简称,即社区企业操作系统,他是RHEL的一个克隆版本,它可以像RHEL一样构筑Linux的企业系统环境,但是不会收取任何费用,同时无论企业还是系统本身,都的不到Red Hat任何的技术支持及升级服务,不过免费才是第一位的,所以大多数的中小型企业还是选择了免费的CentOS系列系统,当前它已经发展到了6.X系列。
书归正传,现在说一下如何改用CentOS的yum软件来升级未注册的RHEL系统:
首先 rpm -qa|grep yum 查看 yum 服务相关的包
# rpm -qa|grep yum
yum-security-1.1.16-13.el5_4.1
yum-3.2.22-33.el5
yum-updatesd-0.9-2.el5
yum-metadata-parser-1.1.2-3.el5
yum-security-1.1.16-13.el5_4.1
yum-3.2.22-33.el5
yum-updatesd-0.9-2.el5
yum-metadata-parser-1.1.2-3.el5
# rpm -qa|grep yum|xargs rpm -e --nodeps
强制删除这一些包
下载CentOS yum 服务相关的 rpm 包
wgethttp://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm
wgethttp://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
wgethttp://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm
# rpm -ivh yum-*
warning: yum-3.2.22-39.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-fastestmirror ########################################### [ 67%]
3:yum ########################################### [100%]
warning: yum-3.2.22-39.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-fastestmirror ########################################### [ 67%]
3:yum ########################################### [100%]
哦了,安装完毕,现在进入系统的yum目录
# cd /etc/yum.repos.d/
# mv rhel-debuginfo.repo rhel-debuginfo.repo.bakup
# mv rhel-source.repo rhel-source.repo.bakup
# wgethttp://docs.linuxtone.org/soft/lemp/CentOS-Base.repo (下载CentOS的repo包)
# yum makecache
等待 yum 库更新完毕,就可以 yum 安装软件了
- RHEL下yum更新出现This system is not registered with RHN解决办法
- yum安装出现This system is not registered with RHN
- 解决 Redhat yum 出现”This system is not registered with RHN”更新
- yum在线更新出现This system is not registered with RHN等错误解决方法
- Centos 下使用 yum 提示 This system is not registered with RHN 的解决办法
- 关于Linux下yum安装出现This system is not registered with RHN解决
- RHEL6 64bit下更改YUM配置。yum this system is not registered with rhn的解决办法
- RHEL6 64bit下更改YUM配置。yum this system is not registered with rhn的解决办法
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support wi
- yum报错"This system is not registered with RHN"
- yum 失败(This system is not registered with RHN)
- rehat yum 问题:This system is not registered with RHN
- yum报错"This system is not registered with RHN"
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 如何解决 yum安装出现This system is not registered with RHN
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- Oracle Listener的静态注册和动态注册
- RFC3921——可扩展的消息和出席信息协议 (XMPP): 即时消息和出席信息
- Visual Studio Snipper 美元符号转义 $$,这样出来的效果才会是$
- Java面试题
- java 构造函数
- RHEL下yum更新出现This system is not registered with RHN解决办法
- 区分shell内置命令
- IE中DIV的OverFlow和 CSSbug来兼容浏览器
- Linux查看硬件信息及驱动设备
- Android调用相机并将照片存储到sd卡上
- RFC6120——可扩展的消息和出席信息协议 (XMPP): 核心协议
- 基于Windows8与Visual Studio2012实现杀毒通用模块
- sql server 插入 重复列 解决办法
- PRC、RPC service、NFS server详解