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
3、安装centos的yum组件
[root@localhost ~]# rpm -ivh *.rpm
4、备份/etc/yum.repos.d/下面的Redhat源
[root@localhost ~]#mv rhel-debuginfo.repo rhel-debuginfo.repo.bak
[root@localhost ~]#mv rhel-source.repo rhel-source.repo.bak
5、下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
放在目录 /etc/yum.repos.d/ 下面
6、生成缓存并进行安装
[root@localhost ~]# yum makecache
分享到:
相关推荐
解决redhat 8.2 yum报错 This system is not registered to Red Hat Subscription Management 解决redhat8安装centos8的rpm出错的问题
RedHat Enterprise Linux 6.4使用yum安装出现This system is not registered to Red Hat Subscription Management-附件资源
完美的解决redhat7安装DB2报错The 32 bit library file libstdc++.so.5 is not found on the system.的问题。
红帽7.5更换yum源为centos源 操作步骤:参考以下链接。...标题:RedHat Enterprise Linux 6.4使用yum安装出现This system is not registered to Red Hat Subscription Management_天行健,君子以自强不息-CSDN博客 ...
RedHat 6.4 为解决This system is not registered to Red Hat Subscription Management问题,删除默认yum,重新安装的四个RPM包 python-iniparse-0.3.1-2.1.el6.noarch.rpm yum-metadata-parser-1.1.2-16.el6.x86_64...
redhat操作系统的安装,支持6.4及6.5,5.4.5.5.5.8.5.7.5.6等不同的版本
RedHat Enterprise Linux 6.4使用yum安装出现This system is not registered to Red Hat Subscription Management问题,但是发现激活Redhat的yum功能需要收费,所以就更改为CentOS的yum包了。 综合多份文档,本人...
linux安装yum后,使用yum下载gcc异常,This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.解决办法
Redhat系统安装,版本rhel-server-5.5 32位版本
RedHat_Linux_5.1_安装步骤详解.doc
Red Hat Linux(简称Red Hat)是Linux的桌面系统,在Red Hat中使用得最多的就是KDE和GNOME两个桌面环境,在默认情况下安装...如果你在安装系统时没有装KDE软件包的话,那么本文我们就来看看如何在安装完系统后安装它。
大神总结的RedHat Linux操作系统安装规范 大神总结的RedHat Linux操作系统安装规范 大神总结的RedHat Linux操作系统安装规范
使用RHN让Red Hat Linux自动更新.pdf
浪潮服务器U盘安装redhat 操作系统(1).docx
安装插件时提醒编译报错,后来发现是由于Redhat6.5自带没有安装gcc由于客户机器上不能配置yum安装,先需要进行离线暗转
注:要--nogpgcheck参数,否则可能会提示Public key for firefox-38.7.0-1.el5.centos.i386.rpm is not installed错误后停止安装。 注:附件里的Firefoxt(firefox-1.5.0.9-10.el5.i386.rpm)版本是38.7.0 安装时会...
ftp方式安装企业级的redhat操作系统,步骤非常详细,希望支持。