RHEL yum 不能使用

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

猜你喜欢

转载自hankzhousandy.iteye.com/blog/2224897