解决httpd: Could not reliably determine the server's fully qualified domain name

Posted 远游骑士

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决httpd: Could not reliably determine the server's fully qualified domain name相关的知识,希望对你有一定的参考价值。

用vim打开 /usr/local/apache2/cong/httpd.conf

将里面的 #ServerName localhost:80 注释去掉即可。

再执行 /usr/local/apache2/bin/apachectl start

然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。

以上是关于解决httpd: Could not reliably determine the server's fully qualified domain name的主要内容,如果未能解决你的问题,请参考以下文章

部署OpenStack问题汇总--解决apache启动错误"httpd:Could not reliably determine..."

Centos6 下启动httpd报错 Could not reliably determine the server's解决方法

解决报错httpd: Could not reliably determine the server‘s fully qualified domain name

解决报错httpd: Could not reliably determine the server‘s fully qualified domain name

解决httpd: Could not reliably determine the server's fully qualified domain name

解决apache启动错误:httpd: Could not reliably determine the server's fully qualified domain name, using