红帽中出现”This system is not registered with RHN”的解决方案
在用yum下载软件时,出现了上述错误提示,原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件。解决方案如下:
一、首先,如果有序列号,在首次安装配置向导时跳过了激活选项, 其后可通过如下手段再次手动激活:
二、替代方案可以使用centos。下面介绍下使用centos 的流程
1.卸载rhel的默认安装的yum包
查看yum包
rpm -qa|grep yum
卸载之
rpm -qa|grep yum|xargs rpm -e --nodeps
2.下载新的yum包
中科大源:
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm
Sohu源:
wget http://mirrors.sohu.com/centos/5.5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
Wgethttp://mirrors.sohu.com/centos/5.5/os/i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm
wget http://mirrors.sohu.com/centos/5.5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
并且安装之
rpm -ivh yum-*
或者
rpm -ivh yum-3.2.22-26.el5.centos.noarch.rpm
yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
安装时可能会出现如下提示:
warning: yum-3.2.22-26.el5.centos.noarch.rpm: Header V3 DSA signature:NOKEY, key ID e8562897
1)加上--nodeps选项
2)导入key
[root@localhost ~]# cd /etc/pki/rpm-gpg/
[root@localhost rpm-gpg]# wget http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
[root@localhost rpm-gpg]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
注意:yum和yum-fastestmirror相互依赖,所以同时安装即可。
3.下载yum的配置源
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo 下载到 /etc/yum.repos.d/ 目录下面
或者修改配置源
把CentOS-Base.repo里面的url改成网易的yum源 http://mirrors.163.com/centos/5/os/x86_64/CentOS/ (有什么软件包,可以很清楚的看见),把修改后的CentOS-Base.repo复制到/etc/yum.repos.d/目录下,
5.全部更新
执行yum update进行统一更新,完成即可,这下安装软件什么的就比较方便了。
参考:http://www.linuxidc.com/Linux/2010-12/30715p4.htm
转载于:https://www.cnblogs.com/wusthjp/archive/2012/08/12/2634205.html
红帽中出现”This system is not registered with RHN”的解决方案相关推荐
- RHEL6 64bit下更改YUM配置。yum this system is not registered with rhn的解决办法
RHEL6 64bit下更改YUM配置.yum this system is not registered with rhn的解决办法 2013-10-22 11:37 3498人阅读 评论(0) 收 ...
- 解决Redhat Linux AS使用yum时出现This system is not registered with RHN的问题(改用CentOS的yum)...
http://dongwenbo.blog.51cto.com/506198/538860 转载于:https://www.cnblogs.com/children/archive/2012/05/2 ...
- 保姆级Red Hat没有yum命令、报错This system is not registered to Red Hat Subscription Management.
前言:红帽的yum源是需要注册付费的,如果一定要免费使用红帽系统,那么你需要将红帽的yum源替换为CentOS对应的源,那你可以花些时间看我的在替换yum源的过程以及所遇到的问题:如果不一定要使用红帽 ...
- This system is not registered with an entitlement server. You can use subscription-manager to regist
当使用yum安装软件时报错 This system is not registered with an entitlement server. You can use subscription-man ...
- centos7 yum 错误 This system is not registered with an entitlement server
现象: 下午安装 cockpit 时,使用 yum 工具的时候哦,出现如下信息: This system is not registered with an entitlement server. Y ...
- Minimal安装CentOS 7使用yum报This system is not registered to Red Hat Subscription Management.
问题描述 最小化安装CentOS 7的Linux系统后,发现yum安装任何工具,都报This system is not registered to Red Hat Subscription Mana ...
- 订阅插件提示:This system is not registered with an entitlement server. You can use subscription-manager to
问题描述 [root@ecs-t6-medium-2-linux-20190910000110 /]# yum install -y epel-release 已加载插件:fastestmirror, ...
- [Unity] 战斗系统学习 3:FlowCanvas 中的 Input System
1. 常规 Input System 使用 Assets/MeowFramework/MeowACT/InputSystem/MeowACTInputController.cs // -------- ...
- DCC - Photoshop - Nvidia NormalMapFilter - 法线生成工具 - 顺便测试 Unity URP 12.1 中的 Decal System
文章目录 NVIDIA Texture Tools Exporter 下载.安装 法线生成素材图 扣干净无用像素 使用 NVIDIA Normal Map Filter 生成贴图 配置好 URP Re ...
最新文章
- Vue-Cli3.0怎么使用预渲染怎么配置prerender-spa-plugin
- FPGA逻辑设计回顾(3)多比特信号上升沿检测的设计方式与陷阱?
- iOS学习9_事件分发amp;响应链
- 【小技巧】notepad++ 输入中文无响应
- Linux进程间通信(四) - 共享内存
- js动态添加控件服务器响应,JS实现动态给标签控件添加事件的方法示例
- 引用之函数返回值 函数的返回值为引用类型《三》
- Effective STL中文版 译序
- JDK8-u271/u272的jre和jdk/jre的文件有差异
- i7处理器好吗_i5和i7区别有多大,性能差距大吗?i59400F和i79700F的区别对比
- PDMS中如何设置颜色规则
- 关于另类BT下载的想法
- matlab中散点图的线性拟合_matlab画散点图并拟合函数曲线MATLAB画散点图和二次函数...
- Android 之简易涂鸦板
- 9.3. Mathematical Functions and Operators
- 计算机笔记检讨,上课没做笔记的反省检讨书范文550字
- 算法设计技巧与分析(六):图遍历(Graph Traversal)
- Kali Linux 触摸板支持单击
- GAN生成对抗网络基础知识
- RGB图像卷积生成Feature map特征图过程
热门文章
- python编程经典案例-一个非常适合Python新手的编程案例——投票小程序
- python的优点和缺点-Python语言的优缺点,你知道吗?
- php和python哪个工资高-学python和php哪个前景好
- 中国python之父是谁-Python之父:我们能为中国的“996”程序员做什么?
- python文件的后缀名-python文件后缀是什么
- python处理excel大数据-当Excel遇到大数据问题,是时候用Python来拯救了
- 怎样才算熟悉python-怎么样才算是精通 Python?
- python3.6.0安装教程-CentOS7安装Python3.6
- python实现文件下载-python实现文件下载的方法总结
- python web-Web开发