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
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
相关文章推荐
- php错误提示failed to open stream: HTTP request failed!的完美解决方法
- 小论asp中request与response的用法
- 循环取值Request.QueryString的用法
- Jquery中request和request.form和request.querystring的区别
- request.getParameter()取值为null的解决方法
- Asp.net内置对象之Request对象(概述及应用)
- 通过过滤器(Filter)解决JSP的Post和Request中文乱码问题
- asp下request.querystring("id")与request("id")区别
- 关于request.getHeader("Referer")的问题探讨
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- asp.net Request.ServerVariables[] 读解
- Request.UrlReferrer使用详解
- java中request对象各种方法的使用实例分析
- jQuery 1.9移除了$.browser可以使用$.support来替代
- MYSQL出现" Client does not support authentication "的解决方法
- Android SDK中的Support兼容包详解
- php中使用$_REQUEST需要注意的一个问题
- 跟我学Laravel之请求(Request)的生命周期
- php中神奇的fastcgi_finish_request
- JSP用过滤器解决request getParameter中文乱码问题