apache2每次重启都会出现错误提示:
Could not reliably determine the server’s fully qualified domain name
在ubuntu的终端(Terminal)输入
sudo gedit /etc/apache2/apache2.conf
添加下面一行:
ServerName LocalHost
然后重新启动apache2
sudo /etc/init.d/apache2 restart
本文介绍了解决Apache2在Ubuntu中启动时出现“Couldnotreliablydeterminetheserver’sfullyqualifieddomainname”错误的方法。通过在配置文件中添加ServerName LocalHost一行并重启服务来解决此问题。
apache2每次重启都会出现错误提示:
Could not reliably determine the server’s fully qualified domain name
在ubuntu的终端(Terminal)输入
sudo gedit /etc/apache2/apache2.conf
添加下面一行:
ServerName LocalHost
然后重新启动apache2
sudo /etc/init.d/apache2 restart
2035
3506
323
535
1745

被折叠的 条评论
为什么被折叠?