安装yum (This system is not registered with RHN.)解决方法
来源:互联网 发布:cname解析 域名后加点 编辑:程序博客网 时间:2024/06/18 20:33
linux下不少软件可以用yum安装,有了yum就省去我们自己下载安装这些软件的麻烦。
yum安装方法如下
使用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包
[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 (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.)解决方法 .
- yum 失败(This system is not registered with RHN.)解决方法
- yum 失败(This system is not registered with RHN.)解决方法
- 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.)解决方法
- 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)
- rehat yum 问题:This system is not registered with RHN
- yum报错"This system is not registered with RHN"
- yum提示This system is not registered with RHN.RHN support will be disabled.(转)
- yum在线更新出现This system is not registered with RHN等错误解决方法
- Oracle学习(11)---使用rman备份进行数据库的恢复
- 《软件工程的事实与谬论》 之十大谬误
- 零碎知识点
- 关于《objective-c程序设计》478页 Calculator的初始化方法(即子类初始化方法)
- 建立arm-linux交叉工具链 crosstool-ng
- 安装yum (This system is not registered with RHN.)解决方法
- H.264嵌入式视频监控系统项目指导
- 嵌入式WEB视频监控小车项目指导
- python生成大文件 100G瞬间生成 三种方法
- Obj-C code
- A/D | D/A 转换原理计算
- Oracle对Sql语句的软解析和硬解析?
- 鄂尔多斯
- 黑马程序员----【javaSE基础】多线程