Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
2010-03-14 10:20
645 查看
在Ubuntu上安装Apache,每次重启,都会出现以下错误提示:
Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
打开终端,输入以下命令:
sudo vim /etc/apache2/httpd.conf
默认情况下,这个是一个空文件,在文件中加入以下内容:
ServerName localhost
保存文件退出,再次重启apache,错误提示没有了。
Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
解决办法
修改 httpd.conf 文件打开终端,输入以下命令:
sudo vim /etc/apache2/httpd.conf
默认情况下,这个是一个空文件,在文件中加入以下内容:
ServerName localhost
保存文件退出,再次重启apache,错误提示没有了。
相关文章推荐
- Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
- [zz]Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
- apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName错误的解决方法
- Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for
- apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for
- 继续摘抄:How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName”
- 关于Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 fo
- Could not reliably determine the server's fully qualified domain name, using LAMP1.1 for ServerName
- Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerNam
- Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
- 关于Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 fo
- ubuntu-Apache2: Could not reliably determine the server’s fully qualified domain name
- could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
- httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.229 fo
- 【百试百灵】linux下apche启动或者重启时Could not reliably determine the server's fully qualified domain name, using
- httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
- ubentu apache2重启报错 Could not reliably determine the server's fully qualified domain name, using ……
- httpd: Could not reliably determine the server's fully qualified domain name, using fe80::8
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localh
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0