[root@lamp httpd-2.2.31]# /usr/local/apache2/bin/apachectl restart
httpd: apr_sockaddr_info_get() failed for lamp
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
将配置文件改成# vim /usr/local/apache2/conf/httpd.conf
ServerName localhost:80 这里的localhost是直接填localhost还是填自己的虚拟机名字?
编辑回复