{"id":299,"date":"2017-09-08T15:40:08","date_gmt":"2017-09-08T07:40:08","guid":{"rendered":"http:\/\/bigzhu.cn\/?p=299"},"modified":"2017-09-08T15:46:46","modified_gmt":"2017-09-08T07:46:46","slug":"%e3%80%90%e4%b8%aa%e4%ba%ba%e7%ac%94%e8%ae%b0%e3%80%91%e9%98%bf%e9%87%8c%e4%ba%91ecs%e6%bc%8f%e6%b4%9e%e4%bf%ae%e5%a4%8d-%e7%bb%ad","status":"publish","type":"post","link":"https:\/\/bigzhu.cn\/?p=299","title":{"rendered":"\u3010\u4e2a\u4eba\u7b14\u8bb0\u3011\u963f\u91cc\u4e91ECS\u6f0f\u6d1e\u4fee\u590d-\u7eed"},"content":{"rendered":"<p>\u6628\u5929\u9ad8\u9ad8\u5174\u5174\u628a\u963f\u91cc\u4e91ECS\u7684Linux\u5185\u6838\u5347\u7ea7\u4e86\uff0c\u7ed3\u679c\u6ca1\u6709\u8003\u8651\u5230\u670d\u52a1\u5668\u4e0a\u8fd8\u6709\u4fe9\u6d4b\u8bd5\u7ad9\u70b9\uff0c\u4eca\u65e9\u4e00\u5230\u516c\u53f8VP\u5c31\u8bf4\u4e4b\u524d\u90a3\u4e2a\u7f51\u7ad9\u65e0\u6cd5\u8bbf\u95ee\u4e86\u2014\u2014\u6109\u5feb\u7684\u5468\u4e94\u611f\u89c9\u88ab\u81ea\u5df1\u5751\u4e86\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u9996\u5148\uff0c\u8bbf\u95ee\u7f51\u7ad9\u51fa\u73b0\u7684\u662fApache\u6d4b\u8bd5\u9875\u9762<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-300 size-full lazyload\" data-src=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc.jpg\" alt=\"\" width=\"1095\" height=\"478\" data-srcset=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc.jpg 1095w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc-600x262.jpg 600w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc-300x131.jpg 300w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc-768x335.jpg 768w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/18d8bc3eb13533fa62666b04aad3fd1f40345bcc-1024x447.jpg 1024w\" data-sizes=\"(max-width: 1095px) 100vw, 1095px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1095px; --smush-placeholder-aspect-ratio: 1095\/478;\" \/><\/p>\n<p>\u6211\u60f3\u662f\u56e0\u4e3a\u66f4\u65b0\u4e86\u5185\u6838\uff0cApache\u4e5f\u66f4\u65b0\u4e86\u5427\uff1f<\/p>\n<p>\u8fd9\u662f\u4e2a\u5c0f\u95ee\u9898\uff0c\u53bb\u628a\u6b22\u8fce\u9875\u9762\u6ce8\u91ca\u4e86\u5c31\u5e94\u8be5\u597d\u4e86\uff0c\u5c0f\u4e8b\uff0c\u4eca\u5929\u8fd8\u662f\u53ef\u4ee5\u6d6a\u7684\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">\/etc\/httpd\/conf.d\/welcome.conf<\/code><\/pre>\n<p>\u7136\u800c\u8fd9\u53ea\u662f\u5f00\u5934\uff0c\u6ce8\u91ca\u6389\u4e4b\u540e\u51fa\u73b0\u7684\u662f\u201cIndex of \/ \u201d\u800c\u4e0d\u662f\u7f51\u7ad9\u9996\u9875<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-301 size-full lazyload\" data-src=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u56fe\u724720170908143716.png\" alt=\"\" width=\"1347\" height=\"884\" data-srcset=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u56fe\u724720170908143716.png 1347w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u56fe\u724720170908143716-300x197.png 300w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u56fe\u724720170908143716-768x504.png 768w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u56fe\u724720170908143716-1024x672.png 1024w\" data-sizes=\"(max-width: 1347px) 100vw, 1347px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1347px; --smush-placeholder-aspect-ratio: 1347\/884;\" \/><\/p>\n<p>\u8fd9\u6837\u7684\uff0c\u4f46\u662f\u6211\u7684\u7f51\u7ad9\u80af\u5b9a\u4e0d\u662f\u8fd9\u6837\u4f7f\u5f97\u561b\uff0c\u800c\u4e14\u76ee\u5f55\u4e5f\u4e0d\u5bf9<\/p>\n<p>\u6211\u5728ECS\u4e0a\u88c5\u4e86WDCP\uff0c\u8fd9\u65f6\u5019\u6211\u9a6c\u4e0a\u60f3\u662f\u4e0d\u662f\u90a3\u91cc\u51fa\u95ee\u9898\u4e86\uff0c\u770b\u4e86\u4e0b\uff0c\u679c\u7136\uff0c\u201cnginxd\u201d\u6ca1\u6709\u542f\u52a8\uff0c\u800c\u4e14\u65e0\u6cd5\u542f\u52a8\u3002\u867d\u7136\u8fd9\u4e2a\u65f6\u5019\u7ad9\u70b9FTP\u8fd8\u80fd\u8bbf\u95ee\uff0c\u4f46\u662f\u6ca1\u4e86\u201cnginxd\u201d\u670d\u52a1\uff0c\u4e5f\u8fd8\u662f\u8dea\u7740\u7684\u3002<\/p>\n<p>\u5c1d\u8bd5\u542f\u52a8\u201cnginxd\u201d\u5931\u8d25\uff0c\u6211\u5c31\u60f3\u7740\u91cd\u88c5WDCP\uff0c\u8fd9\u6837\u65b0\u5347\u7ea7\u76843.2.2\u5185\u6838\u8fd8\u80fd\u4fdd\u7559\u4e0b\u6765\u561b\uff01\u7136\u800c\u5176\u4e2d\u51fa\u73b0\u4e86\u65b0\u95ee\u9898<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">Sorry, I cannot run apxs.  Possible reasons follow:\r\n\r\n1. Perl is not installed\r\n2. apxs was not found. Try to pass the path using --with-apxs2=\/path\/to\/apxs\r\n3. Apache was not built using --enable-so (the apxs usage page is displayed)\r\n\r\nThe output of \/www\/wdlinux\/apache\/bin\/apxs follows:\r\n.\/configure: line 8426: \/www\/wdlinux\/apache\/bin\/apxs: No such file or directory\r\nconfigure: error: Aborting<\/code><\/pre>\n<p>\u5b89\u88c5Prel\u65e0\u6cd5\u89e3\u51b3\uff0capxs\u6ca1\u95ee\u9898\uff0c\u7b2c\u4e09\u4e2a\u95ee\u9898\u4e0d\u60f3\u67e5\u4e86\uff0c\u65f6\u95f4\u6765\u5230\u4e86\u5341\u4e00\u70b9\u8fc7\uff0c\u4e0d\u60f3\u4eca\u5929\u5c31\u8fd9\u4e48\u8352\u5e9f\u4e86\uff0c\u58ee\u58eb\u65ad\u8155\u2014\u2014\u521d\u59cb\u5316\u78c1\u76d8\uff08\u670d\u52a1\u5668\u7684\uff09\uff0c\u867d\u7136\u7cfb\u7edf\u5185\u6838\u5c31\u6062\u590d\u5230\u5347\u7ea7\u4e4b\u524d\u4e86\uff0c\u4f46\u662f\uff0c\u4e0d\u80fd\u8ba9\u5468\u672b\u8fd8\u4e3a\u6b64\u5fc3\u70e6\uff0c\u5e72\uff01<\/p>\n<p>\u521d\u59cb\u5316\u4e86\u78c1\u76d8\uff0c\u91cd\u88c5WDCP\u5f88\u6b63\u5e38\uff0c\u65b0\u5efa\u7ad9\u70b9\uff0c\u4e0a\u4f20&#8230;&#8230;\uff08\u8fd9\u65f6\u5019\u963f\u91cc\u4e91ECS\u7684FTP\u7167\u4f8b\u4f1a\u8fde\u63a5\u4e0d\u4e0a\uff0c\u4e0d\u6025\u7740\u627e\u539f\u56e0\u4e86\uff0cWDCP\u7684\u4e5f\u662f\u8fde\u63a5\u591a\u6b21\u624d\u8fde\u4e0a\uff09&#8230;&#8230;\u6587\u4ef6\uff0c\u4fee\u6539\u4e9b\u5c0f\u95ee\u9898\uff0c\u597d\u4e86\uff0c\u4e09\u70b9\u949f\uff0c\u8fc7\u521d\u5ba1\uff0c\u53ef\u4ee5\u4e0a\u4f20\u5230\u5907\u6848IP\u4e0b\u62ff\u53bb\u5ba1\u4e86\u3002<\/p>\n<p>\u8fd9\u65f6\u5019\u6709\u4e2a\u65b0\u7684\u60f3\u6cd5\uff0c\u4e0d\u60f3\u91cd\u65b0\u4e0a\u4f20\uff0c\u628a\u5907\u6848\u57df\u540d\u89e3\u6790\u5230\u6211\u7684\u670d\u52a1\u5668\u5982\u4f55\uff1f\u56e0\u4e3a\uff1a<\/p>\n<p><span style=\"color: #ff0000;\"><em><span style=\"font-size: small;\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u76ee\u524d\u53ea\u6709\u65b0\u7586\u3001\u6d59\u6c5f\u3001\u5317\u4eac(\u7ecf\u8425\u6027\u5907\u6848\u7528\u6237\uff09\u7ba1\u5c40\u4f1a\u8fdb\u884c\u67e5\u770b\u5b9e\u9645\u7f51\u7ad9\u6307\u5411IP\u662f\u5426\u4e0e\u5907\u6848\u62a5\u5907IP\u4e00\u81f4\u3002<\/span><\/span>\u00a0<\/em><\/span><br \/>\n<span style=\"color: #ff0000;\"><em><span style=\"font-size: small;\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u5982\u60a8\u4e0d\u5c5e\u4e8e\u8fd9\u51e0\u4e2a\u7701\u4efd\u5219\u6ca1\u6709\u5173\u7cfb\u6b63\u5e38\u4f7f\u7528\u5373\u53ef\uff0c\u5982\u4e3a\u8fd9\u51e0\u4e2a\u7701\u4efd\u9700\u8981\u8fdb\u5165\u5907\u6848\u5e73\u53f0\u63d0\u4ea4\u53d8\u66f4\u5907\u6848\uff08\u5907\u6ce8\u8bf4\u660e\u9700\u8981\u53d8\u66f4\u7684IP\uff0c\u5e76\u7535\u8bdd\u544a\u77e5\u5ba2\u670d\uff09<\/span><\/span>\u00a0<\/em><\/span><br \/>\n<span style=\"font-size: small; color: #ff0000;\"><em><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u7f51\u7ad9\u4e3b\u673a\u7684IP\u5730\u5740\u4e5f\u662f\u6309\u7167\u4e0a\u8ff0\u89c4\u5219\uff0c\u5982\u60a8\u4f4d\u4ee5\u4e0a\u63d0\u5230\u4e09\u4e2a\u7701\u4efd\u7528\u6237\uff0c\u90a3\u4e48\u9700\u8981\u4fdd\u6301\u4e00\u81f4\uff0c\u5982\u679c\u4e0d\u662f\u53ef\u4ee5\u968f\u610f\u4f7f\u7528\u963f\u91cc\u4e91\u5176\u4ed6\u4ea7\u54c1\u3002<\/span><\/em><\/span><\/p>\n<p>\u8fd9\u662f\u676114\u5e74\u7684\u6d88\u606f\uff0c\u4e0d\u77e5\u9053\u73b0\u5728\u8fd8\u662f\u4e0d\uff0c\u6216\u8005\u6709\u65b0\u7684\u82b1\u6837\u4e86\u4e0d\uff0c\u611f\u89c9\u53ef\u4ee5\u8bd5\uff08\u641e\uff09\u8bd5\uff08\u4e8b\uff09\uff0c\u6709\u90a3\u4e2a\u5f00\u516c\u53f8\u7684\u5c0f\u4f19\u4f34\u6211\u4eec\u8bd5\u8bd5\u3002<\/p>\n<p>\u4e8b\u5df2\u81f3\u6b64\uff0c\u771f\u5fc3\u5730\uff0c\u90fd\u662f\u6211\u7f3a\u5fc3\u773c\u513f\uff0c\u50bbX\uff0c\u6ca1\u4e8b\u627e\u4e8b\uff0c\u6628\u5929\u7684\u529f\u592b\u767d\u8d39\u4e86\u3002<\/p>\n<p>\u4e8e\u662f\u4e4e\u6211\u53c8\u53bb\u67e5\u770b\u670d\u52a1\u5668\u6f0f\u6d1e\uff0c\u6253\u7b97\u5148\u628a\u4e0d\u9700\u8981\u5347\u7ea7\u5185\u6838\u7684\u6f0f\u6d1e\u4fee\u590d\u4e86\u5148\uff0c\u5347\u7ea7\u5185\u6838\u7684\u4e8b\u60c5\uff0c\u7b49\u8fc7\u4e86\u8fd9\u4e00\u6bb5\u518d\u4ece\u957f\u8ba1\u8bae\uff0c\u7136\u800c\u9ad8\u6f6e\u6765\u4e86\uff0c\u4e5f\u662f\u4e3a\u4ec0\u4e48\u5199\u4e0b\u8fd9\u7bc7\u7b14\u8bb0\u7684\u539f\u56e0\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-302 size-full lazyload\" data-src=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u622a\u56fe20170908153353.png\" alt=\"\" width=\"1902\" height=\"816\" data-srcset=\"https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u622a\u56fe20170908153353.png 1902w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u622a\u56fe20170908153353-300x129.png 300w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u622a\u56fe20170908153353-768x329.png 768w, https:\/\/bigzhu.cn\/wp-content\/uploads\/2017\/09\/QQ\u622a\u56fe20170908153353-1024x439.png 1024w\" data-sizes=\"(max-width: 1902px) 100vw, 1902px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1902px; --smush-placeholder-aspect-ratio: 1902\/816;\" \/><\/p>\n<p>\u600e\u4e48\u5237\u65b0\u90fd\u8fd8\u662f\u5df2\u4fee\u590d\u7684\u72b6\u6001\uff0cemmmm\uff0c\u8fd9\u4e2a\u4e03\u5929\u670d\u52a1\u771f\u7684\u5c31\u662f\u6765\u6253\u5e7f\u544a\u7684\u662f\u54c7<\/p>\n<p>\u5176\u5b9e\u4e0a\u5348\u8fd8\u60f3\u627e\u5230\u6839\u672c\u539f\u56e0\u89e3\u51b3\u4e86\u5148\uff0c\u4f46\u662f\u65f6\u95f4\u4e0d\u5141\u8bb8\uff0c\u8fd8\u662f\u5148\u653e\u5f03\u4e86\uff08\u67e5\u9605\u4e86\u5404\u79cd\u8d44\u6599\u5148\u4fdd\u7559\u7740\uff09\uff0c\u8fc7\u51e0\u5929\u518d\u5347\u7ea7\u5185\u6838\uff0c\u5c31\u8fd9\u4e2a\u95ee\u9898\u4ed4\u7ec6\u7814\u7a76\u4e00\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u5929\u9ad8\u9ad8\u5174\u5174\u628a\u963f\u91cc\u4e91ECS\u7684Linux\u5185\u6838\u5347\u7ea7\u4e86\uff0c\u7ed3\u679c\u6ca1\u6709\u8003\u8651\u5230\u670d\u52a1\u5668\u4e0a\u8fd8\u6709\u4fe9\u6d4b\u8bd5\u7ad9\u70b9\uff0c\u4eca\u65e9\u4e00\u5230\u516c\u53f8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,15,2],"tags":[],"class_list":["post-299","post","type-post","status-publish","format-standard","hentry","category-3","category-5","category-blog","category-2"],"_links":{"self":[{"href":"https:\/\/bigzhu.cn\/index.php?rest_route=\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bigzhu.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bigzhu.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bigzhu.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bigzhu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=299"}],"version-history":[{"count":0,"href":"https:\/\/bigzhu.cn\/index.php?rest_route=\/wp\/v2\/posts\/299\/revisions"}],"wp:attachment":[{"href":"https:\/\/bigzhu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bigzhu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bigzhu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}