您的位置:首页 > 运维架构 > Apache

Ubuntu 11.10 下解决Apache2 "Could not reliably determine the server's fully qualified domain name"

2011-12-07 20:12 337 查看
最新文章:Virson's Blog

在Ubuntu上安装Apache,每次重启,都会出现以下错误提示:

Could not reliably determine the server's fully qualified domain name

解决办法

修改 httpd.conf 文件

打开终端,输入以下命令:

sudo gedit /etc/apache2/httpd.conf

默认情况下,这个是一个空文件,在文件中加入以下内容:

ServerName localhost

保存文件退出,再次重启apache,错误提示没有了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: