This system is not registered with RHN. RHN support will be disabled.
来源:互联网 发布:阿里云2003申请入口 编辑:程序博客网 时间:2024/05/23 11:59
[root@localhost ~]# yum install httpd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd available.
Nothing to do
解决方案:
1.卸载redhat自带的yum组件
[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e --nodeps
2.安装CentOS的yum包
****************************可能会报404的错误,可以选择手动进行下载,再上传
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
[root@localhost ~]# rpm -ivh *.rpm
warning: yum-3.2.22-37.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-fastestmirror ########################################### [ 67%]
3:yum ########################################### [100%]
3. 下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo
[root@localhost ~]#mv CentOS_Base.repo /etc/yum.repos.d/CentOS-Base.repo
4.生成缓存并进行安装
[root@localhost ~]# yum makecache
[root@localhost ~]# yum install httpd
- This system is not registered with RHN. RHN support will be disabled.
- yum提示This system is not registered with RHN.RHN support will be disabled.(转)
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN.
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN
- This system is not registered with RHN.
- This system is not registered with RHN
- This system is not registered with RHN
- nyoj22题
- 补上昨天的博文,Perl写音乐《午夜DJ》
- STL源码学习----lower_bound和upper_bound算法
- HDU 3746 Cyclic Nacklace 【KMP】(补充字符构成循环串)
- C++动态链接库链接错误集合
- This system is not registered with RHN. RHN support will be disabled.
- Ceph基础概述
- Android 带按钮对话框美化
- 第十四周项目4
- Monty说MySQL的优化(六)
- 修改mysql密码的几种方法
- 视频切换Jquery(动画)
- Ceph剖析:数据分布之CRUSH算法与一致性Hash
- AFNetwork 2.0在请求时报错code=-1016 和 3840