关于免费解决RedHat6.4的:This system is not registered to Red Hat Subscription Management.
来源:互联网 发布:excel建立数据库 编辑:程序博客网 时间:2024/05/29 06:47
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.4的:This system is not registered to Red Hat Subscription Management.
- 关于免费解决RedHat6.5的:This system is not registered to Red Hat Subscription Managemen
- Minimal安装CentOS 7使用yum报This system is not registered to Red Hat Subscription Management.
- RedHat Enterprise Linux 6.4使用yum安装出现This system is not registered to Red Hat Subscription Management
- This system is not registered with RHN问题的解决
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support wi
- 关于Linux下yum安装出现This system is not registered with RHN解决
- RedHat6.0yum 失败(This system is not registered with RHN.)解决方法
- 解决 centos 出现”This system is not registered with RHN”
- Linux 解决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
- readhat-解决This system is not registered with RHN
- RedHat的yum配置 以及 提示“This system is not registered with RHN” 的解决
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- 使用Visio 2013 画跨职能流程图
- 使用ActionBar
- 上周热点回顾(1.16-1.22)
- 洛谷 1443——马的遍历(广度优先搜索)
- 是谁制造问题,谁就要承担责任,谁就要受到追究
- 关于免费解决RedHat6.4的:This system is not registered to Red Hat Subscription Management.
- js中post方法的那些事
- A1053. Path of Equal Weight (30)
- linux 删除软件
- bootgrid自定义,bootgrid单选BUG
- 给我一张名片——工厂方法模式
- 从零开始学重构——《重构,改善既有代码的设计》
- 基于Win10(MAC,Linux)+Anaconda+Jupyter安装Tensorflow 0.12
- 九、让模板文件帮你快速开发网页