This system is not registered with RHN
2011-04-09 10:33
543 查看
This system is not registered with RHN
今天在公司的rhel机器上利用yum安装一个软件的时候,出现了上述错误提示,原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案可以使用centos。下面介绍下使用centos 的流程。(rhel和centos的关系见这篇文章:http://hi.baidu.com/xctgu123/blog/item/efced11bd45980128618bf95.html,有很详细的介绍,其实就是一个是商业版本,一个是社区版本一样)
1.卸载rhel的默认安装的yum包
查看yum包
rpm -qa|grep yum
卸载之
rpm -qa|grep yum|xargs rpm -e --nodeps
2.下载新的yum包
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
wget http://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-*
注意:yum和yum-fastestmirror相互依赖,所以同时安装即可。
3.下载yum的配置源
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
4.修改配置源
把CentOS-Base.repo里面的url改成网易的yum源 http://mirrors.163.com/centos/5/os/x86_64/CentOS/ (有什么软件包,可以很清楚的看见),赞一下咱们的公司,就不用到国外的网站了,速度蛮快的。
5.全部更新
把修改后的CentOS-Base.repo复制到/etc/yum.repos.d/目录下,并在该目录下执行yum update进行统一更新,完成即可,这下安装软件什么的就比较方便了,不然的话,呵呵,那就有得你忙了。。。Linux软件包的依赖关系那是相当的头痛
今天在公司的rhel机器上利用yum安装一个软件的时候,出现了上述错误提示,原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案可以使用centos。下面介绍下使用centos 的流程。(rhel和centos的关系见这篇文章:http://hi.baidu.com/xctgu123/blog/item/efced11bd45980128618bf95.html,有很详细的介绍,其实就是一个是商业版本,一个是社区版本一样)
1.卸载rhel的默认安装的yum包
查看yum包
rpm -qa|grep yum
卸载之
rpm -qa|grep yum|xargs rpm -e --nodeps
2.下载新的yum包
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
wget http://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-*
注意:yum和yum-fastestmirror相互依赖,所以同时安装即可。
3.下载yum的配置源
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
4.修改配置源
把CentOS-Base.repo里面的url改成网易的yum源 http://mirrors.163.com/centos/5/os/x86_64/CentOS/ (有什么软件包,可以很清楚的看见),赞一下咱们的公司,就不用到国外的网站了,速度蛮快的。
5.全部更新
把修改后的CentOS-Base.repo复制到/etc/yum.repos.d/目录下,并在该目录下执行yum update进行统一更新,完成即可,这下安装软件什么的就比较方便了,不然的话,呵呵,那就有得你忙了。。。Linux软件包的依赖关系那是相当的头痛
相关文章推荐
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN. RHN support will be disabled.
- Linux 解决This system is not registered with RHN问题
- 64位RHEL5系统上运行yum出现"This system is not registered with RHN”的解决方法
- 使用yum提示This system is not registered with ULN / RHN(转)
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- yum 失败(This system is not registered with RHN.)解决
- This system is not registered with RHN
- yum在线更新出现This system is not registered with RHN等错误解决方法
- Redhat--This system is not registered with RHN
- This system is not registered with RHN解决方法
- yum提示This system is not registered with RHN.RHN support will be disabled.
- 红帽中出现”This system is not registered with RHN”的解决方案
- RHEL下yum更新出现This system is not registered with RHN解决办法
- 解决This system is not registered with RHN
- yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决