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
打开终端,输入以下命令:
默认情况下,这个是一个空文件,在文件中加入以下内容:
保存文件退出,再次重启apache,错误提示没有了。
在Ubuntu上安装Apache,每次重启,都会出现以下错误提示:
Could not reliably determine the server's fully qualified domain name
解决办法
修改 httpd.conf 文件打开终端,输入以下命令:
sudo gedit /etc/apache2/httpd.conf
默认情况下,这个是一个空文件,在文件中加入以下内容:
ServerName localhost
保存文件退出,再次重启apache,错误提示没有了。
相关文章推荐
- ubuntu安装apache2出现"Config variable ${APACHE_LOCK_DIR} is not defined"问题的解决方法
- Ubuntu 11.10下解决Gnome-shell“转换输入中出现无效字符序列”错误
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- ubuntu 11.10亮度无法调节和无法保存屏幕亮度解决办法gksu gedit /etc/default/grub
- Ubuntu和Fedora闪屏和drm出现"forcing panel scaling"的解决方法。
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- Ubuntu 11.10 make menuconfig 失败的解决方法
- ubuntu 安装apache2, php5, mysql, phpmyadmin后无法访问phpmyadmin问题的解决
- Ubuntu 11.10 MySQL客户端 Emma 6.0 中文乱码解决办法
- Ubuntu 16.04 下Qt编译出现"cannot find -lGL"问题解决
- Ubuntu-server 下Apache2 配置.htaccess 隐藏thinkPHP项目index.php无效解决办法
- ubuntu 11.10 用pppoe拨号上网失败解决方法
- ubuntu 11.10 x64 安装oracle 11gR2时碰到的问题及解决方法
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- 解决ubuntu中apache2的url大小写敏感问题。
- Ubuntu Apache2重启提示could not reliably determine the server’e fully问题解决方法
- Ubuntu11.10耳机没声音?解决之...
- Ubuntu 11.10 make menuconfig 失败的解决方法
- Ubuntu 11.10不能使用USB安装的解决方法
- XP SP3 下,用 VMware 7.1.2 安装 Ubuntu 11.10,再安装 VMware Tools 时碰到的问题和解决方法