{"id":390,"date":"2013-05-29T17:03:56","date_gmt":"2013-05-29T17:03:56","guid":{"rendered":"https:\/\/shan.info\/new\/httpd-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-using-127-0-0-1-for-servername\/"},"modified":"2013-05-29T17:03:56","modified_gmt":"2013-05-29T17:03:56","slug":"httpd-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-using-127-0-0-1-for-servername","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/httpd-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-using-127-0-0-1-for-servername\/","title":{"rendered":"httpd: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerName"},"content":{"rendered":"<p><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">httpd: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerName<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u89e3\u51b3\u529e\u6cd5\u975e\u5e38\u7b80\u5355\uff1a<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">#vim \/web\/apache\/conf\/httpd.conf (\u5728\u8fd9\u91cc\/web\/apahce\u662f\u6211\u5b89\u88c5apache\u7684\u76ee\u5f55\uff0c\u4f60\u9ed8\u8ba4\u5b89\u88c5\u7684\u8bdd\u5e94\u8be5\u662f\/usr\/local\/apache2\/icons)<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u627e\u5230#ServerName www.example.com:80\u00a0\u00a0 \u628a#\u53bb\u6389\uff0c\u518d\u91cd\u542fapache\u5373\u53ef\u6ca1\u4e8b\u4e86\u3002<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u73b0\u8c61\uff1a<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><\/p>\n<div class=\"code\" style=\"border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c; font-family: 'Courier New', Courier, mono; font-size: 12px; overflow: auto; width: 934.3125px; background-color: #ffffff; padding-left: 10px; line-height: 14px; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">bogon:~\/webserver\/httpd-2.0.59 # \/usr\/local\/apache2\/bin\/apachectl start<br \/>httpd: Could not determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerName<br \/>httpd (pid 20183) already running<\/div>\n<p><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u9019\u500b\u554f\u984c\u61c9\u8a72\u662f\u6c92\u6709\u5728 \/etc\/httpd\/conf\/httpd.conf \u4e2d\u8a2d\u5b9a ServerName\u00a0\u00a0<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><\/p>\n<div class=\"code\" style=\"border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c; font-family: 'Courier New', Courier, mono; font-size: 12px; overflow: auto; width: 934.3125px; background-color: #ffffff; padding-left: 10px; line-height: 14px; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">vi \/usr\/local\/apache2\/conf\/httpd.conf<\/div>\n<p><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u6700\u7b80\u5355\u7684\uff0c\u4fee\u6539httpd.conf\u6587\u4ef6\uff0c\u589e\u52a0:<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">ServerName www.example.com:80<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u6211\u7684\u6539\u4e3a:<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><\/p>\n<div class=\"code\" style=\"border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c; font-family: 'Courier New', Courier, mono; font-size: 12px; overflow: auto; width: 934.3125px; background-color: #ffffff; padding-left: 10px; line-height: 14px; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">ServerName www.example.com:80<\/div>\n<p><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u518d\u6b21\u542f\u52a8\u5c31\u6b63\u5e38\u4e86!<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">AH00558: httpd: Could not reliably determine the server&#8217;s fully qualified domain name, using localhost.localdomain. Set the &#8216;ServerName&#8217; directive globally to suppress this message<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">httpd (pid 7907) already running<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u4fee\u6539\uff1a\u53bb\u6389\u6ce8\u91ca\u5373\u53ef\u3002<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\"># If your host doesn&#8217;t have a registered DNS name, enter its IP address here.<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">#<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">ServerName www.example.com:8080<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u89e3\u51b3\u65b9\u6848\uff1a<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u8fdb\u5165apache\u7684\u5b89\u88c5\u76ee\u5f55:<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">Windows : D:Program FilesApache Software FoundationApache2.2conf<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">linux : \/usr\/local\/apache\/conf<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u7528\u8bb0\u4e8b\u672c\u6253\u5f00httpd.conf<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u5c06\u91cc\u9762\u7684#ServerName localhost:80\u6ce8\u91ca\u53bb\u6389\u5373\u53ef\u3002<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u518d\u6267\u884chttpd<\/span><br style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa;\" \/><span style=\"color: #000000; font-family: Verdana, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfa; display: inline !important; float: none;\">\u7136\u540e\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/localhost\uff1a80\uff0c\u5982\u679c\u9875\u9762\u663e\u793a\u201cIt works\uff01\u201d\uff0c\u5373\u8868\u793aapache\u5df2\u5b89\u88c5\u5e76\u542f\u52a8\u6210\u529f\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>httpd: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerName\u89e3\u51b3\u529e\u6cd5\u975e\u5e38\u7b80\u5355\uff1a#vim \/web\/apache\/conf\/httpd.conf (\u5728\u8fd9\u91cc\/web\/apahce\u662f\u6211\u5b89\u88c5apache\u7684\u76ee\u5f55\uff0c\u4f60\u9ed8\u8ba4\u5b89\u88c5\u7684\u8bdd\u5e94\u8be5\u662f\/usr\/local\/apache2\/icons)\u627e\u5230#ServerName www.example.com:80\u00a0\u00a0 \u628a#\u53bb\u6389\uff0c\u518d\u91cd\u542fapache\u5373\u53ef\u6ca1\u4e8b\u4e86\u3002\u73b0\u8c61\uff1a bogon:~\/webserver\/httpd-2.0.59 # \/usr\/local\/apache2\/bin\/apachectl starthttpd: Could not determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerNamehttpd (pid 20183) already running \u9019\u500b\u554f\u984c\u61c9\u8a72\u662f\u6c92\u6709\u5728 \/etc\/httpd\/conf\/httpd.conf \u4e2d\u8a2d\u5b9a ServerName\u00a0\u00a0 vi \/usr\/local\/apache2\/conf\/httpd.conf \u6700\u7b80\u5355\u7684\uff0c\u4fee\u6539httpd.conf\u6587\u4ef6\uff0c\u589e\u52a0:ServerName www.example.com:80\u6211\u7684\u6539\u4e3a: ServerName www.example.com:80 \u518d\u6b21\u542f\u52a8\u5c31\u6b63\u5e38\u4e86!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;AH00558: httpd: Could not reliably [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}