Ubuntu 重启apache2未成功,AH00558错误

来源:互联网 发布:视频转换软件 编辑:程序博客网 时间:2024/06/05 23:54

Ubuntu 重启apache2未成功,错误如下:

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


解决方案为:

$ sudo vim /etc/apache2/apache2.conf

最后加一句:

 ServerName localhost:80


重启即可成功!

阅读全文
0 0
原创粉丝点击