如何解决 yum安装出现This system is not registered with RHN
2015-09-18 14:49
911 查看
如何解决 yum安装出现This system is not registered with RHN
[root@localhost ~]# yum install libtoolLoaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do
解决方案:
1、进入/etc/yum.repos.d/目录。
在命令行输入:wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
2、ls 一下,会看到一个文件名为CentOS-Base.repo的文件。
3、将原来的文件rhel-debuginfo.repo改名为rhel-debuginfo.repo.bak
4、将CentOS-Base.repo改名为rhel-debuginfo.repo这时
这时再运行yum install libtool
解决This system is not registered with RHN
|浏览:2947
|
更新:2014-07-23 17:34
1
2
3
分步阅读
我们在redhat中使用yum命令的时候,可能会遇到这种情况,yum install build-essential提示This system is not registered with RHN,然后yum安装失败。下面分享一下解决办法。
工具/原料
redhat 系统wget 命令
解决办法
Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令 cd /etc/yum.repos.c1af
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安装成功。
END
注意事项
注意要备份rhel-debuginfo.repo以备不时之需养成备份的好习惯
相关文章推荐
- String str=new String("abc");创建对象个数计算
- kali-linux 安装流程
- android处理不标准的json字符串
- zabbix------监控H3C MSR路由器
- 通过httprequest获取用户ip
- 【转载】AngularJS 用$sce服务来过滤HTML标签,解决无法正确显示后台传递的html标签
- request对象的getAttribute()和getParameter()方法
- 九宫格应用视图创建
- 关于htc m9w更新后手机无限重启的解决办法
- linux管理rpm包
- Python字符编码学习理解
- 纯CSS实现的三级导航菜单效果代码
- 网易游戏2016校园招聘“游戏研发&平台开发”在线笔试——C题 Complicated Expression
- oracle数据库拷贝
- 移动端如何定义字体font-family
- 策略模式与简单工厂模式区别(转)
- 从B树、B+树、B*树谈到R 树
- 线性回归 and Logistic回归
- TCP3次握手和backlog溢出
- TCP3次握手和backlog溢出