运行

sudo /etc/init.d/apach2 restart

后,提示警告信息:

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

...waiting apache2:Could not reliably determine the server's qualified domain nama ,using 127.0.1.1 for ServerName

解决办法:

sudo vi /etc/apache2/sites-available/default

在顶部加上ServerName 127.0.0.1

重启即可

相关文章:

  • 2021-11-18
  • 2022-01-09
  • 2021-11-22
  • 2021-07-09
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-12-19
  • 2021-12-28
相关资源
相似解决方案