Apache错误Could not reliably determin解决办法

Ubuntu重启Apache错误提示:Could not reliably determin
Linuxidc.com@Ubuntu
错误信息:
* Restarting web server apache2
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
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
本文来自: 择爱本(www.zeinb.net) 详细出处参考:http://www.zeinb.net/ziliaoku/4816.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注