/usr/local/httpd/bin/apachectl start
在启动apache时遇到如下错误:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
解决方法:
配置httpd.conf中 ServerName 为可用域名,如:ServerName localhost:80