赞
踩
dnf provides http
dnf install -y httpd
httpd -v
httpd -t
将如下97行取消注释消除报错
重新测试配置文件
httpd -t
systemctl enable httpd --now
或
systemctl enable httpd
systemctl start httpd
systemctl status httpd
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
ss -lnp | grep 80
curl 127.0.0.1:80
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。