[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