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 apache
出現以上狀況只要修改一下Apache的配置文件便可:dom
在配置文件 apache2.conf裏面加入一行this
ServerName localhost:80rest
而後重啓Apache服務就能夠了server
sudo /etc/init.d/apache2 restart it