首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

Debian的apache启动时出现警报的解决方法

2012-07-16 
Debian的apache启动时出现警报的解决办法debian自带的apache安装后,无论启动还是关闭都会出现这样的提示:S

Debian的apache启动时出现警报的解决办法
debian自带的apache安装后,无论启动还是关闭都会出现这样的提示:

Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

这是由于apache不知道ServerName是什么,需要手动定义

修改apache配置文件:sudo gedit /etc/apache2/apache2.conf,在文件最后设置:ServerName 127.0.0.1

重启apache一切正常

热点排行