RHEL yum 不能使用

[root@localhost ~]# yum install libtool

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

 

解决方案1:

1、进入/etc/yum.repos.d/目录。

在命令行输入:wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

2、mv rhel-debuginfo.repo  rhel-debuginfo.repo.bak

3、mv CentOS-Base.repo rhel-debuginfo.repo

4、OK

 

解决方案2

http://www.cnblogs.com/goodhacker/p/3418222.html

 

posted @ 2015-07-06 18:37  hankzhousandy  阅读(140)  评论(0)    收藏  举报