Linux安装Apache2.4出现 : AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
httpd (pid 7615) already running 表名Apache2.4已经运行,上面的信息应该在 /etc/http/conf/httpd.cnf 下编辑http.cnf ,在#ServerName www.example.com:80添加
ServerName localhost:80即可
在浏览器测试不能出现 It works
此时将centos7的防火墙关闭: systemctl stop firewalld.service
再在ie浏览器中测试就可以出现it works
有关centos7的防火墙设置,请参考: 点击打开链接
本文介绍了解决Linux环境下Apache2.4安装过程中出现的服务器全称无法确定的问题,并给出了具体的配置修改方法。此外,还介绍了如何通过关闭CentOS 7的防火墙来确保在浏览器中可以正常显示测试页面。
1314

被折叠的 条评论
为什么被折叠?



