关于免费解决RedHat6.4的:This system is not registered to Red Hat Subscription Management.
2017-01-25 11:38
531 查看
redhat默认自带的yum源需要注册,才能更新,报错:
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
可替换为centos对应的源。 操作如下:
1.检查是否安装yum包。查看RHEL是否安装了yum,若是安装了,那么又有哪些yum包:
rpm -qa |grep yum
2 删除redhat自带的yum包
rpm -qa|grep yum|xargs rpm -e --nodeps(不检查依赖,直接删除rpm包)
rpm -qa |grep yum (查询确认)
3.下载新的yum包。使用Centos6.5的yum包
1) 查看版本号和系统类别:
cat /etc/redhat-release 我的是 Red Hat Enterprise Linux Server release 6.4 (Santiago)
arch ---x86_64
2)根据上一步,找到对应的yum包,然后下载。我的服务器对应的为:
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-3.2.29-73.el6.centos.noarch.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-37.el6.noarch.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
依赖 :wget http://mirror.centos.org/centos/6/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpm
3) 安装:
说明:四个一起安装 ,但我的机器上已预装的有 python,所以先强制安装 python-urlgrabber-3.9.1-11.el6.noarch.rpm
rpm -ivh --force python-urlgrabber-3.9.1-11.el6.noarch.rpm
然后再安装 yum 的三个
rpm -ivh yum*.rpm
4)更换yum源,将原有源删除或备份到别的目下下:
cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
vi CentOS6-Base-163.repo
编辑文件,把文件里面的$releasever全部替换为版本号:6(注意,不是6.4!)最后保存! $basearch 替换为 3.1 : arch ---x86_64
4.清除原有缓存,重建缓存:
clean all
yum makecache
5.更新系统:
yum update 可以不更新。
参考资料 :http://www.iyunv.com/thread-41279-1-1.html
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
可替换为centos对应的源。 操作如下:
1.检查是否安装yum包。查看RHEL是否安装了yum,若是安装了,那么又有哪些yum包:
rpm -qa |grep yum
2 删除redhat自带的yum包
rpm -qa|grep yum|xargs rpm -e --nodeps(不检查依赖,直接删除rpm包)
rpm -qa |grep yum (查询确认)
3.下载新的yum包。使用Centos6.5的yum包
1) 查看版本号和系统类别:
cat /etc/redhat-release 我的是 Red Hat Enterprise Linux Server release 6.4 (Santiago)
arch ---x86_64
2)根据上一步,找到对应的yum包,然后下载。我的服务器对应的为:
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-3.2.29-73.el6.centos.noarch.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-37.el6.noarch.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
依赖 :wget http://mirror.centos.org/centos/6/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpm
3) 安装:
说明:四个一起安装 ,但我的机器上已预装的有 python,所以先强制安装 python-urlgrabber-3.9.1-11.el6.noarch.rpm
rpm -ivh --force python-urlgrabber-3.9.1-11.el6.noarch.rpm
然后再安装 yum 的三个
rpm -ivh yum*.rpm
4)更换yum源,将原有源删除或备份到别的目下下:
cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
vi CentOS6-Base-163.repo
编辑文件,把文件里面的$releasever全部替换为版本号:6(注意,不是6.4!)最后保存! $basearch 替换为 3.1 : arch ---x86_64
4.清除原有缓存,重建缓存:
clean all
yum makecache
5.更新系统:
yum update 可以不更新。
参考资料 :http://www.iyunv.com/thread-41279-1-1.html
相关文章推荐
- 关于免费解决RedHat6.5的:This system is not registered to Red Hat Subscription Management..
- 关于免费解决RedHat6.5的:This system is not registered to Red Hat Subscription Managemen
- RedHat Enterprise Linux 6.4使用yum安装出现This system is not registered to Red Hat Subscription Management
- yum报错:This system is not registered to Red Hat Subscription Management.解决办法
- yum报错:This system is not registered to Red Hat Subscription Management.解决办法
- Posts Tagged ‘This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register问题的解决办法
- red hat 6.5 红帽企业Linux.6.5 yum This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 解决办法
- This system is not registered to Red Hat Subscription Management.
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support will be disabled. 的解决方法(转)
- [转]redhat7(centos7) not registered to Red Hat Subscription Management
- 解决 Redhat 出现”This system is not registered with RHN”更新
- 解决 Redhat 出现”This system is not registered with RHN”更新
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support wi
- 解决 Redhat 出现”This system is not registered with RHN”更新
- 解决 Redhat 出现”This system is not registered with RH
- 解决Redhat Linux AS使用yum时出现This system is not registered with RHN的问题(改用CentOS的yum)
- 解决 Redhat 出现”This system is not registered with RHN”更新
- 解决redhat YUM This system is not registered with RHN问题
- RedHat的yum配置 以及 提示“This system is not registered with RHN” 的解决
- readhat-解决This system is not registered with RHN