问题:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
安装nginx后要停止apache2,出现的
解决方案,在/etc/apache2/httpd.conf文件中,写上:
ServerName localhost
然后执行:
/etc/init.d/apache2 restart
/etc/init.d/apache2 stop