解决centos安装不上apache:No match for argument: httpd
2021-03-30 13:24
标签:apach linux idt only mit active version str listening 找到yum.conf 注释掉exclude那行,也可只删除httpd Active: active (running) Status: "Started, listening on: port 80" 参考: https://www.linuxquestions.org/questions/fedora-35/yum-can%27t-find-httpd-or-apache-547678/ 解决centos安装不上apache:No match for argument: httpd 标签:apach linux idt only mit active version str listening 原文地址:https://www.cnblogs.com/v5captain/p/12596403.html[root@d78acc291c9e var]# find / -name yum.conf
/etc/yum.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
#exclude=httpd nginx php mysql mairadb python-psutil python2-psutil
//重新安装
yum install httpd -y
systemctl enable httpd
systemctl start httpd
systemctl status httpd[root@d78acc291c9e var]# httpd -v
Server version: Apache/2.4.37 (centos)
Server built: Dec 23 2019 20:45:34
上一篇:JS-01
文章标题:解决centos安装不上apache:No match for argument: httpd
文章链接:http://soscw.com/index.php/essay/69997.html