This system is not registered with RHN解决方法
来源:互联网 发布:刘家昌华纳知乎 编辑:程序博客网 时间:2024/05/29 07:08
root@localhost ipvsadm-1.25]# yum install gcc
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package gcc available.
Nothing to do
[root@localhost ipvsadm-1.25]#
红帽中出现"This system is not registered with RHN"这个的原因是因为红帽中没有注册RHN。
解决办法:(假定你已安装yum,且网络畅通)更改yum的源,
即更换/etc/yum.repos.d/rhel-debuginfo.repo 这个文件。首先备份,如下所示:
[root@localhost yum.repos.d]# ls /etc/yum.repos.d/
rhel-debuginfo.repo.bak
进入/etc/yum.repos.d/目录,终端中输入
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
再看目下有什么文件:
[root@localhost yum.repos.d]# ls /etc/yum.repos.d/
CentOS-Base.repo rhel-debuginfo.repo.bak
即可在此目录下得到CentOS-Base.repo文件,这是centos的源文件,然后测试看看yum是否可以使用了,
如果还是不可以的话,只需将其重命名为rhel-debuginfo.repo即可。
- 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
- 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
- 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
- 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
- This system is not registered with RHN
- This system is not registered with RHN
- 查看CPU是否支持虚拟化
- Linux awk 命令 说明
- js中, opener,self,parent 区别
- 母函数 入门 + 模板
- 最近AC的一部分题目(水题一堆啊)
- This system is not registered with RHN解决方法
- 印度数学家“人脑计算机”夏琨塔拉·戴维 84 岁诞辰
- 天天锻炼身体好!
- /proc/sys/vm/drop_caches
- 跳绳是很好的一项运动!
- Android中java.lang.NoClassDefFoundError自定义jar包导入问题。
- Android优秀开源项目[持续更新~欢迎推荐~]
- 工信部敲定4G发牌吉日:最早本月下旬
- 线程间同步--互斥锁、条件变量、信号量