您的位置:首页 > 产品设计 > UI/UE

This system is not registered with RHN. RHN support

2016-01-06 11:03 711 查看
[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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  support request registered