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每次重启都会出现错误提示:
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