Dragon
主机之家测评主机之家测评  2019-08-26 02:15 主机之家测评 隐藏边栏 |   抢沙发  86 
文章评分 0 次,平均分 0.0

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 服务。

本文为原创文章,版权归所有,欢迎分享本文,转载请保留出处!

发表评论

扫一扫二维码分享