{"id":6776,"date":"2020-04-19T17:53:40","date_gmt":"2020-04-19T09:53:40","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=6776"},"modified":"2020-04-19T17:53:40","modified_gmt":"2020-04-19T09:53:40","slug":"v2","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/skill\/v2.html","title":{"rendered":"\u56fd\u5185\u670d\u52a1\u5668WordPress\u5bfc\u5165\u4e3b\u9898Demo\u6570\u636e\u5931\u8d25\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"<p>\u4eca\u5929\u5976\u7238\u5728\u7ed9\u4e00\u53f0\u56fd\u5185\u670d\u52a1\u5668\u5bfc\u5165<a href=\"https:\/\/blog.naibabiji.com\/astra-theme\">Astra\u4e3b\u9898<\/a>\u7684Demo\u6f14\u793a\u6570\u636e\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\uff0c\u5bfc\u5165\u4e86\u5f88\u591a\u6b21\u90fd\u6ca1\u80fd\u6210\u529f\u3002\u666e\u901a\u60c5\u51b5\uff0c\u6211\u4eec\u56fd\u5185\u670d\u52a1\u5668\u5b89\u88c5\u597d\u4e86\u518d\u4f7f\u7528kill 429\u6216\u8005wp china yes\u8fd9\u4e24\u4e2a\u63d2\u4ef6\u5c31\u53ef\u4ee5\u5b9e\u73b0\u9488\u5bf9wordpress.org\u7f51\u7ad9\u7684\u63d0\u901f\uff0c\u53ef\u4ee5\u5b89\u88c5\u548c\u66f4\u65b0\u63d2\u4ef6\u3002<\/p>\n<p>\u4f46\u662f\u9488\u5bf9\u8fd9\u79cd\u7279\u5b9a\u63d2\u4ef6\u548c\u4e3b\u9898\u7684\u6570\u636e\uff0c\u90fd\u4e0d\u662f\u8bf7\u6c42\u7684WordPress\u5b98\u7f51\u6570\u636e\uff0c\u800c\u662f\u63d2\u4ef6\u548c\u4e3b\u9898\u81ea\u5df1\u7684\u7f51\u7ad9\uff0c\u56fd\u5185\u670d\u52a1\u5668\u5c31\u5f88\u5bb9\u6613\u51fa\u73b0\u7f51\u7edc\u4e0d\u597d\u7684\u60c5\u51b5\u5b89\u88c5\u548c\u5bfc\u5165\u5931\u8d25\u3002<\/p>\n<p><strong>\u60f3\u8981\u89e3\u51b3\u7684\u8bdd\u6709\u4e24\u79cd\u529e\u6cd5\uff1a<\/strong><\/p>\n<ol>\n<li>\u7528\u56fd\u5916\u670d\u52a1\u5668\u8c03\u8bd5\u597d\u7f51\u7ad9\u6570\u636e\u540e\uff0c\u5907\u4efd\u6570\u636e\u6062\u590d\u5230\u56fd\u5185\u670d\u52a1\u5668\uff1b<\/li>\n<li>\u7ed9\u56fd\u5185\u670d\u52a1\u5668\u4e0a\u7684WordPress\u8bbe\u7f6e\u4e00\u4e2a\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u52a0\u901f\u56fd\u5916\u7f51\u7ad9\u8bf7\u6c42\u3002<\/li>\n<\/ol>\n<p>\u5976\u7238\u8fd9\u91cc\u4f7f\u7528\u7684\u65b9\u6cd5\u662f\u7b2c\u4e8c\u79cd\uff0c\u4f7f\u7528v2ra\u03c8\u4f5c\u4e3a\u4ee3\u7406\u8bbf\u95ee\u3002<\/p>\n<p><strong>\u5177\u4f53\u65b9\u6cd5\u5982\u4e0b\uff1a<\/strong><\/p>\n<p>1\u3001\u8d2d\u4e70\u4e00\u53f0\u56fd\u5185\u670d\u52a1\u5668\u8bbf\u95ee\u901f\u5ea6\u8fd8\u53ef\u4ee5\u7684<a href=\"https:\/\/blog.naibabiji.com\/bestvps\">\u56fd\u5916\u670d\u52a1\u5668<\/a><\/p>\n<p>\u4f60\u53ef\u4ee5\u7528\u81ea\u5df1\u7684\u670d\u52a1\u5668ping\u56fd\u5916\u670d\u52a1\u5668\uff0c\u770bping\u503c\u5927\u5c0f\uff0c\u4e00\u822c\u8d85\u8fc7\u4e86250ms\u7684\u7ebf\u8def\uff0c\u53ef\u80fd\u4f7f\u7528\u8d77\u6765\u4e5f\u6bd4\u8f83\u5361\u3002<\/p>\n<p>2\u3001\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5v2ra\u03c8<\/p>\n<pre>bash &lt;(curl -L -s https:\/\/install.direct\/go.sh)<\/pre>\n<p>\u5b89\u88c5\u597d\u4e86\u4e4b\u540e\uff0c\u6253\u5f00\/etc\/v2ra\u03c8\/config.json\u8fd9\u4e2a\u7f16\u8f91\u6587\u4ef6\uff0c\u8bb0\u5f55\u4e0b\u91cc\u9762\u7684\uff1a<\/p>\n<ul>\n<li>port\u7aef\u53e3\u503c<\/li>\n<li>uuid\u503c<\/li>\n<\/ul>\n<p>3\u3001\u56fd\u5185\u670d\u52a1\u5668\u5b89\u88c5v2ra\u03c8<\/p>\n<p>\u65b9\u6cd5\u548c\u4e0a\u9762\u4ee3\u7801\u4e00\u6837\uff0c\u4e0d\u8fc7\u53ef\u80fd\u4e0b\u8f7d\u6bd4\u8f83\u6162\uff0c\u53ef\u4ee5\u53c2\u8003\u6b64\u6587<a href=\"https:\/\/blog.naibabiji.com\/skill\/github.html\">\u52a0\u901fGithub<\/a>\u3002<\/p>\n<p>4\u3001\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\/etc\/v2ra\u03c8\/config.json<\/p>\n<p>\u5220\u9664\u914d\u7f6e\u6587\u4ef6\u9ed8\u8ba4\u5185\u5bb9\uff0c\u7c98\u8d34\u4e0b\u9762\u7684\u5185\u5bb9\uff0c\u7136\u540e\u4fee\u6539\u4e2d\u6587\u89e3\u91ca\u7684\u90e8\u5206\u3002<\/p>\n<pre>{\r\n    \"log\": {\r\n        \"loglevel\": \"warning\"\r\n    },\r\n    \"inbound\": {\r\n        \"listen\": \"127.0.0.1\",\r\n        \"port\": 8080,\r\n        \"protocol\": \"http\",\r\n        \"settings\": {\r\n            \"allowTransparent\": false,\r\n            \"userLevel\": 1\r\n        }\r\n    },\r\n    \"outbound\": {\r\n        \"protocol\": \"vmess\",\r\n        \"settings\": {\r\n            \"vnext\": [\r\n                {\r\n                    \"address\": \"168.168.168.168\u8fd9\u91cc\u6539\u6210\u4ee3\u7406\u7f51\u7ad9IP\",\r\n                    \"port\": 8888\u8fd9\u91cc\u6539\u6210\u4ee3\u7406\u7f51\u7ad9\u7aef\u53e3,\r\n                    \"users\": [\r\n                        {\r\n                            \"id\": \"c503b067-e78f-b037-1ac7-7b369103ec9f\u8fd9\u91cc\u6539\u6210\u4ee3\u7406\u7f51\u7ad9\u7684uuid\",\r\n                            \"level\": 1,\r\n                            \"alterId\": 64\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    },\r\n    \"outboundDetour\": [\r\n        {\r\n            \"protocol\": \"freedom\",\r\n            \"settings\": {},\r\n            \"tag\": \"direct\"\r\n        }\r\n    ],\r\n    \"routing\": {\r\n        \"strategy\": \"rules\",\r\n        \"settings\": {\r\n            \"rules\": [\r\n                {\r\n                    \"type\": \"field\",\r\n                    \"port\": \"54-79\",\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"field\",\r\n                    \"port\": \"81-442\",\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"field\",\r\n                    \"port\": \"444-65535\",\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"field\",\r\n                    \"domain\": [\r\n                        \"gc.kis.scr.kaspersky-labs.com\"\r\n                    ],\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"chinasites\",\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"field\",\r\n                    \"ip\": [\r\n                        \"0.0.0.0\/8\",\r\n                        \"10.0.0.0\/8\",\r\n                        \"100.64.0.0\/10\",\r\n                        \"127.0.0.0\/8\",\r\n                        \"169.254.0.0\/16\",\r\n                        \"172.16.0.0\/12\",\r\n                        \"192.0.0.0\/24\",\r\n                        \"192.0.2.0\/24\",\r\n                        \"192.168.0.0\/16\",\r\n                        \"198.18.0.0\/15\",\r\n                        \"198.51.100.0\/24\",\r\n                        \"203.0.113.0\/24\",\r\n                        \"::1\/128\",\r\n                        \"fc00::\/7\",\r\n                        \"fe80::\/10\"\r\n                    ],\r\n                    \"outboundTag\": \"direct\"\r\n                },\r\n                {\r\n                    \"type\": \"chinaip\",\r\n                    \"outboundTag\": \"direct\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}<\/pre>\n<p>\u914d\u7f6e\u597d\u4e4b\u540esystemctl restart\u91cd\u542fv2ra\u03c8\u670d\u52a1\uff0c\u4e0d\u4f1a\u7684\u8bdd\u76f4\u63a5\u91cd\u542f\u670d\u52a1\u5668\u3002<\/p>\n<p>5\u3001\u7f16\u8f91WordPress\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u6dfb\u52a0\u4e0a\u4ee3\u7406\u914d\u7f6e\u4fe1\u606f\u3002<\/p>\n<pre>\/** \u4ee3\u7406 *\/\r\ndefine('WP_PROXY_HOST', '127.0.0.1');\r\ndefine('WP_PROXY_PORT', '8080');\r\ndefine('WP_PROXY_BYPASS_HOSTS', 'localhost, *.wordpress.org');<\/pre>\n<p>\u628aWordPress\u9700\u8981\u8bbf\u95ee\u7684\u56fd\u5916\u7f51\u5740\u6dfb\u52a0\u5230\u4e0a\u9762\u7b2c\u4e09\u884c\u4f4d\u7f6e\uff0c\u4fdd\u5b58\u540e\u4e0a\u4f20\u8986\u76d6\u3002<\/p>\n<p>\u7136\u540e\u53bbWordPress\u540e\u53f0\u6d4b\u8bd5\u4e0b\u6548\u679c\u5427\uff0c\u4e4b\u524d\u65e0\u6cd5\u6b63\u5e38\u52a0\u8f7d\u7684\u63d2\u4ef6\u8d44\u6e90\u90fd\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u4e86\u3002<\/p>\n<p>\u53c2\u8003\u8d44\u6599\uff1ahttps:\/\/s5s5.me\/3721<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;6776&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;17&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;2.2&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;2.2\\\/5 - (17 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u56fd\u5185\u670d\u52a1\u5668WordPress\u5bfc\u5165\u4e3b\u9898Demo\u6570\u636e\u5931\u8d25\u7684\u89e3\u51b3\u65b9\u6cd5&quot;,&quot;width&quot;:&quot;59.6&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 59.6px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            2.2\/5 - (17 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u5976\u7238\u5728\u7ed9\u4e00\u53f0\u56fd\u5185\u670d\u52a1\u5668\u5bfc\u5165Astra\u4e3b\u9898\u7684Demo\u6f14\u793a\u6570\u636e\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\uff0c\u5bfc\u5165\u4e86\u5f88\u591a\u6b21\u90fd\u6ca1\u80fd\u6210\u529f\u3002\u666e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6777,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u56fd\u5185\u670d\u52a1\u5668WordPress\u5bfc\u5165\u4e3b\u9898Demo\u6570\u636e\u5931\u8d25\u7684\u89e3\u51b3\u65b9\u6cd5 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u4eca\u5929\u5976\u7238\u5728\u7ed9\u4e00\u53f0\u56fd\u5185\u670d\u52a1\u5668\u5bfc\u5165 Astra\u4e3b\u9898 \u7684Demo\u6f14\u793a\u6570\u636e\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\uff0c\u5bfc\u5165\u4e86\u5f88\u591a\u6b21\u90fd\u6ca1\u80fd\u6210\u529f\u3002\u666e\u901a\u60c5\u51b5\uff0c\u6211\u4eec\u56fd\u5185\u670d\u52a1\u5668\u5b89\u88c5\u597d\u4e86\u518d\u4f7f\u7528kill 429\u6216\u8005wp china yes\u8fd9\u4e24\u4e2a\u63d2\u4ef6\u5c31\u53ef\u4ee5\u5b9e\u73b0\u9488\u5bf9wordpress.org\u7f51\u7ad9\u7684\u63d0\u901f\uff0c\u53ef\u4ee5\u5b89\u88c5\u548c\u66f4\u65b0\u63d2\u4ef6\u3002 \u4f46\u662f\u9488\u5bf9\u8fd9\u79cd\u7279\u5b9a\u63d2\u4ef6\u548c\u4e3b\u9898\u7684\u6570\u636e\uff0c\u90fd\u4e0d\u662f\u8bf7"},"footnotes":""},"categories":[142],"tags":[],"class_list":["post-6776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/6776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=6776"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/6776\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/6777"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=6776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=6776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=6776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}