centos6.5rpm安装apache后,执行service httpd start命令报错:Could not reliably determine the server's fully qualified domain name, using xxx for ServerName
解决方法如下:
修改/etc/httpd/conf/httpd.conf文件,添加以下代码:
ServerName localhost:80
保存后即可正常启动apache服务。
centos6.5rpm安装apache后,执行service httpd start命令报错:Could not reliably determine the server's fully qualified domain name, using xxx for ServerName
解决方法如下:
修改/etc/httpd/conf/httpd.conf文件,添加以下代码:
ServerName localhost:80
保存后即可正常启动apache服务。