apache2: Could not reliably determine the server's fully qualified domain name

错误信息:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

解决方法:
sudo gedit /etc/apache2/apache2.conf

在文件后面加上:
#Server Name
ServerName 127.0.0.1

原文地址:https://www.cnblogs.com/jifeng/p/4951361.html