亲测好用!
错误:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
解决:
sudo sh -c 'echo "ServerName localhost" >> /etc/apache2/conf.d/servername.conf'
原文链接 :
http://www.garron.me/bits/apache2-could-not-reliably-determine-fully-qualified-ServerName.html
分享到:
相关推荐
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.116 for ServerName错误 在#ServerName www.example.com:80 添加 ServerName www.example.com:80
Gerrit搭建及权限配置 Gerrit是一款基于Web的代码...需要处理常见错误,如重启Apache2时遇到apache2: could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for servername等。
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
A project model for the FreeBSD Project Niklas Saers Copyright © 2002-2005 Niklas Saers [ Split HTML / Single HTML ] Table of Contents Foreword 1 Overview 2 Definitions 2.1. Activity 2.2. Process ...
如果在重启Apache时遇到“Could not reliably determine the server's fully qualified domain name”的警告,可以在`/etc/apache2/apache2.conf`文件末尾添加: ``` ServerName 127.0.0.1 ``` 6. 重启Apache服务:...
重启 Apache 后,可能会弹出警告:AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.64. Set the 'ServerName' directive globally to suppress this ...
Storm Applied is a practical guide to using Apache Storm for the real-world tasks associated with processing and analyzing real-time data streams. This immediately useful book starts by building a ...
Rails is a great tool for building web applications, but it's not the best at everything. Embrace the features built into your database. Learn how to use front-end frameworks. Seize the power of the ...
如果出现“Could not reliably determine the server's fully qualified domain name”错误,需要编辑`/etc/httpd/conf/httpd.conf`文件,将`ServerName`行修改为实际的域名或IP地址,并设为开机启动。 然后,我们...
注意,在启动Apache时,如果出现“Could not reliably determine the server's fully qualified domain name”警告,可以在Apache配置文件(如 `/usr/local/apache/conf/httpd.conf`)中添加或修改ServerName配置,...
若启动时遇到“Could not reliably determine the server's fully qualified domain name”错误,需编辑`/etc/httpd/conf/httpd.conf`,将`ServerName www.example.com:80`改为`ServerName localhost:80`或你的实际...
zer machine is used for the first time, it's recommended to change the oil in the pump after 100 hours of operation. Use clean diesel oil for the initial fill, then switch to hydraulic oil of ...
如果遇到启动时提示“apr_sockaddr_info_get() failed”和“Could not reliably determine the server's fully qualified domain name”的错误,可以通过编辑 /etc/hosts、/etc/sysconfig/network 和 /usr/local/...