LLEARNING NOTES

技术 · 思考 · 实践 · 成长

首页/Centos7/正文

CentOS7 安装 apache 出现AH00558

Centos7671 次阅读


[root@localhost httpd-2.4.43]# /usr/local/apache2.4.43/bin/apachectl 

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message


原因是因为没有配置好DNS,修改 

vim /usr/local/apache2/conf/httpd.conf

打开注释

ServerName www.example.com:80

日子是崭新的,不要回头看,如果今年还掉眼泪,希望是喜极而泣。

评论交流

理性讨论,共同进步
验证码

相关文章

继续阅读