Apache启动报错: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
报错如下:
[root@test690 mysql]# /etc/init.d/apachectl restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决方法:
[root@test690 apache2]# vi /usr/local/apache2/conf/httpd.conf
找到 ServerName
将其更改为 ServerName localhost:80
[root@test690 apache2]# /etc/init.d/apachectl restart 重启将不再报错
转载于:https://blog.51cto.com/wzgl08/309536