yum安装httpd时出错,提示No package httpd available.

2025-02-25 10:03:03
推荐回答(3个)
回答1:

yum仓库问题。

#yum -y update

[root@malu2 yum.repos.d]# yum search vim

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirror.hosting90.cz

* extras: mirror.hosting90.cz

* updates: mirror.hosting90.cz

vim-X11.x86_64 : The VIM version of the vi editor for the X Window System.

vim-common.x86_64 : The common files needed by any version of the VIM editor.

vim-enhanced.x86_64 : A version of the VIM editor which includes recent

: enhancements.

vim-minimal.x86_64 : A minimal version of the VIM editor.

回答2:

系统没有注册,YUM不可用。改变yum源尝试。
任选其一参考:
http://mirrors.aliyun.com/help/centos
http://mirrors.163.com/.help/centos.html
若用本地yum源,可参考百度经验:
http://jingyan.baidu.com/article/1e5468f90fd265484961b7bf.html

回答3:

请问你问题解决了吗,我也遇到了,没解决