redhat/centos yum安装 This system is not registered with RHN
来源:互联网 发布:出租房网络要怎么设置 编辑:程序博客网 时间:2024/06/07 06:05
我们在redhat中使用yum命令的时候,可能会遇到这种情况,yum install build-essential提示This system is not registered with RHN,然后yum安装失败。下面分享一下解决办法。
Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令 cd /etc/yum.repos.d/ 进入yum的配置目录。
在终端中输入 wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo 命令,下载CentOS- Base.repo文件。
然后将原有的rhel-debuginfo.repo备份一下,使用命令mv CentOS-Base.repo rhel-debuginfo.repo,将CentOS- Base.repo重命名成rhel-debuginfo.repo。
成功以后,使用yum install build-essential安装成功。
转载:http://jingyan.baidu.com/article/6d704a13f0d61128db51ca82.html
0 0
- redhat/centos yum安装 This system is not registered with RHN
- redhat yum ”This system is not registered with RHN” 解决 更换CentOS源 亲测
- yum安装出现This system is not registered with RHN
- 使用Redhat系统在线安装(执行yum)时报错: This system is not registered with RHN.
- redhat ”This system is not registered with RHN”的解决方案
- REDHAT 未注册This system is not registered with RHN
- 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”更新
- 解决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的方案
- RedHat的yum配置 以及 提示“This system is not registered with RHN” 的解决
- 解决Redhat Linux5 yum出现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
- 解决Redhat yum出现This system is not registered with RHN的方案
- yum报错"This system is not registered with RHN"
- C 语言迭代求阶乘问题
- 【自用】有上下界的网络流
- 创建和销毁过程几个函数的执行顺序
- ios tintColor 与backgroundColor区别研究
- DOS命令下获取远程主机MAC地址的三种方法
- redhat/centos yum安装 This system is not registered with RHN
- 整体二分入门
- Ios UILabel 自适应 文本高度
- c语言循环移位
- 关于searchBar的问题
- struts2中constant参数设置
- Android中使用SQLiteOpenHelper管理SD卡中的数据库
- Http post发送加密内容
- 《剑指Offer》面试题11:数值的整数次方