一、启动apache遇到错误:
httpd: Could not reliably determine the server’s fully qualified domain name
二·、修改配置

vim /etc/httpd/conf/httpd.conf
#ServerName www.example.com:80

改成

ServerName localhost:80

三、关闭在启动httpd

systemctl stop httpd
systemctl start httpd
systemctl status httpd

在这里插入图片描述

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐