listening on: port 80" [[emailprotected] var ]# httpd - vSe
[[email protected] var]# find / -name yum.conf /etc/yum.conf
注释失exclude那行,2017qq空间破解访问权限 ,也可只删除httpd
[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
Active: active (running)
Status: "Started, listening on: port 80"
[[email protected] var]# httpd -v Server version: Apache/2.4.37 (centos) Server built: Dec 23 2019 20:45:34
参考:
https://www.linuxquestions.org/questions/fedora-35/yum-can%27t-find-httpd-or-apache-547678/
解决centos安置不上apache:No match for argument: httpd
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/27382.html