Centos 6.2 的httpd出現異常


啟動時,發現以下問題,修正如下:

Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

 vi /etc/httpd/conf/httpd.conf

#ServerName Example.com.tw:80 修改伺服器名稱 ServerName host.edu.tw:80

vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
163.163.163.163 svname svname.com.tw