1、启动apache遇到错误:
httpd: Could not reliably determine the server’s fully qualified domain name
2·、修改httpd.conf配置
vim /etc/httpd/conf/httpd.conf
ServerName www.example.com:80 改成 ServerName localhost:80
3、关闭在启动httpd
systemctl stop httpd
systemctl start httpd
systemctl status httpd
4、查看有无报错
httpd -t
更多请参考:解决AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using local