[root@redhat root]# service httpd start
启动 httpd:httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[失败]
我把/etc/hosts改成下面内容就可以了:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 redhat localhost