{"id":18,"date":"2025-09-02T09:13:11","date_gmt":"2025-09-02T01:13:11","guid":{"rendered":"https:\/\/blog.970515.xyz\/?p=18"},"modified":"2025-09-02T09:13:11","modified_gmt":"2025-09-02T01:13:11","slug":"%e6%90%ad%e5%bb%ba%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf","status":"publish","type":"post","link":"https:\/\/blog.970515.xyz\/index.php\/2025\/09\/02\/%e6%90%ad%e5%bb%ba%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf\/","title":{"rendered":"\u642d\u5efa\u5b9d\u5854\u9762\u677f"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u51c6\u5907\u73af\u5883<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4e00\u53f0\u80fd\u8054\u7f51\u7684 VPS \/ \u670d\u52a1\u5668<\/li>\n\n\n\n<li>\u7cfb\u7edf\uff1a\u652f\u6301 <strong>CentOS \/ Ubuntu \/ Debian<\/strong><\/li>\n\n\n\n<li>\u786e\u4fdd\u670d\u52a1\u5668\u80fd\u6b63\u5e38\u8bbf\u95ee\u7f51\u7edc\uff0c\u5e76\u4e14\u80fd\u4f7f\u7528 <code>curl<\/code> \u6216 <code>wget<\/code><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5b89\u88c5\u5b9d\u5854\u9762\u677f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u66f4\u65b0\u7cfb\u7edf<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update -y &amp;&amp; sudo apt upgrade -y\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u5b89\u88c5\u5b9d\u5854\uff08\u56fd\u9645\u7248 aapanel\uff0c\u63a8\u8350\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; sudo bash install.sh\n<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4f60\u60f3\u8981\u5b89\u88c5\u56fd\u5185\u7248\u5b9d\u5854\u9762\u677f\uff0c\u53ef\u4ee5\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -O install.sh http:\/\/download.bt.cn\/install\/install-ubuntu_6.0.sh &amp;&amp; sudo bash install.sh\n<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4f1a\u63d0\u793a\u4f60\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9762\u677f\u8bbf\u95ee\u5730\u5740\uff08URL\uff09<\/li>\n\n\n\n<li>\u9762\u677f\u7528\u6237\u540d\u548c\u5bc6\u7801<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5f00\u653e\u7aef\u53e3<\/h2>\n\n\n\n<p>\u5b9d\u5854\u9762\u677f\u9ed8\u8ba4\u7aef\u53e3\u662f <strong>8888<\/strong>\uff0c\u4f60\u9700\u8981\u5728 VPS \u7684\u9632\u706b\u5899 \u548c \u4e91\u5382\u5546\u63a7\u5236\u53f0\u91cc\u653e\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow 8888\n<\/code><\/pre>\n\n\n\n<p>\u6216\u8005\u5982\u679c\u7528 iptables\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables -I INPUT -p tcp --dport 8888 -j ACCEPT\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u767b\u5f55\u9762\u677f<\/h2>\n\n\n\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;\u670d\u52a1\u5668IP:8888\n<\/code><\/pre>\n\n\n\n<p>\u8f93\u5165\u8d26\u53f7\u5bc6\u7801\uff0c\u5c31\u80fd\u8fdb\u5165\u9762\u677f\u4e86\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u540e\u7eed\u64cd\u4f5c<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u521d\u6b21\u767b\u5f55\u4f1a\u8ba9\u4f60\u9009\u62e9 <strong>LNMP \/ LAMP \u73af\u5883<\/strong>\uff0c\u53ef\u4ee5\u4e00\u952e\u5b89\u88c5<\/li>\n\n\n\n<li>\u5728\u9762\u677f\u91cc\u53ef\u4ee5\u7ba1\u7406\u7f51\u7ad9\u3001\u6570\u636e\u5e93\u3001FTP\u3001SSL \u7b49<\/li>\n\n\n\n<li>\u5efa\u8bae\u8bbe\u7f6e <strong>\u5b89\u5168\u5165\u53e3<\/strong>\uff0c\u907f\u514d\u9762\u677f\u88ab\u626b\u63cf<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u51c6\u5907\u73af\u5883 \u4e8c\u3001\u5b89\u88c5\u5b9d\u5854\u9762\u677f 1. \u66f4\u65b0\u7cfb\u7edf 2. \u5b89\u88c5\u5b9d\u5854\uff08\u56fd\u9645\u7248 aapanel\uff0c\u63a8\u8350\uff09 \u5982\u679c\u4f60\u60f3\u8981\u5b89\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":1,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":19,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions\/19"}],"wp:attachment":[{"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.970515.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}