在安装编译完成httpd-2.2.29后,使用/usr/local/apache2/bin/apachectl -t检验httpd安装是否正确,发现的报httpd: Could not reliably determine the server's fully qualified domain name, using 202.102.110.203 for ServerName
解决方法:
vi /usr/local/apache2/conf/httpd.conf
找到ServerName
,去掉前面的#号,并修改成ServerName
localhost:80即可
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26894172/viewspace-1630093/
,如需转载,请注明出处,否则将追究法律责任。