Apache2启动错误Could not reliably determine the server's fully qualified domain name


本文摘自PHP中文网,作者PHP中文网,侵删。

错误情况:

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message 

 

出现以上情况只要修改一下Apache的配置文件即可:

在配置文件 apache2.conf里面加入一行

 ServerName localhost:80

 然后重启Apache服务就可以了

sudo /etc/init.d/apache2 restart 

以上就是Apache2启动错误Could not reliably determine the server's fully qualified domain name的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

linux常见错误及解决办法分享

apache2启动错误could not reliably determine the server's fully qualified domain name

虚拟机实现静态ip登录的实例介绍

启动bash shell有哪些方式?

linux下启动ssh失败的解决方法

linux启动失败

linux下nginx重启命令是什么?

apache2如何开启

linux下nginx重启命令是什么?

apache2启动错误could not reliably determine the server's fully qualified domain name

更多相关阅读请进入《reliably》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...

    正在狠努力加载,请稍候...