{"id":1420,"date":"2025-12-07T02:15:00","date_gmt":"2025-12-06T18:15:00","guid":{"rendered":"https:\/\/hali.life\/?p=1420"},"modified":"2025-12-25T13:41:06","modified_gmt":"2025-12-25T05:41:06","slug":"%e3%80%90%e7%8b%ac%e7%ab%8b%e7%ab%99%e6%90%ad%e5%bb%ba%e3%80%91%e8%b7%a8%e5%a2%83%e7%94%b5%e5%95%86%e5%a6%82%e4%bd%95%e8%87%aa%e5%bb%ba%e7%94%b5%e5%95%86%e7%8b%ac%e7%ab%8b%e7%ab%99","status":"publish","type":"post","link":"https:\/\/hali.life\/?p=1420","title":{"rendered":"\u3010\u72ec\u7acb\u7ad9\u642d\u5efa\u3011\u8de8\u5883\u7535\u5546\u5982\u4f55\u81ea\u5efa\u7535\u5546\u72ec\u7acb\u7ad9"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u7b80\u4ecb<\/h1>\n\n\n\n<p>\u505a\u8de8\u5883\u7535\u5546\u72ec\u7acb\u7ad9\u662f\u907f\u4e0d\u5f00\u7684\uff0c\u81ea\u5df1\u642d\u5efa\u72ec\u7acb\u7ad9\u5bf9\u63a5PayPal\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u7684\u5356\u5bb6\u6536\u6b3e\u548c\u7ba1\u7406\u5ba2\u6237\uff0c\u5e76\u4e14\u53ef\u4ee5\u907f\u514d\u5f88\u591a\u5e73\u53f0\u5c01\u7981\u3002\u8fd9\u662f\u6211\u7684\u72ec\u7acb\u7ad9demo\uff1a <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong><a href=\"https:\/\/haliapp.org\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/haliapp.org<\/a><\/strong><\/mark>  \u5bf9\u63a5PayPal\u4ed8\u6b3e\u6709\u4e00\u4e2a\u9650\u5236\uff0c<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">\u56fd\u5185PayPal\u5356\u5bb6\uff0c\u53ea\u80fd\u6536\u5883\u5916PayPal\u8d26\u53f7\u7684\u4ed8\u6b3e\uff0c\u4e0d\u80fd\u63a5\u53d7\u540c\u4e3a\u4e2d\u56fd\u5927\u9646\u7684\u4e70\u5bb6PayPal\u4ed8\u6b3e<\/mark><\/strong>\u3002\u9488\u5bf9\u56fd\u5185\u7528\u6237\u4ed8\u6b3e\u6211\u4eec\u53ef\u4ee5\u5bf9\u63a5\u5fae\u4fe1\u652f\u4ed8\u5b9d\uff0c\u4f46\u4e0d\u5728\u672c\u671f\u6587\u7ae0\u4e2d\u8ba8\u8bba\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u76f8\u5173\u4e0b\u8f7d<\/h1>\n\n\n\n<p>\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.quark.cn\/s\/fa3aef7ea535\">https:\/\/pan.quark.cn\/s\/fa3aef7ea535<\/a><br><strong>storefront.4.6.1.zip <\/strong>=&gt; \u4e3b\u64ad\u540c\u6b3ewordpress\u4e3b\u9898\uff08\u514d\u8d39\uff09<br><strong>finalshell_install.exe <\/strong>=&gt; vps\u8fde\u63a5\u5de5\u5177<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u89c6\u9891\u6559\u7a0b<\/h1>\n\n\n\n<iframe src=\"\/\/player.bilibili.com\/player.html?bvid=BV1bG2zB6Erz&#038;page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" style=\"width:100%; height:500px; max-width: 100%\uff1balign:center; margin-left: 60px; \"> <\/iframe>\n\n\n\n<h1 class=\"wp-block-heading\">\u6559\u7a0b<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u8d2d\u4e70vps\u3001\u57df\u540d\u3001ssl\u8bc1\u4e66\uff08\u514d\u8d39\uff09<\/h2>\n\n\n\n<p>\u6d77\u5916vps\u8282\u70b9\u670d\u52a1\u5668\u8d2d\u4e70\uff1a<strong><a href=\"https:\/\/cloud.qsuyun.com\/aff\/KQXPRHCX\" target=\"_blank\" rel=\"noreferrer noopener\"><mark>\u5343\u5bbf\u79d1\u6280 100%\u72ec\u4eab\u4f4f\u5b85IP \u6d77\u5916vps<\/mark><\/a>&nbsp;<\/strong><br>\u57df\u540d\u8d2d\u4e70\uff1a <strong> <a href=\"https:\/\/cloudflare.com\" target=\"_blank\" rel=\"noreferrer noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">https:\/\/cloudflare.com<\/mark><\/a><\/strong><br>SSL\u8bc1\u4e66\uff0815\u5e74\u514d\u8d39\uff09\uff1a cloudflare \u2192 SSL\/TLS \u2192 \u6e90\u670d\u52a1\u5668 \u2192 \u521b\u5efa<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u642d\u5efaWordpres<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 \u5b89\u88c5\u73af\u5883<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install nginx mysql-server php-fpm php-mysql unzip<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 \u914d\u7f6e\u6570\u636e\u5e93<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p\n\nCREATE DATABASE myshop CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;\nCREATE USER 'shopuser'@'localhost' IDENTIFIED BY 'yourpassword';\nGRANT ALL PRIVILEGES ON myshop.* TO 'shopuser'@'localhost';\nFLUSH PRIVILEGES;\nEXIT;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3\ufe0f\u20e3 \u5b89\u88c5 WordPress<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/\nwget https:\/\/wordpress.org\/latest.zip\nunzip latest.zip\nmv wordpress myshop<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4\ufe0f\u20e3  \u914d\u7f6e SSL \u8bc1\u4e66<\/h3>\n\n\n\n<p>\u628acloudflare\u4e2d\u7533\u8bf7\u7684\u8bc1\u4e66 \u653e\u5230\u5982\u4e0b\u8def\u5f84\uff1a<br>\/etc\/ssl\/cloudflare\/cloudflare.crt<br>\/etc\/ssl\/cloudflare\/cloudflare.key<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5\ufe0f\u20e3 \u914d\u7f6e Nginx <\/h3>\n\n\n\n<p>\uff08\u5047\u8bbe\u4f60\u7684\u57df\u540d\u662f <code>haliapp.org<\/code>\uff09\u628a\u8def\u5f84\uff1a\/etc\/nginx\/nginx.conf \u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u6539\u6210\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user www-data;\nworker_processes auto;\npid \/run\/nginx.pid;\ninclude \/etc\/nginx\/modules-enabled\/*.conf;\n\nevents {\n\tworker_connections 768;\n}\n\nhttp {\n\tsendfile on;\n\ttcp_nopush on;\n\ttypes_hash_max_size 2048;\n\tinclude \/etc\/nginx\/mime.types;\n\tdefault_type application\/octet-stream;\n\tssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE\n\tssl_prefer_server_ciphers on;\n\taccess_log \/var\/log\/nginx\/access.log;\n\terror_log \/var\/log\/nginx\/error.log;\n\tgzip on;\n\tinclude \/etc\/nginx\/conf.d\/*.conf;\n\n\n\tserver {\n\t    listen 80;\n            server_name haliapp.org;\n\t    return 301 https:\/\/$host$request_uri;\n        }\n\n\tserver {\n\t    listen 443 ssl;\n            server_name haliapp.org;  # \u57df\u540d\n\n\t    client_max_body_size 64M;\n            ssl_certificate \/etc\/ssl\/cloudflare\/cloudflare.crt;\n            ssl_certificate_key \/etc\/ssl\/cloudflare\/cloudflare.key;\n            ssl_protocols TLSv1.2 TLSv1.3;\n\t    ssl_prefer_server_ciphers on;\n\t    ssl_ciphers HIGH:!aNULL:!MD5;\n\n            root \/var\/www\/wordpress;\n\t    index index.php index.html index.htm;\n\t    access_log \/var\/log\/nginx\/wordpress.access.log;\n\t    error_log \/var\/log\/nginx\/wordpress.error.log;\n\n\t    location \/ {\n\t         try_files $uri $uri\/ \/index.php?$args;\n\t    }\n\n\t    location ~ \\.php$ {\n\t         include snippets\/fastcgi-php.conf;\n\t         fastcgi_pass unix:\/run\/php\/php8.1-fpm.sock; # \u6216 php8.2-fpm.sock\n\t    }\n\n\t    location ~* \\.(js|css|png|jpg|jpeg|gif|ico|svg)$ {\n\t         expires max;\n\t         log_not_found off;\n\t    }\n\n\t    location ~ \/\\. {\n\t         deny all;\n\t    }\n\t}\n}<\/code><\/pre>\n\n\n\n<p>\u66f4\u6539\u914d\u7f6e\u6587\u4ef6\u540e\uff0c\u4f7f\u7528\u547d\u4ee4\u91cd\u542f\uff1a nginx -s reload<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6\ufe0f\u20e3 \u5b89\u88c5 WooCommerce \u5546\u57ce\u63d2\u4ef6<\/h3>\n\n\n\n<p>\u767b\u5f55 WordPress \u540e\u53f0\uff08http:\/\/\u4f60\u7684\u57df\u540d\/wp-admin\uff09 \u2192 Plugin\uff08\u63d2\u4ef6\uff09 \u2192 \u641c\u7d22 \u201cWooCommerce\u201d \u2192 \u5b89\u88c5\u542f\u7528<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7\ufe0f\u20e3 \u6dfb\u52a0\u6f02\u4eae\u7684\u4e3b\u9898<\/h3>\n\n\n\n<p>WordPress \u540e\u53f0 \u2192 Appearance\uff08\u5916\u89c2\uff09 \u2192 Themes\uff08\u4e3b\u9898\uff09 \u2192 Add Themes\uff08\u6dfb\u52a0\u4e3b\u9898\uff09\u2192 Upload Themes\uff08\u4e0a\u4f20\u4e3b\u9898\uff09\u4e0a\u4f20\u5728\u6587\u7ae0\u5f00\u5934\u6211\u63d0\u4f9b\u7684\u4e3b\u9898\u538b\u7f29\u5305\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">8\ufe0f\u20e3 \u5bf9\u63a5PayPal<\/h3>\n\n\n\n<p>WordPress \u540e\u53f0 \u2192 Plugin\uff08\u63d2\u4ef6\uff09 \u2192 \u641c\u7d22 \u201cWooCommerce PayPal Payments\u201d \u2192 \u5b89\u88c5\u542f\u7528<br>WordPress \u540e\u53f0 \u2192 Payments \u2192 PayPal \u2192 \u767b\u9646\u81ea\u5df1\u7684PayPal\u8d26\u53f7\u5373\u53ef\uff0cPayPal\u8d26\u53f7\u9700\u8981\u7533\u8bf7\u4f01\u4e1a\u8ba4\u8bc1\uff0c\u4e2d\u56fd\u8425\u4e1a\u6267\u7167\u5373\u53ef\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9\ufe0f\u20e3 \u6dfb\u52a0\u81ea\u5df1\u7684\u5546\u54c1<\/h3>\n\n\n\n<p>WordPress \u540e\u53f0 \u2192 Products\uff08\u4ea7\u54c1\uff09\u2192 Add new product\uff08\u6dfb\u52a0\u65b0\u5546\u54c1\uff09<br>WordPress \u540e\u53f0 \u2192 Products\uff08\u4ea7\u54c1\uff09\u2192 Categories\uff08\u5546\u54c1\u5206\u7c7b\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd1f\u67e5\u770b\u8ba2\u5355<\/h3>\n\n\n\n<p>WordPress \u540e\u53f0 \u2192 WooCommerce \u2192 Orders \uff08\u8ba2\u5355\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">\u5bf9\u63a5\u652f\u4ed8\u5b9d\uff08\u56fd\u5185\u6536\u6b3e\uff09<\/h1>\n\n\n\n<p>WordPress\u63d2\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Wenprise Alipay Payment Gateway For WooCommerce<\/code><\/pre>\n\n\n\n<p>\u652f\u4ed8\u5b9d\u5f00\u653e\u5e73\u53f0\uff1a<a href=\"https:\/\/auth.alipay.com\/\">https:\/\/open.alipay.com\/<\/a><\/p>\n\n\n\n<p>\u652f\u4ed8\u5b9d\u5bc6\u94a5\u751f\u6210\u5de5\u5177\uff1a<a href=\"https:\/\/pan.quark.cn\/s\/4b23bc58b2e3\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\u5bc6\u94a5\u5de5\u5177\u4e0b\u8f7d<\/mark><\/strong><\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5bf9\u63a5\u5fae\u4fe1 \uff08\u56fd\u5185\u6536\u6b3e\uff09<\/h1>\n\n\n\n<p>WordPress\u63d2\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Wenprise WeChatPay Payment Gateway For WooCommerce<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb \u505a\u8de8\u5883\u7535\u5546\u72ec\u7acb\u7ad9\u662f\u907f\u4e0d\u5f00\u7684\uff0c\u81ea\u5df1\u642d\u5efa\u72ec\u7acb\u7ad9\u5bf9\u63a5PayPal\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u7684\u5356\u5bb6\u6536\u6b3e\u548c\u7ba1\u7406\u5ba2\u6237\uff0c\u5e76\u4e14\u53ef\u4ee5\u907f\u514d&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1425,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"views":6721,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1420"}],"version-history":[{"count":12,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions"}],"predecessor-version":[{"id":1460,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions\/1460"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/media\/1425"}],"wp:attachment":[{"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}