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 服务。
本文为原创文章,版权归国外主机测评所有,欢迎分享本文,转载请保留出处!