`
xiaoheliushuiya
  • 浏览: 423349 次
文章分类
社区版块
存档分类
最新评论

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 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

分享到:
评论

相关推荐

    apache安装

    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搭建及权限配置.docx

    Gerrit搭建及权限配置 Gerrit是一款基于Web的代码...需要处理常见错误,如重启Apache2时遇到apache2: could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for servername等。

    apache启动报错:httpd: apr_sockaddr_info_get() failed

    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.7z

    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 ...

    lamp安装.doc

    如果在重启Apache时遇到“Could not reliably determine the server's fully qualified domain name”的警告,可以在`/etc/apache2/apache2.conf`文件末尾添加: ``` ServerName 127.0.0.1 ``` 6. 重启Apache服务:...

    linux下安装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.Strategies.for.real-time.event.processing

    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.Angular.Postgres.and.Bootstrap.2nd.Edition

    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 ...

    CentOS6.2安装配置LAMP服务器(Apache+PHP5+MySQL).pdf

    如果出现“Could not reliably determine the server's fully qualified domain name”错误,需要编辑`/etc/httpd/conf/httpd.conf`文件,将`ServerName`行修改为实际的域名或IP地址,并设为开机启动。 然后,我们...

    lamp搭建(apache2.2+mysql+php5.3)

    注意,在启动Apache时,如果出现“Could not reliably determine the server's fully qualified domain name”警告,可以在Apache配置文件(如 `/usr/local/apache/conf/httpd.conf`)中添加或修改ServerName配置,...

    CentOS 6.4安装配置LAMP服务器(Apache+PHP5+MySQL)

    若启动时遇到“Could not reliably determine the server's fully qualified domain name”错误,需编辑`/etc/httpd/conf/httpd.conf`,将`ServerName www.example.com:80`改为`ServerName localhost:80`或你的实际...

    电动水压泵说明书.doc

    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 ...

    redmine在centos下配置文档

    如果遇到启动时提示“apr_sockaddr_info_get() failed”和“Could not reliably determine the server's fully qualified domain name”的错误,可以通过编辑 /etc/hosts、/etc/sysconfig/network 和 /usr/local/...

Global site tag (gtag.js) - Google Analytics