{"id":32027,"date":"2024-11-25T10:11:32","date_gmt":"2024-11-25T02:11:32","guid":{"rendered":"https:\/\/fwq.ai\/blog\/32027\/"},"modified":"2024-11-25T10:11:32","modified_gmt":"2024-11-25T02:11:32","slug":"%e5%9c%a8aws%e4%b8%8a%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8ec2%e6%9d%a5%e6%90%ad%e5%bb%bawordpress%ef%bc%88%e5%9b%be%e6%96%87%e6%ad%a5%e9%aa%a4%ef%bc%89","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/32027\/","title":{"rendered":"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09"},"content":{"rendered":"<p>\u4e0b\u9762\u7531\u680f\u76ee\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u5982\u4f55\u5728aws\u4e0a\u5229\u7528ec2\u642d\u5efa\uff0c\u5e0c\u671b\u5bf9\u9700\u8981\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<h3>0. \u9996\u5148\uff0c\u4f60\u5f97\u6709\u4e2aAWS\u8d26\u53f7<\/h3>\n<h3>1. \u751f\u6210\u5bc6\u94a5\u5bf9<\/h3>\n<h4>(1) EC2 -&gt; \u7f51\u7edc\u4e0e\u5b89\u5168 -&gt; \u5bc6\u94a5\u5bf9 -&gt;\u521b\u5efa\u5bc6\u94a5\u5bf9 -&gt;\u4e0b\u8f7dpem\u6587\u4ef6\uff08\u79c1\u94a5\uff09<\/h4>\n<p>\u8981\u8bbf\u95eeAWS\u4e2d\u7684\u865a\u62df\u670d\u52a1\u5668\uff0c\u5ba2\u6237\u9700\u8981\u4e00\u4e2a\u7531\u79c1\u94a5\u548c\u516c\u94a5\u7ec4\u6210\u7684\u5bc6\u94a5\u5bf9\u3002<br \/>\u516c\u94a5\u4e0a\u4f20\u5230AWS\uff0c\u5e76\u914d\u7f6e\u5230\u865a\u62df\u670d\u52a1\u5668\u4e2d\uff0c\u79c1\u94a5\u662f\u5ba2\u6237\u79c1\u6709\u7684\u3002<br \/>\u8981\u8bbf\u95eeLinux\u670d\u52a1\u5668\uff0c\u4f7f\u7528SSH\u534f\u8bae\u3002\u5ba2\u6237\u5728\u767b\u9646\u65f6\u901a\u8fc7\u5bc6\u94a5\u800c\u4e0d\u662f\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<br \/><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/962\/714\/765\/1628574930588303.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe\" \/><\/p>\n<h4>(2) \u8f6c\u6362pem\u6587\u4ef6\u4e3appk\u6587\u4ef6<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/120\/491\/689\/1628574934982742.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe1\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe1\" \/><\/p>\n<h3>2. \u521b\u5efaEC2\u5b9e\u4f8b<\/h3>\n<h4>(1) \u9996\u5148\u8fdb\u5165EC2\u7684\u63a7\u5236\u9762\u677f\uff0c\u70b9\u51fb\u201c\u542f\u52a8\u5b9e\u4f8b\u201d\uff0c\u9009\u62e9Ubuntu Server 18.04 LTS (HVM), SSD Volume Type\uff0c64\u4f4d(x86)<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/915\/734\/331\/1628574939329497.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe2\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe2\" \/><\/p>\n<p>(2) \u9009\u62e9t2.micro\uff0c\u514d\u8d39\u5957\u9910<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/321\/770\/996\/1628575081767581.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe3\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe3\" \/><\/p>\n<h4>(3) \u4e0b\u4e00\u6b65\uff0c\u9ed8\u8ba4\u914d\u7f6e<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/198\/971\/975\/1628575086322236.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe4\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe4\" \/><\/p>\n<h4>(4) \u4e0b\u4e00\u6b65\uff0c\u6dfb\u52a0\u5185\u5b58\uff0c8g<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/547\/542\/484\/1628575093565183.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe5\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe5\" \/><\/p>\n<h4>(5) \u6dfb\u52a0\u6807\u7b7e\uff0c\u5373\u5b9e\u4f8b\u7684name\u7b49<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/886\/783\/248\/1628575097158381.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe6\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe6\" \/><\/p>\n<h4>(6) \u914d\u7f6e\u5b89\u5168\u7ec4,\u589e\u52a0http\uff0chttps\uff0cmysql\u7b49\u7aef\u53e3\u6620\u5c04<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/791\/534\/488\/1628575101725036.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe7\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe7\" \/><\/p>\n<h4>(7) \u5ba1\u6838\u548c\u542f\u52a8<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/407\/364\/140\/1628575105655593.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe8\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe8\" \/><\/p>\n<h4>(8) \u542f\u52a8\u540e\uff0c\u53ef\u5728\u5b9e\u4f8b\u91cc\u770b\u5230<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/994\/265\/881\/1628575110833270.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe9\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe9\" \/><\/p>\n<h3>3. \u8fdb\u5165EC2\u5b9e\u4f8b\uff0c\u5b89\u88c5\u8f6f\u4ef6<\/h3>\n<h4>(1) \u4f7f\u7528putty\u8fde\u63a5\u5230\u5b9e\u4f8b<\/h4>\n<p>\u4e3b\u673a\u540d\u79f0\u586bEC2\u7684\u516c\u6709IP\u5730\u5740\uff0c\u8fde\u63a5\u7c7b\u578bSSH\u3002\u7136\u540e\u70b9\u51fb\u83dc\u5355\u201c\u8fde\u63a5\u201d\u2014\u201cSSH\u201d\u2013\u201c\u8ba4\u8bc1\u201d\uff0c\u9009\u62e9\u521a\u624d\u8f6c\u6362\u540e\u7684PPK\u683c\u5f0f\u8ba4\u8bc1\u79c1\u94a5\u6587\u4ef6\u3002<br \/><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/581\/518\/759\/1628575116293249.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe10\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe10\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/737\/212\/436\/1628575123908632.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe11\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe11\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/125\/887\/205\/1628575127296494.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe12\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe12\" \/><\/p>\n<h4>(2) \u767b\u5165\u5e76\u8fdb\u5165root\u8d26\u6237<\/h4>\n<pre>login as: ubuntu\nsudo su\napt-get update<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(3) \u5b89\u88c5apache<\/h4>\n<pre>apt-get install apache2<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee &nbsp;http:\/\/EC2\u5b9e\u4f8b\u7684\u516c\u6709IP\u5730\u5740\uff0c\u5c31\u4f1a\u51fa\u73b0Apache\u7684\u9ed8\u8ba4\u9875\u9762\u3002<\/p>\n<h4>(4) \u5b89\u88c5php<\/h4>\n<pre>apt-get install php<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(5) \u5b89\u88c5mysql<\/h4>\n<pre>apt-get install mysql-server<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(6) \u8ba9php\u652f\u6301mysql<\/h4>\n<pre>apt-get install php-mysql<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(7) \u91cd\u542fapache<\/h4>\n<pre>service apache2 restart<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(8) \u6d4b\u8bd5PHP\uff0c\u5efa\u7acb\u4e00\u4e2a\u63a2\u9488\u6587\u4ef6<\/h4>\n<pre>vi \/var\/www\/html\/info.php\n\n&lt;?php\nphpinfo();\n?&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/\u516c\u6709ip\/info.php\uff0c\u53ef\u770b\u5230php info\u754c\u9762<br \/><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/876\/666\/507\/1628575132208788.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe13\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe13\" \/><\/p>\n<h4>(9) \u4f7f\u7528MySQL\u5ba2\u6237\u7aef\u521b\u5efaWordPress\u6570\u636e\u5e93\u548c\u4e00\u4e2a\u7528\u6237<\/h4>\n<pre>mysql -u root \n\nCREATE DATABASE wordpress\nGRANT ALL PRIVILEGES ON wordpress.* TO \"chenxin\"@\"localhost\" IDENTIFIED BY \"123456\";\nFLUSH PRIVILEGES;\n\nEXIT<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(10) \u8bbe\u7f6ewp-config.php\u6587\u4ef6<\/h4>\n<pre>wget  https:\/\/cn.wordpress.org\/wordpress-4.9.4-zh_CN.tar.gz    #\u4e0b\u8f7d\u4e2d\u6587\u7248WordPress\ntar -xzvf wordpress-4.9.4-zh_CN.tar.gz    #\u89e3\u538b\ncd wordpress\nmv wp-config-sample.php wp-config.php      #\u5c06wp-config-sample.php\u91cd\u547d\u540d\u4e3awp-config.php<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>vim wp-config.php\n\/\/\u628adatabase_name_here\uff0cusername_here\uff0cpassword_here\u5206\u522b\u66ff\u6362\u6210\u81ea\u5df1\u8bbe\u7f6e\u7684\u6570\u636e\u5e93\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\ndefine('DB_NAME', 'wordpress');\ndefine('DB_USER', 'chenxin');\ndefine('DB_PASSWORD', '123456');<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(11) \u628aWordPress\u5185\u6587\u4ef6\u590d\u5236\u5230\u9ed8\u8ba4\u7f51\u7ad9\u6839\u76ee\u5f55<\/h4>\n<pre>cp -Rv \/root\/wordpress\/* \/var\/www\/html\/ \nrm \/var\/www\/html\/index.thml\nchown -R www-data:www-data \/var\/www\/\nsystemctl restart apache2<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4>(12) \u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/\u516c\u6709IP\/wp-admin\/instal&#8230;<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/image\/711\/739\/384\/1628575138594746.png\" class=\"aligncenter\" title=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe14\" alt=\"\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u63d2\u56fe14\" \/><\/p>\n<p><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5728AWS\u4e0a\u600e\u4e48\u4f7f\u7528EC2\u6765\u642d\u5efawordpress\uff08\u56fe\u6587\u6b65\u9aa4\uff09\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u7531\u680f\u76ee\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u5982\u4f55\u5728aws\u4e0a\u5229\u7528ec2\u642d\u5efa\uff0c\u5e0c\u671b\u5bf9\u9700\u8981\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\uff01 0. \u9996\u5148\uff0c\u4f60\u5f97\u6709\u4e2aAWS\u8d26\u53f7 1. \u751f\u6210\u5bc6\u94a5\u5bf9 (1) EC2 -&gt; \u7f51\u7edc\u4e0e\u5b89\u5168 -&gt; \u5bc6\u94a5\u5bf9 -&gt;\u521b\u5efa\u5bc6\u94a5\u5bf9 -&gt;\u4e0b\u8f7dpem\u6587\u4ef6\uff08\u79c1\u94a5\uff09 \u8981\u8bbf\u95eeAWS\u4e2d\u7684\u865a\u62df\u670d\u52a1\u5668\uff0c\u5ba2\u6237\u9700\u8981\u4e00\u4e2a\u7531\u79c1\u94a5\u548c\u516c\u94a5\u7ec4\u6210\u7684\u5bc6\u94a5\u5bf9\u3002\u516c\u94a5\u4e0a\u4f20\u5230AWS\uff0c\u5e76\u914d\u7f6e\u5230\u865a\u62df\u670d\u52a1\u5668\u4e2d\uff0c\u79c1\u94a5\u662f\u5ba2\u6237\u79c1\u6709\u7684\u3002\u8981\u8bbf\u95eeLinux\u670d\u52a1\u5668\uff0c\u4f7f\u7528SSH\u534f\u8bae\u3002\u5ba2\u6237\u5728\u767b\u9646\u65f6\u901a\u8fc7\u5bc6\u94a5\u800c\u4e0d\u662f\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002 (2) \u8f6c\u6362pem\u6587\u4ef6\u4e3appk\u6587\u4ef6 2. \u521b\u5efaEC2\u5b9e\u4f8b (1) \u9996\u5148\u8fdb\u5165EC2\u7684\u63a7\u5236\u9762\u677f\uff0c\u70b9\u51fb\u201c\u542f\u52a8\u5b9e\u4f8b\u201d\uff0c\u9009\u62e9Ubuntu Server 18.04 LTS (HVM), SSD Volume Type\uff0c64\u4f4d(x86) (2) \u9009\u62e9t2.micro\uff0c\u514d\u8d39\u5957\u9910 (3) \u4e0b\u4e00\u6b65\uff0c\u9ed8\u8ba4\u914d\u7f6e (4) \u4e0b\u4e00\u6b65\uff0c\u6dfb\u52a0\u5185\u5b58\uff0c8g (5) \u6dfb\u52a0\u6807\u7b7e\uff0c\u5373\u5b9e\u4f8b\u7684name\u7b49 (6) \u914d\u7f6e\u5b89\u5168\u7ec4,\u589e\u52a0http\uff0chttps\uff0cmysql\u7b49\u7aef\u53e3\u6620\u5c04 (7) \u5ba1\u6838\u548c\u542f\u52a8 (8) \u542f\u52a8\u540e\uff0c\u53ef\u5728\u5b9e\u4f8b\u91cc\u770b\u5230 3. \u8fdb\u5165EC2\u5b9e\u4f8b\uff0c\u5b89\u88c5\u8f6f\u4ef6 (1) \u4f7f\u7528putty\u8fde\u63a5\u5230\u5b9e\u4f8b \u4e3b\u673a\u540d\u79f0\u586bEC2\u7684\u516c\u6709IP\u5730\u5740\uff0c\u8fde\u63a5\u7c7b\u578bSSH\u3002\u7136\u540e\u70b9\u51fb\u83dc\u5355\u201c\u8fde\u63a5\u201d\u2014\u201cSSH\u201d\u2013\u201c\u8ba4\u8bc1\u201d\uff0c\u9009\u62e9\u521a\u624d\u8f6c\u6362\u540e\u7684PPK\u683c\u5f0f\u8ba4\u8bc1\u79c1\u94a5\u6587\u4ef6\u3002 (2) \u767b\u5165\u5e76\u8fdb\u5165root\u8d26\u6237 login as: ubuntu sudo su apt-get update [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-32027","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/32027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=32027"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/32027\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=32027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=32027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=32027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}