Could not reliably determine

2018-09-18 15:34:45 5812

  1. ~$ sudo /etc/init.d/apache2 restart

  2. * Restarting web server apache2

  3. apache2: Could not reliably determine the server's fully qualified

  4. domain name, using 127.0.1.1 for ServerName

  5. ... waiting apache2: Could not reliably determine the server's fully

  6. qualified domain name, using 127.0.1.1 for ServerName


sudo gedit /etc/apache2/httpd.conf


httpd.conf为空白文档,填入下面内容。


ServerName 127.0.0.1

再次重启

sudo /etc/init.d/apache2 restart


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: