问题重启apache2
尝试重启apache2时,
我键入:
sudo /etc/init.d/apache2 restart
我得到的回应:
Could not reliably determine the server's fully qualified domain name
谁能告诉我我做错了什么?
在主配置文件中,确保ServerName具有适当的值。
/etc/apache2/apache2.conf
查找或添加以下内容
ServerName localhost
您可以使用任何FQDN而不是localhost。