httpd: Could not reliably determine the server’s fully qualified domain name, using server.abc.com for ServerName

问题

Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using server.abc.com for ServerName

原因

httpd.conf 文件未配置ServerName

解决办法

找到httpd.conf文件编辑(请根据自己编译的路径查找)

1.
vim /etc/apache2/httpd.conf

2.#添加此内容到 httpd.conf: 
ServerName localhost

3.重启apache
service httpd restart
文章仅展示,不提供购买,下载,请支持正版:http://s.w7.cc/
Yusky » httpd: Could not reliably determine the server’s fully qualified domain name, using server.abc.com for ServerName