[root@localhost var]# /etc/init.d/apache start
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
解决方法:
vi /etc/httpd/conf/httpd.conf
加入一句 ServerName localhost:80
然后重启apache