重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题的解决

重启服务器时报错:

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.0.2.15. Set the 'ServerName' directive globally to suppress this message

解决办法:$ sudo vi /etc/apache2/apache2.conf

             最后加入一句: ServerName localhost:80
posted @ 2017-05-04 13:44  郁冬  阅读(2054)  评论(0编辑  收藏  举报