This system is not registered with RHN. RHN support

  1. 云栖社区>
  2. 博客>
  3. 正文

This system is not registered with RHN. RHN support

科技小能手 2017-11-12 19:45:00 浏览672
展开阅读全文

[root@localhost ~]# yum install compat-libstdc++*

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

解决办法

[root@localhost ~]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

--2015-12-26 16:10:12--  http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

Resolving docs.linuxtone.org... 203.74.150.88

Connecting to docs.linuxtone.org|203.74.150.88|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1426 (1.4K) [application/octet-stream]

Saving to: `CentOS-Base.repo'

100%[========================================================================>] 1,426       --.-K/s   in 0s      

2015-12-26 16:10:14 (52.3 MB/s) - `CentOS-Base.repo' saved [1426/1426]

[root@localhost ~]# cd /etc/yum.repos.d/

[root@localhost yum.repos.d]# ll

total 8

-rw-r--r-- 1 root root 561 Mar 10  2010 rhel-debuginfo.repo

[root@localhost yum.repos.d]# mv rhel-debuginfo.repo rhel-debuginfo.repo.bak

[root@localhost yum.repos.d]# ll

total 8

-rw-r--r-- 1 root root 561 Mar 10  2010 rhel-debuginfo.repo.bak

[root@localhost ~]# cp ~/CentOS-Base.repo /etc/yum.repos.d/rhel-debuginfo.repo

[root@localhost ~]# cd /etc/yum.repos.d/

[root@localhost yum.repos.d]# ll

total 12

-rw-r--r-- 1 root root 1426 Dec 26 16:14 rhel-debuginfo.repo

-rw-r--r-- 1 root root  561 Mar 10  2010 rhel-debuginfo.repo.bak


本文转自aaa超超aaa 51CTO博客,原文链接:http://blog.51cto.com/10983441/1731975

网友评论

登录后评论
0/500
评论