启动http报错,提示如下
[root@ shanan httpd-2.4.29]# service httpd restart
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using fe80::393c:33a0:c312:2fb9. Set the ‘ServerName’ directive globally to suppress this message
根据提示“”ServerName “”
来到httpd.conf 参数配置文件
找到 #ServerName www.example.com:80 ,将其前面的#号去掉 ,开启即可或直接添加此行
[root@ shanan httpd-2.4.29]# service httpd restart