{"id":725,"date":"2024-04-22T18:42:39","date_gmt":"2024-04-22T10:42:39","guid":{"rendered":"http:\/\/www.huerpu.cc:7000\/?p=725"},"modified":"2024-04-22T18:42:39","modified_gmt":"2024-04-22T10:42:39","slug":"%e7%be%a4%e6%99%96nas%e6%95%99%e7%a8%8b%e4%ba%8c%e5%8d%81%e5%85%ab%e3%80%81%e5%88%a9%e7%94%a8web-station%e8%bf%81%e7%a7%bbwordpress%e5%8d%9a%e5%ae%a2%e5%88%b0%e6%96%b0%e7%be%a4%e6%99%96","status":"publish","type":"post","link":"http:\/\/www.huerpu.cc:7000\/?p=725","title":{"rendered":"\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u516b)\u3001\u5229\u7528Web Station\u8fc1\u79fbwordpress\u535a\u5ba2\u5230\u65b0\u7fa4\u6656"},"content":{"rendered":"<h3>\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u516b)\u3001\u5229\u7528Web Station\u8fc1\u79fbwordpress\u535a\u5ba2\u5230\u65b0\u7fa4\u6656<\/h3>\n<h3>\u4e00\u3001\u6587\u4ef6\u5907\u4efd<\/h3>\n<p>\u628a\u539f\u6765\u65e7\u7fa4\u6656web\u76ee\u5f55\u4e0b\u7684wordpress\u6587\u4ef6\u5939\u5907\u4efd\u4e0b\u8f7d\u4e0b\u6765<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image002.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u4f7f\u7528phpMyAdmin\u628a\u539f\u6765\u7684wordpress\u6570\u636e\u5e93\u6570\u636e\u5907\u4efd\u4e0b\u6765<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image004.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image006.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<h3>\u4e8c\u3001\u5907\u4efd\u597d\u7684wordpress\u6587\u4ef6\u8fc1\u79fb\u5230\u65b0\u7fa4\u6656<\/h3>\n<p>\u65b0\u7fa4\u6656web\u76ee\u5f55\u4e0b\uff0c\u89e3\u538b\u5907\u4efd\u597d\u7684wordpress\u6587\u4ef6\u5939\u3002\u5728web-wordpress\u4e0b\uff0c\u6709\u4e00\u4e2awp-config.php\u6587\u4ef6\uff0c\u4fee\u6539\u5176\u4e2d\u7684\u6570\u636e\u5e93\u94fe\u63a5\u4fe1\u606f\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image008.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u4fee\u6539\u4e0b\u9762\u51e0\u9879\uff0c\u5206\u522b\u4e3a\u6570\u636e\u5e93\u540d\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801\u3001host\u5730\u5740\u3002<\/p>\n<pre><code class=\"language-javascript\">\/\/ ** Database settings - You can get this info from your web host ** \/\/ \n \/** The name of the database for WordPress *\/ \n define( &#039;DB_NAME&#039;, &#039;hep_wordpress&#039; ); \n\n \/** Database username *\/ \n define( &#039;DB_USER&#039;, &#039;root&#039; ); \n\n \/** Database password *\/ \n define( &#039;DB_PASSWORD&#039;, &#039;admin123&#039; ); \n\n \/** Database hostname *\/ \n define( &#039;DB_HOST&#039;, &#039;localhost&#039; );<\/code><\/pre>\n<h3>\u4e09\u3001\u6570\u636e\u5e93\u8fc1\u79fb\u5230\u65b0\u5e93<\/h3>\n<p>\u5728\u65b0\u7fa4\u6656\u4e0a\u6253\u5f00PHPMyAdmin\u8f6f\u4ef6\u8fde\u63a5\u65b0\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2ahep_wordpress\u7684\u6570\u636e\u5e93\uff0c\u5e76\u9009\u62e9\u51c6\u5907\u597d\u7684\u5907\u4efdsql\u6587\u4ef6\uff0c\u6267\u884c\u3002\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528Navicat\u7b49\u7c7b\u4f3c\u8f6f\u4ef6\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image010.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u56e0\u4e3a\u6211\u7684\u535a\u5ba2\u539f\u6765\u662f\u57df\u540d\u8bbf\u95ee\u7684\uff0c\u5148\u628a\u57df\u540d\u66ff\u6362\u6210\u65b0\u7684wordpress\u5730\u5740\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image012.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u9009\u62e9\u4fee\u6539\u597d\u7684\u6587\u4ef6\uff0c\u8fdb\u884c\u6267\u884c\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image014.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image016.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<h3>\u56db\u3001webStation\u914d\u7f6ewordpress<\/h3>\n<p>\u6253\u5f00web station\uff0c\u65b0\u589e\u4e00\u4e2aphp\u811a\u672c\u8bed\u8a00\u8bbe\u7f6e\u3002\u6211\u4eec\u53d6\u540d\u4e3awordpress\uff0cphp\u7248\u672c\u9009\u62e97.4\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image018.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u5728\u6269\u5c55\u540d\u9009\u9879\u4e2d\uff0c\u5168\u9009\uff0c\u7136\u540e\u786e\u5b9a\u65b0\u589e\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image020.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u8fd9\u4e2a\u7528\u6237\u5b9a\u4e49\u7684wordpress\u811a\u672c\u8bed\u8a00\u8bbe\u7f6e\u5c31\u597d\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image022.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u65b0\u589e\u4e00\u4e2a\u7f51\u9875\u670d\u52a1\u95e8\u6237\uff0c\u9009\u62e9\u865a\u62df\u4e3b\u673a\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image024.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u9009\u62e9\u57fa\u4e8e\u7aef\u53e3\uff0c\u5e76\u8bbe\u7f6e\u81ea\u5df1\u60f3\u8981\u7684\u7aef\u53e3\u53f7\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image026.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u6587\u4ef6\u6839\u76ee\u5f55\u9009\u62e9web\u4e0b\u6211\u4eec\u89e3\u538b\u597d\u7684wordpress\u6587\u4ef6\u8ddf\u76ee\u5f55\uff0cHTTP\u540e\u7aef\u4ee3\u7406\u9009\u62e9Apache HTTP Server2.4\uff0cPHP\u9009\u62e9\u6211\u4eec\u4e0a\u4e00\u6b65\u521b\u5efa\u597d\u7684wordpress\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image028.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u865a\u62df\u4e3b\u673a\u521b\u5efa\u597d\u4e86\uff0c\u70b9\u51fb\u94fe\u63a5\u5c31\u53ef\u4ee5\u8df3\u8f6c\u5230wordpress\u4e3b\u9875\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image030.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image032.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n<p>\u5982\u679c\u9700\u8981\u8bbe\u7f6e\u5916\u7f51\u8bbf\u95ee\uff0c\u9700\u8981\u4fee\u6539\u8fd9\u4e24\u4e2a\u5730\u5740\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/04\/22\/clip_image034.png\" alt=\"\u6807\u9898: fig:\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u516b)\u3001\u5229\u7528Web Station\u8fc1\u79fbwordpress\u535a\u5ba2\u5230\u65b0\u7fa4\u6656 \u4e00\u3001\u6587\u4ef6\u5907\u4efd \u628a\u539f\u6765\u65e7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-725","post","type-post","status-publish","format-standard","hentry","category-nas-docker"],"_links":{"self":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=725"}],"version-history":[{"count":1,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/725\/revisions"}],"predecessor-version":[{"id":726,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/725\/revisions\/726"}],"wp:attachment":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=725"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}