红帽Linux中出现”This system is not registered with RHN”的解决方案
来源:互联网 发布:ubuntu 32位兼容库 编辑:程序博客网 时间:2024/05/17 08:54
原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案可以使用centos。
下面介绍下使用centos 的流程
1.卸载rhel的默认安装的yum包
查看yum包
rpm -qa|grep yum
卸载之
rpm -qa|grep yum|xargs rpm -e --nodeps
2.下载新的yum包
wget http://mirrors.163.com/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm
wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-4.el5.i386.rpm
wget http://mirrors.163.com/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
并且安装之
rpm -ivh python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -ivh yum-*
注意:yum和yum-fastestmirror相互依赖,所以同时安装即可。
3.下载yum的配置源
wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo 下载到 /etc/yum.repos.d/ 目录下面
其中的url修改为mirrors.163.com本地镜像
4.运行yum makecache生成缓存
- 红帽Linux中出现”This system is not registered with RHN”的解决方案
- 红帽Linux中出现”This system is not registered with RHN”的解决方案
- 红帽 This system is not registered with RHN
- redhat ”This system is not registered with RHN”的解决方案
- 红帽中出现”This system is not registered with RHN”的解决方案
- 红帽中出现”This system is not registered with RHN”的解决方案
- 解决 centos 出现”This system is not registered with RHN”
- yum安装出现This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN.
- This system is not registered with RHN
- CodeSmith 使用教程(12) 使用主从代码模板
- bash参考手册之三(基本的Shell特性)续四
- 推荐下载:Zoomla!逐浪CMS1.1版
- java 并发主题详解
- Zoomla!逐浪CMS网站内核管理系统用户手册
- 红帽Linux中出现”This system is not registered with RHN”的解决方案
- 如何在VS2010中打开VS2012的项目
- 高效开发乘胜追击-Zoomla!逐浪CMS1.2版发布
- 面向对象的 静态属性,静态方法 static 详解
- The Adventures of Huckleberry Finn——3、Huck and Jim travel south
- 把整个linux操作系统安装到软RAID分区上面
- 全球最低价:CN域名只要0.5元!
- appendChild与insertBefore用法比较
- visio画图-----如何克服两箭头交叉变形 及 箭头自动重绘?