开启Apache服务出现的错误

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

解决办法非常简单:

#nano /usr/local/apache2/conf/httpd.conf

找到#ServerName www.example.com:80   把#去掉,再重启apache即可没事了。



本文转自 IT阿飞 51CTO博客,原文链接:http://blog.51cto.com/itafei/1725814
原文地址:https://www.cnblogs.com/twodog/p/12138827.html