wildmonk3y

系统:ubuntu server 14.04 LTS
服务:apache2
重启服务时报
 * Restarting web server 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

解决方案:
cd /etc/apache2/sites-enabled
sudo vi 000-default.conf

打开default文件后,在default文件顶端加入:

ServerName 127.0.0.1

重启apache2 (sudo /etc/init.d/apache2 restart)就不会提示上述错误了。

分类:

技术点:

相关文章:

  • 2021-12-17
  • 2022-02-14
  • 2021-12-09
  • 2021-07-16
  • 2021-09-28
  • 2021-06-20
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-01-26
  • 2021-12-06
  • 2021-12-18
相关资源
相似解决方案