yum 失败(This system is not registered with RHN.)解决方法
2014-11-14 10:09
399 查看
转自:http://blog.csdn.net/linuxoostudy/article/details/7076420
使用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
解决方案:
1.卸载redhat自带的yum组件
[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e --nodeps
2.安装centos的yum包 如果是64位的,要到 http://mirrors.ustc.edu.cn/centos/5/os/x86_64/CentOS/ 这个路径去找对应的rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
[root@localhost ~]# rpm -ivh *.rpm
warning: yum-3.2.22-37.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%]
3. 下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
[root@localhost ~]#mv CentOS_Base.repo /etc/yum.repos.d/CentOS-Base.repo
4.生成缓存并进行安装
[root@localhost ~]# yum makecache
[root@localhost ~]# yum install httpd
yum install vim*
使用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
解决方案:
1.卸载redhat自带的yum组件
[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e --nodeps
2.安装centos的yum包 如果是64位的,要到 http://mirrors.ustc.edu.cn/centos/5/os/x86_64/CentOS/ 这个路径去找对应的rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
[root@localhost ~]# rpm -ivh *.rpm
warning: yum-3.2.22-37.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%]
3. 下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
[root@localhost ~]#mv CentOS_Base.repo /etc/yum.repos.d/CentOS-Base.repo
4.生成缓存并进行安装
[root@localhost ~]# yum makecache
[root@localhost ~]# yum install httpd
yum install vim*
相关文章推荐
- yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决方法(14.11最新)
- yum 失败(This system is not registered with RHN.)解决方法 .
- yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决方法
- 64位RHEL5系统上运行yum出现"This system is not registered with RHN”的解决方法
- yum 失败(This system is not registered with RHN.)解决
- yum 失败(This system is not registered with RHN.)解决
- 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的方法
- RedHat6.0yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support will be disabled. 的解决方法(转)
- yum在线更新出现This system is not registered with RHN等错误解决方法
- 安装yum (This system is not registered with RHN.)解决方法
- 运行yum出现"Thissystem is not registered with RHN”的解决方法
- yum 失败(This system is not registered with RHN.)解决
- This system is not registered with RHN解决方法