一、启动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