[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
[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