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

sudo /etc/init.d/apache2 restart时出现Could not reliably determine the server’s fully qualified domain

2011-07-15 13:54 513 查看
apache2每次重启都会出现错误提示:
Could not reliably determine the server’s fully qualified domain name
在ubuntu的终端(Terminal)输入
sudo gedit /etc/apache2/apache2.conf
添加下面一行:
ServerName LocalHost
然后重新启动apache2
sudo /etc/init.d/apache2 restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐