问题描述
我刚安装的Apache 2.2.17,我用它第一次。
I have just installed Apache 2.2.17 and I am using it first time.
现在,当我尝试使用命令服务的httpd启动启动服务器时,它给我的消息的httpd:无法可靠地确定了服务器的完全合格的域名,使用:: 1的服务器名
Now when I try to start the server using command "service httpd start" It gives me the message "httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName"
现在,我想我必须设置服务器名和IP地址我从谷歌搜索。但我不知道我必须设置在哪个文件。
Now I think I have to set ServerName and IP address as I search through google. But I dont know in which file I have to set.
所以,请帮我做到这一点。
So please help me to do this
推荐答案
是的,你应该设置服务器名称:
Yes, you should set ServerName:
http://wiki.apache.org/httpd/CouldNotDetermineServerName
http://httpd.apache.org/docs/current/mod/core.html#servername
您可以找到由各个httpd的发行此处使用的布局信息:
You can find information on the layouts used by the various httpd distributions here:
http://wiki.apache.org/httpd/DistrosDefaultLayout
在你的情况要编辑的文件/etc/httpd/conf/httpd.conf中是
In your case the file to edit is /etc/httpd/conf/httpd.conf
这篇关于开始的httpd:httpd的:无法可靠地确定了服务器的完全合格的域名,使用:: 1的服务器名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!