{"id":24948,"date":"2025-04-19T11:21:47","date_gmt":"2025-04-19T03:21:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/24948.html"},"modified":"2025-04-19T11:21:47","modified_gmt":"2025-04-19T03:21:47","slug":"%e5%bb%ba%e7%ab%99%ef%bc%9f%e6%b8%b8%e6%88%8f%ef%bc%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%8c%91%e9%80%89%e4%b8%8e%e5%bb%ba%e7%ab%99%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/24948.html","title":{"rendered":"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b"},"content":{"rendered":"<h3>\u670d\u52a1\u5668\u7684\u6311\u9009\u63a8\u8350<\/h3>\n<h3>\u4e00\u3001\u96e8\u4e91\u670d\u52a1\u5668\u6838\u5fc3\u4f18\u52bf\u4e0e\u9002\u7528\u573a\u666f<\/h3>\n<h4>1.1 \u4ea7\u54c1\u7279\u6027\u4e0e\u7ade\u4e89\u4f18\u52bf<\/h4>\n<p>\u96e8\u4e91\u670d\u52a1\u5668&#xff08;Rainyun Cloud Service&#xff09;\u4ee5\u9ad8\u6027\u4ef7\u6bd4\u548c\u7075\u6d3b\u914d\u7f6e\u8457\u79f0&#xff0c;\u5176\u6838\u5fc3\u4f18\u52bf\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u591a\u533a\u57df\u90e8\u7f72&#xff1a;\u8986\u76d6\u4e2d\u56fd\u5bbf\u8fc1&#xff08;\u9ad8\u9632&#xff09;\u3001\u9999\u6e2f&#xff08;\u4f4e\u5ef6\u8fdf&#xff09;\u3001\u7f8e\u56fd\u6d1b\u6749\u77f6&#xff08;\u5927\u5e26\u5bbd&#xff09;\u7b49\u533a\u57df&#xff0c;\u6ee1\u8db3\u5907\u6848\u4e0e\u514d\u5907\u6848\u9700\u6c42310&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b89\u5168\u9632\u62a4&#xff1a;\u5168\u7cfb\u4ea7\u54c1\u6807\u914dDDoS\u9632\u5fa1&#xff08;\u5bbf\u8fc1\u533a\u8fbe100Gbps&#xff09;\u4e0eCC\u9632\u706b\u5899&#xff0c;\u653b\u51fb\u81ea\u52a8\u89e6\u53d1\u9632\u5fa1\u673a\u5236310&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5f39\u6027\u6269\u5c55&#xff1a;\u652f\u6301\u6309\u9700\u5347\u7ea7\u914d\u7f6e&#xff0c;\u865a\u62df\u4e3b\u673a\u53ef1\u5206\u949f\u5185\u5b8c\u6210\u5957\u9910\u5347\u7ea710&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6210\u672c\u4f18\u52bf&#xff1a;\u4ef7\u683c\u4f4e\u4e8e\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7b49\u540c\u914d\u7f6e\u4ea7\u54c1&#xff0c;\u65b0\u7528\u6237\u9996\u67085\u6298&#xff0c;\u79ef\u5206\u5151\u6362\u53ef\u83b7\u514d\u8d39\u8d44\u6e9018\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>1.2 \u9002\u7528\u573a\u666f\u5206\u6790<\/h4>\n<ul>\n<li>\n<p>\u4e2a\u4eba\u5f00\u53d1\u8005&#xff1a;\u9002\u5408\u642d\u5efa\u535a\u5ba2\u3001\u4f5c\u54c1\u96c6\u3001\u5c0f\u578b\u5de5\u5177\u7ad9&#xff0c;\u63a8\u8350\u4f7f\u7528\u865a\u62df\u4e3b\u673a\u6216\u5165\u95e8\u7ea7\u4e91\u670d\u52a1\u5668&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f01\u4e1a\u7528\u6237&#xff1a;\u5bbf\u8fc1\u533a\u670d\u52a1\u5668\u9002\u5408\u56fd\u5185\u9ad8\u9632\u9700\u6c42&#xff0c;\u9999\u6e2f\u533a\u9002\u5408\u8de8\u5883\u7535\u5546\u7b49\u514d\u5907\u6848\u4e1a\u52a1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6e38\u620f\u4e0e\u793e\u533a&#xff1a;\u901a\u8fc7\u9762\u677f\u670d\u5feb\u901f\u642d\u5efaMinecraft\u670d\u52a1\u5668&#xff0c;\u652f\u6301Forge\u6a21\u7ec4\u4e0eBukkit\u63d2\u4ef6814\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e8c\u3001\u670d\u52a1\u5668\u9009\u8d2d\u4e0e\u914d\u7f6e\u6307\u5357<\/h3>\n<h4>2.1 \u533a\u57df\u9009\u62e9\u7b56\u7565<\/h4>\n<table>\n<tr>\u533a\u57df\u5ef6\u8fdf\u5e26\u5bbd\u9632\u5fa1\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u4e2d\u56fd\u5bbf\u8fc1<\/td>\n<td>\u6700\u4f4e<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u6700\u9ad8<\/td>\n<td>\u56fd\u5185\u9ad8\u9632\u4f01\u4e1a\u7ad9&#xff08;\u9700\u5907\u6848&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u56fd\u9999\u6e2f<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u8f83\u4f4e<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u514d\u5907\u6848\u4f4e\u5ef6\u8fdf\u5c55\u793a\u7ad9<\/td>\n<\/tr>\n<tr>\n<td>\u7f8e\u56fd\u6d1b\u6749\u77f61\u533a<\/td>\n<td>\u8f83\u9ad8<\/td>\n<td>\u6700\u5927<\/td>\n<td>\u8f83\u4f4e<\/td>\n<td>\u5927\u6d41\u91cf\u4e0b\u8f7d\u7ad9\/\u8d44\u6e90\u5206\u53d1<\/td>\n<\/tr>\n<tr>\n<td>\u7f8e\u56fd\u6d1b\u6749\u77f62\u533a<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u8f83\u9ad8<\/td>\n<td>\u514d\u5907\u6848\u7efc\u5408\u4e1a\u52a1&#xff08;\u63a8\u8350&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8&#xff1a;\u865a\u62df\u4e3b\u673a\u4ec5\u652f\u6301\u9999\u6e2f\u3001\u5bbf\u8fc1\u3001\u6d1b\u6749\u77f61\u533a&#xff0c;\u4e91\u670d\u52a1\u5668\u652f\u6301\u5168\u533a\u57df10\u3002<\/p>\n<h4>2.2 \u914d\u7f6e\u63a8\u8350\u4e0e\u6210\u672c\u4f18\u5316<\/h4>\n<ul>\n<li>\n<p>\u5165\u95e8\u7ea7\u5efa\u7ad9\u65b9\u6848 \u865a\u62df\u4e3b\u673a&#xff08;\u5b9d\u5854\u9762\u677f&#xff09;1\u68381G\u914d\u7f6e&#xff0c;\u5e74\u4ed8\u7ea6120\u5143&#xff0c;\u542b\u514d\u8d39\u4e8c\u7ea7\u57df\u540d\u4e0eSSL\u8bc1\u4e6610&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9ad8\u6027\u80fd\u65b9\u6848 \u4e91\u670d\u52a1\u5668&#xff08;\u9999\u6e2fCN2\u7ebf\u8def&#xff09;2\u68384G&#xff0c;\u52a8\u6001\u8ba1\u8d390.2\u5143\/\u5c0f\u65f6&#xff0c;\u9002\u5408\u6d41\u91cf\u6ce2\u52a8\u4e1a\u52a1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f18\u60e0\u83b7\u53d6\u6280\u5de7<\/p>\n<li>\n<p>\u6ce8\u518c\u65f6\u4f7f\u7528\u4f18\u60e0\u7801&#xff08;\u5982ryy&#xff09;\u83b75\u6298\u523810&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u53c2\u4e0e\u79ef\u5206\u4efb\u52a1\u5151\u6362\u514d\u8d39\u8d44\u6e90&#xff08;\u6bcf\u65e5\u7b7e\u5230&#043;\u4efb\u52a1\u53ef\u83b7200\u79ef\u5206&#xff09;1\u3002<\/p>\n<\/li>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u3001\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u4e0e\u9762\u677f\u914d\u7f6e<\/h3>\n<h4>3.1 \u7cfb\u7edf\u9009\u62e9\u4e0e\u521d\u59cb\u5316<\/h4>\n<ul>\n<li>\n<p>\u63a8\u8350\u7cfb\u7edf&#xff1a;Ubuntu 20.04&#xff08;\u517c\u5bb9\u6027\u6700\u4f73&#xff0c;\u5b9d\u5854\u9762\u677f\u6682\u4e0d\u652f\u630122.04&#xff09;12&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8fde\u63a5\u65b9\u5f0f&#xff1a;<\/p>\n<li>\n<p>\u901a\u8fc7Xtermjs\u6a21\u5f0f\u76f4\u63a5\u767b\u5f55\u7ec8\u7aef&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528FinalShell\u6216PuTTY\u8fdb\u884cSSH\u8fde\u63a51\u3002<\/p>\n<\/li>\n<\/li>\n<\/ul>\n<h4>3.2 \u9762\u677f\u5b89\u88c5\u4e0e\u914d\u7f6e<\/h4>\n<h5>\u65b9\u6848\u4e00&#xff1a;\u5b9d\u5854\u9762\u677f&#xff08;\u9002\u5408\u65b0\u624b&#xff09;<\/h5>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p># \u5b89\u88c5\u547d\u4ee4&#xff08;Ubuntu&#xff09;<br \/>\nwget -O install.sh https:\/\/download.bt.cn\/install\/install-ubuntu_6.0.sh &amp;&amp; sudo bash install.sh ed8484bec <\/p>\n<ul>\n<li>\n<p>\u914d\u7f6e\u8981\u70b9&#xff1a;<\/p>\n<li>\n<p>\u5b89\u88c5\u540e\u8bb0\u5f55\u5916\u7f51\u9762\u677f\u5730\u5740\u53ca\u8d26\u53f7\u5bc6\u7801&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9LNMP\u73af\u5883&#xff08;Nginx&#043;MySQL&#043;PHP&#xff09;&#xff0c;\u63a8\u8350\u7f16\u8bd1\u5b89\u88c5\u63d0\u5347\u6027\u80fd13\u3002<\/p>\n<\/li>\n<\/li>\n<\/ul>\n<h5>\u65b9\u6848\u4e8c&#xff1a;1Panel&#xff08;\u8f7b\u91cf\u5b89\u5168&#xff09;<\/h5>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p># \u4e00\u952e\u5b89\u88c5\u811a\u672c<br \/>\ncurl -sSL https:\/\/resource.fit2cloud.com\/1panel\/package\/quick_start.sh -o quick_start.sh &amp;&amp; sh quick_start.sh <\/p>\n<ul>\n<li>\n<p>\u4f18\u52bf&#xff1a;\u65e0\u540e\u95e8\u98ce\u9669&#xff0c;\u96c6\u6210OpenResty\u4e0e\u81ea\u52a8\u5316HTTPS6\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u7f51\u7ad9\u90e8\u7f72\u5b9e\u6218&#xff1a;\u4ee5WordPress\u4e3a\u4f8b<\/h3>\n<h4>4.1 \u4e00\u952e\u90e8\u7f72\u6d41\u7a0b<\/h4>\n<li>\n<p>\u57df\u540d\u7ed1\u5b9a&#xff1a;\u5728\u5b9d\u5854\u9762\u677f\u201c\u7f51\u7ad9\u201d\u6a21\u5757\u6dfb\u52a0\u7ad9\u70b9&#xff0c;\u89e3\u6790\u514d\u8d39\u4e8c\u7ea7\u57df\u540d&#xff08;\u5982example.rainyun.cn&#xff09;10&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5e94\u7528\u5b89\u88c5&#xff1a;\u8fdb\u5165\u201c\u8f6f\u4ef6\u5546\u5e97\u201d\u2192\u201c\u4e00\u952e\u90e8\u7f72\u201d&#xff0c;\u9009\u62e9WordPress\u5e76\u914d\u7f6e\u6570\u636e\u5e93&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u521d\u59cb\u5316\u8bbe\u7f6e&#xff1a;\u8bbf\u95ee\u57df\u540d\u5b8c\u6210\u8bed\u8a00\u9009\u62e9\u3001\u7ba1\u7406\u5458\u8d26\u53f7\u521b\u5efa&#xff0c;\u8017\u65f6\u7ea65\u5206\u949f10\u3002<\/p>\n<\/li>\n<h4>4.2 \u624b\u52a8\u90e8\u7f72\u8fdb\u9636\u6559\u7a0b<\/h4>\n<li>\n<p>\u6587\u4ef6\u4e0a\u4f20&#xff1a;\u4eceWordPress\u5b98\u7f51\u4e0b\u8f7d\u538b\u7f29\u5305&#xff0c;\u901a\u8fc7\u5b9d\u5854\u6587\u4ef6\u7ba1\u7406\u5668\u4e0a\u4f20\u81f3\/www\/wwwroot\u5e76\u89e3\u538b&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u5e93\u521b\u5efa&#xff1a;\u5728\u5b9d\u5854\u9762\u677f\u65b0\u5efaMySQL\u6570\u636e\u5e93&#xff0c;\u8bb0\u5f55\u7528\u6237\u540d\u3001\u5bc6\u7801\u3001\u6570\u636e\u5e93\u540d&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6ewp-config.php&#xff1a;\u4fee\u6539\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f&#xff1a;<\/p>\n<\/li>\n<p>php<\/p>\n<p>\u590d\u5236<\/p>\n<p>define(&#039;DB_NAME&#039;, &#039;database_name&#039;);<br \/>\ndefine(&#039;DB_USER&#039;, &#039;database_user&#039;);<br \/>\ndefine(&#039;DB_PASSWORD&#039;, &#039;database_password&#039;); <\/p>\n<li>\n<p>\u6743\u9650\u8bbe\u7f6e&#xff1a;\u5c06\u7f51\u7ad9\u76ee\u5f55\u6743\u9650\u8bbe\u4e3a755&#xff0c;\u7528\u6237\u7ec4\u4e3awww10\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u4e94\u3001\u7f51\u7ad9\u6df1\u5ea6\u5b9a\u5236\u4e0e\u4f18\u5316<\/h3>\n<h4>5.1 \u4e3b\u9898\u4e0e\u63d2\u4ef6\u7ba1\u7406<\/h4>\n<ul>\n<li>\n<p>\u4e3b\u9898\u63a8\u8350&#xff1a;<\/p>\n<ul>\n<li>\n<p>Astra&#xff1a;\u8f7b\u91cf\u7ea7&#xff08;&lt;50KB&#xff09;&#xff0c;\u517c\u5bb9Elementor\u9875\u9762\u6784\u5efa\u5668&#xff1b;<\/p>\n<\/li>\n<li>\n<p>GeneratePress&#xff1a;SEO\u53cb\u597d&#xff0c;\u52a0\u8f7d\u901f\u5ea6\u4f18\u5f02&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5fc5\u5907\u63d2\u4ef6&#xff1a;<\/p>\n<ul>\n<li>\n<p>Yoast SEO&#xff1a;\u4f18\u5316\u641c\u7d22\u5f15\u64ce\u6392\u540d&#xff1b;<\/p>\n<\/li>\n<li>\n<p>W3 Total Cache&#xff1a;\u964d\u4f4e\u670d\u52a1\u5668\u8d1f\u8f7d&#xff0c;\u63d0\u901f30%10\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>5.2 \u5b89\u5168\u52a0\u56fa\u63aa\u65bd<\/h4>\n<li>\n<p>\u9632\u706b\u5899\u89c4\u5219&#xff1a;\u5728\u5b9d\u5854\u9762\u677f\u653e\u884c\u5fc5\u8981\u7aef\u53e3&#xff08;\u5982HTTP 80\/HTTPS 443&#xff09;&#xff0c;\u5c4f\u853d\u975e\u5e38\u7528\u7aef\u53e3&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b9a\u671f\u5907\u4efd&#xff1a;\u542f\u7528\u96e8\u4e91\u865a\u62df\u4e3b\u673a\u7684\u81ea\u52a8\u5907\u4efd\u529f\u80fd&#xff0c;\u540c\u6b65\u81f3\u5bf9\u8c61\u5b58\u50a810&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9632\u66b4\u529b\u7834\u89e3&#xff1a;\u5b89\u88c5Fail2Ban\u63d2\u4ef6&#xff0c;\u9650\u5236SSH\u767b\u5f55\u5c1d\u8bd5\u6b21\u65706\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u516d\u3001\u9ad8\u9636\u5e94\u7528&#xff1a;Docker\u5bb9\u5668\u5316\u90e8\u7f72<\/h3>\n<h4>6.1 \u4e2a\u4eba\u4e3b\u9875\u642d\u5efa\u6848\u4f8b<\/h4>\n<li>\n<p>\u9879\u76ee\u6784\u5efa&#xff1a;\u4eceGitHub\u514b\u9686\u6e90\u7801&#xff0c;\u4f7f\u7528Dockerfile\u6784\u5efa\u955c\u50cf&#xff1a;<\/p>\n<\/li>\n<p>dockerfile<\/p>\n<p>\u590d\u5236<\/p>\n<p>FROM node:16<br \/>\nWORKDIR \/app<br \/>\nCOPY package*.json .\/<br \/>\nRUN npm install<br \/>\nCOPY . .<br \/>\nEXPOSE 12445<br \/>\nCMD [&#034;npm&#034;, &#034;start&#034;] <\/p>\n<li>\n<p>\u5bb9\u5668\u542f\u52a8&#xff1a;<\/p>\n<\/li>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p>docker build -t home .<br \/>\ndocker run -p 12445:12445 -d home <\/p>\n<li>\n<p>\u81ea\u5b9a\u4e49\u4fee\u6539&#xff1a;\u7f16\u8f91.env\u6587\u4ef6\u914d\u7f6eAPI\u5bc6\u94a5&#xff0c;\u66ff\u6362public\/images\u76ee\u5f55\u4e0b\u7684\u58c1\u7eb8\u4e0e\u56fe\u680712\u3002<\/p>\n<\/li>\n<h4>6.2 \u6027\u80fd\u8c03\u4f18\u6280\u5de7<\/h4>\n<ul>\n<li>\n<p>\u8d44\u6e90\u9650\u5236&#xff1a;\u901a\u8fc7-Xms\u548c-XX:MaxRAMPercentage\u53c2\u6570\u63a7\u5236JVM\u5185\u5b58\u5360\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u7f51\u7edc\u4f18\u5316&#xff1a;\u542f\u7528Nginx\u7684Gzip\u538b\u7f29\u4e0eHTTP\/2\u534f\u8bae&#xff0c;\u51cf\u5c11\u9996\u5c4f\u52a0\u8f7d\u65f6\u95f4114\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<h4>7.1 \u5efa\u7ad9\u7c7b\u95ee\u9898<\/h4>\n<ul>\n<li>\n<p>Q&#xff1a;\u7f51\u7ad9\u8bbf\u95ee\u663e\u793a\u201c\u5efa\u7acb\u6570\u636e\u5e93\u8fde\u63a5\u9519\u8bef\u201d A&#xff1a;\u68c0\u67e5wp-config.php\u4e2d\u7684\u6570\u636e\u5e93\u4fe1\u606f&#xff0c;\u786e\u4fddMySQL\u670d\u52a1\u6b63\u5e38\u8fd0\u884c10&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Q&#xff1a;HTTPS\u8bc1\u4e66\u7533\u8bf7\u5931\u8d25 A&#xff1a;\u57281Panel\u4e2d\u91cd\u65b0\u914d\u7f6eACME\u8d26\u6237&#xff0c;\u786e\u4fdd\u57df\u540d\u89e3\u6790\u751f\u65486\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>7.2 \u670d\u52a1\u5668\u8fd0\u7ef4\u95ee\u9898<\/h4>\n<ul>\n<li>\n<p>Q&#xff1a;CPU\u5360\u7528\u7387\u6301\u7eed\u8fc7\u9ad8 A&#xff1a;\u4f7f\u7528top\u547d\u4ee4\u6392\u67e5\u8fdb\u7a0b&#xff0c;\u4f18\u5316MySQL\u6162\u67e5\u8be2\u6216\u7981\u7528\u5197\u4f59\u63d2\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Q&#xff1a;\u906d\u9047CC\u653b\u51fb A&#xff1a;\u542f\u7528\u96e8\u4e91\u865a\u62df\u4e3b\u673a\u7684CC\u9632\u706b\u5899&#xff0c;\u8bbe\u7f6e\u9891\u7387\u9650\u5236\u89c4\u521910\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516b\u3001\u603b\u7ed3\u4e0e\u8d44\u6e90\u63a8\u8350<\/h3>\n<p>\u96e8\u4e91\u670d\u52a1\u5668\u51ed\u501f\u5176\u7075\u6d3b\u7684\u8ba1\u8d39\u6a21\u5f0f\u3001\u5f3a\u5927\u7684\u5b89\u5168\u9632\u62a4\u548c\u4e30\u5bcc\u7684\u533a\u57df\u9009\u62e9&#xff0c;\u6210\u4e3a\u4e2a\u4eba\u5f00\u53d1\u8005\u4e0e\u4f01\u4e1a\u5efa\u7ad9\u7684\u4f18\u8d28\u9009\u62e9\u3002\u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u8bfb\u8005\u53ef\u638c\u63e1\u4ece\u670d\u52a1\u5668\u9009\u8d2d\u5230\u7f51\u7ad9\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u6280\u80fd&#xff0c;\u5e76\u7ed3\u5408Docker\u7b49\u5de5\u5177\u5b9e\u73b0\u9ad8\u9636\u5e94\u7528\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u63a2\u7d22&#xff0c;\u53ef\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u96e8\u4e91\u5b98\u65b9\u6587\u6863&#xff1a;\u6982\u8ff0 | \u96e8\u4e91\u767e\u79d1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b9d\u5854\u9762\u677f\u8bba\u575b&#xff1a;\u5b9d\u5854\u9762\u677f-\u670d\u52a1\u5668\u8fd0\u7ef4\u8bba\u575b\u5e2e\u4f60\u89e3\u51b3\u8fd0\u7ef4\u96be\u9898&#xff01;\u3002<\/p>\n<\/li>\n<\/ul>\n<h3><\/h3>\n<h3>\u96e8\u4e91\u670d\u52a1\u5668\u5efa\u7ad9\u6559\u7a0b&#xff1a;\u4ece\u96f6\u5230\u4e0a\u7ebf\u5168\u6d41\u7a0b\u8be6\u89e3<\/h3>\n<hr \/>\n<h4>\u4e00\u3001\u670d\u52a1\u5668\u9009\u8d2d\u4e0e\u521d\u59cb\u914d\u7f6e<\/h4>\n<h5>1.1 \u9009\u62e9\u9002\u5408\u5efa\u7ad9\u7684\u670d\u52a1\u5668\u5957\u9910<\/h5>\n<li>\n<p>\u533a\u57df\u9009\u62e9\u539f\u5219<\/p>\n<ul>\n<li>\n<p>\u56fd\u5185\u7528\u6237\u4f18\u5148\u5907\u6848&#xff1a;\u9009\u62e9\u4e2d\u56fd\u5bbf\u8fc1\u533a\u57df&#xff08;\u9700\u5907\u6848&#xff09;&#xff0c;\u4eab\u53d7\u4f4e\u5ef6\u8fdf\u548c100G DDoS\u9632\u5fa1&#xff0c;\u9002\u5408\u4f01\u4e1a\u5b98\u7f51\u3001\u7535\u5546\u5e73\u53f0\u7b49\u3002<\/p>\n<\/li>\n<li>\n<p>\u514d\u5907\u6848\u9700\u6c42&#xff1a;\u9009\u62e9\u9999\u6e2f\u6216\u7f8e\u56fd\u6d1b\u6749\u77f6\u533a\u57df&#xff08;\u63a8\u8350\u9999\u6e2fCN2\u7ebf\u8def&#xff09;&#xff0c;\u5ef6\u8fdf\u7ea650-100ms&#xff0c;\u9002\u5408\u4e2a\u4eba\u535a\u5ba2\u3001\u6d4b\u8bd5\u7ad9\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u63a8\u8350<\/p>\n<ul>\n<li>\n<p>\u5c0f\u578b\u7f51\u7ad9&#xff08;\u65e5\u8bbf\u5ba2&lt;1000&#xff09;&#xff1a;1\u68381G\u5185\u5b58\u300130GB SSD\u786c\u76d8\u3001\u5e26\u5bbd3Mbps&#xff08;\u5e74\u4ed8\u7ea6200\u5143&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e2d\u578b\u7f51\u7ad9&#xff08;\u65e5\u8bbf\u5ba2&gt;5000&#xff09;&#xff1a;2\u68384G\u5185\u5b58\u300150GB SSD\u786c\u76d8\u3001\u5e26\u5bbd5Mbps&#xff08;\u63a8\u8350\u9999\u6e2f\u533a&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4f18\u60e0\u6280\u5de7<\/p>\n<ul>\n<li>\n<p>\u6ce8\u518c\u65f6\u8f93\u5165\u4f18\u60e0\u7801\u00a0NEW2024\u00a0\u4eab\u9996\u67085\u6298\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b8c\u6210\u5b9e\u540d\u8ba4\u8bc1\u989d\u5916\u8d60\u90011000\u79ef\u5206&#xff08;\u53ef\u5151\u63621\u4e2a\u6708\u670d\u52a1\u5668\u4f7f\u7528\u6743&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e8c\u3001\u670d\u52a1\u5668\u73af\u5883\u521d\u59cb\u5316<\/h4>\n<h5>2.1 \u7cfb\u7edf\u5b89\u88c5\u4e0e\u8fde\u63a5<\/h5>\n<li>\n<p>\u63a8\u8350\u7cfb\u7edf<\/p>\n<ul>\n<li>\n<p>\u65b0\u624b\u53cb\u597d&#xff1a;Ubuntu 22.04 LTS&#xff08;\u957f\u671f\u652f\u6301\u7248&#xff0c;\u517c\u5bb9\u6027\u4f73&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u9ad8\u6027\u80fd\u9700\u6c42&#xff1a;CentOS 7.9&#xff08;\u7a33\u5b9a\u6027\u5f3a&#xff0c;\u9002\u5408\u4f01\u4e1a\u573a\u666f&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>SSH\u8fdc\u7a0b\u8fde\u63a5<\/p>\n<ul>\n<li>\n<p>Windows\u7528\u6237&#xff1a;\u4f7f\u7528 PuTTY \u6216 FinalShell&#xff08;\u63a8\u8350FinalShell&#xff0c;\u652f\u6301\u6587\u4ef6\u62d6\u62fd\u4e0a\u4f20&#xff09;\u3002<\/p>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p> # \u8f93\u5165\u670d\u52a1\u5668IP\u3001\u7aef\u53e3&#xff08;\u9ed8\u8ba422&#xff09;\u3001\u7528\u6237\u540d&#xff08;root&#xff09;\u53ca\u5bc6\u7801<br \/>\nssh root&#064;\u670d\u52a1\u5668IP -p 22 <\/li>\n<li>\n<p>Mac\/Linux\u7528\u6237&#xff1a;\u76f4\u63a5\u4f7f\u7528\u7ec8\u7aef\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b89\u5168\u52a0\u56fa<\/p>\n<ul>\n<li>\n<p>\u4fee\u6539\u9ed8\u8ba4SSH\u7aef\u53e3&#xff1a;<\/p>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p> # \u7f16\u8f91SSH\u914d\u7f6e\u6587\u4ef6<br \/>\nnano \/etc\/ssh\/sshd_config<br \/>\n# \u4fee\u6539 Port 22 \u4e3a\u5176\u4ed6\u7aef\u53e3&#xff08;\u59822222&#xff09;<br \/>\nsystemctl restart sshd <\/li>\n<li>\n<p>\u7981\u7528\u5bc6\u7801\u767b\u5f55&#xff0c;\u542f\u7528\u5bc6\u94a5\u8ba4\u8bc1&#xff08;\u9632\u66b4\u529b\u7834\u89e3&#xff09;&#xff1a;<\/p>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p> # \u751f\u6210\u5bc6\u94a5\u5bf9&#xff08;\u672c\u5730\u6267\u884c&#xff09;<br \/>\nssh-keygen -t rsa<br \/>\n# \u4e0a\u4f20\u516c\u94a5\u5230\u670d\u52a1\u5668<br \/>\nssh-copy-id -i ~\/.ssh\/id_rsa.pub root&#064;\u670d\u52a1\u5668IP -p 2222 <\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e09\u3001\u5b89\u88c5\u5b9d\u5854\u9762\u677f&#xff08;\u4e00\u7ad9\u5f0f\u7ba1\u7406&#xff09;<\/h4>\n<h5>3.1 \u9762\u677f\u5b89\u88c5\u4e0e\u521d\u59cb\u5316<\/h5>\n<li>\n<p>\u4e00\u952e\u5b89\u88c5\u547d\u4ee4<\/p>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p> # Ubuntu\/Debian<br \/>\nwget -O install.sh https:\/\/download.bt.cn\/install\/install-ubuntu_6.0.sh &amp;&amp; sudo bash install.sh<\/p>\n<p># CentOS<br \/>\nyum install -y wget &amp;&amp; wget -O install.sh https:\/\/download.bt.cn\/install\/install_6.0.sh &amp;&amp; sh install.sh <\/p>\n<ul>\n<li>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u8bb0\u5f55\u9762\u677f\u5730\u5740\u3001\u7528\u6237\u540d\u53ca\u5bc6\u7801&#xff08;\u5982\u00a0http:\/\/123.45.67.89:8888\/xxx&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u767b\u5f55\u540e\u5fc5\u505a\u8bbe\u7f6e<\/p>\n<ul>\n<li>\n<p>\u7ed1\u5b9a\u8d26\u53f7&#xff1a;\u5173\u8054\u5b9d\u5854\u5b98\u7f51\u8d26\u53f7&#xff08;\u514d\u8d39\u83b7\u53d6SSL\u8bc1\u4e66\u3001\u5907\u4efd\u7b49\u589e\u503c\u670d\u52a1&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5LNMP\/LAMP\u73af\u5883&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u63a8\u8350\u9009\u62e9\u00a0Nginx 1.22 &#043; MySQL 8.0 &#043; PHP 8.1&#xff08;\u9ad8\u6027\u80fd\u7ec4\u5408&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u8bd1\u6a21\u5f0f\u5b89\u88c5&#xff08;\u8017\u65f6\u7ea630\u5206\u949f&#xff0c;\u4f46\u6027\u80fd\u63d0\u534720%&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b89\u5168\u914d\u7f6e<\/p>\n<ul>\n<li>\n<p>\u4fee\u6539\u9762\u677f\u7aef\u53e3&#xff1a;\u5728\u9762\u677f\u8bbe\u7f6e\u4e2d\u4fee\u6539\u9ed8\u8ba48888\u7aef\u53e3\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bbe\u7f6eIP\u767d\u540d\u5355&#xff1a;\u4ec5\u5141\u8bb8\u5e38\u7528IP\u8bbf\u95ee\u9762\u677f&#xff0c;\u9632\u6b62\u6076\u610f\u626b\u63cf\u3002<\/p>\n<\/li>\n<li>\n<p>\u542f\u7528BasicAuth\u8ba4\u8bc1&#xff1a;\u4e3a\u9762\u677f\u8bbf\u95ee\u6dfb\u52a0\u4e8c\u6b21\u5bc6\u7801\u9a8c\u8bc1\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u56db\u3001\u57df\u540d\u89e3\u6790\u4e0eSSL\u8bc1\u4e66\u7533\u8bf7<\/h4>\n<h5>4.1 \u57df\u540d\u8d2d\u4e70\u4e0e\u89e3\u6790<\/h5>\n<li>\n<p>\u57df\u540d\u6ce8\u518c\u63a8\u8350<\/p>\n<ul>\n<li>\n<p>\u96e8\u4e91\u514d\u8d39\u4e8c\u7ea7\u57df\u540d&#xff08;\u6ce8\u518c\u5373\u9001\u00a0xxx.rainyun.cn&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u82e5\u9700\u9876\u7ea7\u57df\u540d&#xff0c;\u63a8\u8350\u5728 Namesilo \u8d2d\u4e70&#xff08;\u4ef7\u683c\u7ea6$10\/\u5e74&#xff0c;\u9001\u9690\u79c1\u4fdd\u62a4&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>DNS\u89e3\u6790\u8bbe\u7f6e<\/p>\n<ul>\n<li>\n<p>A\u8bb0\u5f55\u89e3\u6790&#xff1a;\u5c06\u57df\u540d\u6307\u5411\u670d\u52a1\u5668IP&#xff08;\u5982\u00a0&#064;\u00a0\u548c\u00a0www\u00a0\u8bb0\u5f55\u5747\u6307\u5411\u00a0123.45.67.89&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>TTL\u8bbe\u7f6e&#xff1a;\u5efa\u8bae\u7f29\u77ed\u81f3600\u79d2&#xff08;10\u5206\u949f&#xff09;&#xff0c;\u4fbf\u4e8e\u5feb\u901f\u751f\u6548\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h5>4.2 \u514d\u8d39SSL\u8bc1\u4e66\u90e8\u7f72<\/h5>\n<li>\n<p>\u5b9d\u5854\u9762\u677f\u4e00\u952e\u7533\u8bf7<\/p>\n<ul>\n<li>\n<p>\u8fdb\u5165\u9762\u677f\u300c\u7f51\u7ad9\u300d\u2192\u300cSSL\u300d\u2192\u300cLet&#039;s Encrypt\u300d&#xff0c;\u52fe\u9009\u57df\u540d\u5e76\u7533\u8bf7\u3002<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u65b9\u5f0f&#xff1a;DNS\u9a8c\u8bc1&#xff08;\u9700\u5728\u57df\u540d\u670d\u52a1\u5546\u5904\u6dfb\u52a0TXT\u8bb0\u5f55&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5f3a\u5236HTTPS\u8df3\u8f6c<\/p>\n<ul>\n<li>\n<p>\u5f00\u542f\u300c\u5f3a\u5236HTTPS\u300d\u5f00\u5173&#xff0c;\u5e76\u4fee\u6539Nginx\u914d\u7f6e&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>\u590d\u5236<\/p>\n<p> server {<br \/>\n    listen 80;<br \/>\n    server_name example.com;<br \/>\n    return 301 https:\/\/$server_name$request_uri;<br \/>\n} <\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e94\u3001\u7f51\u7ad9\u7a0b\u5e8f\u90e8\u7f72\u5b9e\u6218<\/h4>\n<h5>5.1 \u65b9\u6848\u4e00&#xff1a;\u5b9d\u5854\u4e00\u952e\u90e8\u7f72&#xff08;\u9002\u5408\u65b0\u624b&#xff09;<\/h5>\n<li>\n<p>\u4ee5WordPress\u4e3a\u4f8b<\/p>\n<ul>\n<li>\n<p>\u8fdb\u5165\u300c\u8f6f\u4ef6\u5546\u5e97\u300d\u2192\u300c\u4e00\u952e\u90e8\u7f72\u300d&#xff0c;\u641c\u7d22WordPress\u5e76\u5b89\u88c5\u3002<\/p>\n<\/li>\n<li>\n<p>\u586b\u5199\u6570\u636e\u5e93\u540d\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801&#xff08;\u5efa\u8bae\u4f7f\u7528\u968f\u673a\u751f\u6210\u5668\u751f\u6210\u5f3a\u5bc6\u7801&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u521d\u59cb\u5316\u7f51\u7ad9<\/p>\n<ul>\n<li>\n<p>\u8bbf\u95ee\u00a0https:\/\/example.com\/wp-admin&#xff0c;\u6309\u5411\u5bfc\u8bbe\u7f6e\u6807\u9898\u3001\u7ba1\u7406\u5458\u8d26\u53f7\u3002<\/p>\n<\/li>\n<li>\n<p>\u5fc5\u88c5\u63d2\u4ef6\u63a8\u8350&#xff1a;<\/p>\n<ul>\n<li>\n<p>UpdraftPlus&#xff1a;\u81ea\u52a8\u5907\u4efd\u81f3\u96e8\u4e91\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n<\/li>\n<li>\n<p>WP Rocket&#xff1a;\u7f13\u5b58\u52a0\u901f&#xff08;\u53ef\u63d0\u5347\u52a0\u8f7d\u901f\u5ea650%&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<h5>5.2 \u65b9\u6848\u4e8c&#xff1a;\u624b\u52a8\u90e8\u7f72&#xff08;\u9002\u5408\u5f00\u53d1\u8005&#xff09;<\/h5>\n<li>\n<p>\u4e0a\u4f20\u7f51\u7ad9\u6587\u4ef6<\/p>\n<ul>\n<li>\n<p>\u901a\u8fc7\u5b9d\u5854\u300c\u6587\u4ef6\u7ba1\u7406\u300d\u4e0a\u4f20ZIP\u538b\u7f29\u5305&#xff08;\u6216\u4f7f\u7528SFTP\u5de5\u5177\u5982FileZilla&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u89e3\u538b\u81f3\u00a0\/www\/wwwroot\/example.com\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u914d\u7f6ePHP\u73af\u5883<\/p>\n<ul>\n<li>\n<p>\u4fee\u6539\u00a0php.ini\u00a0\u5173\u952e\u53c2\u6570&#xff1a;<\/p>\n<p>ini<\/p>\n<p>\u590d\u5236<\/p>\n<p> upload_max_filesize &#061; 64M<br \/>\npost_max_size &#061; 128M<br \/>\nmax_execution_time &#061; 300 <\/li>\n<li>\n<p>\u91cd\u542fPHP\u670d\u52a1\u751f\u6548\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6570\u636e\u5e93\u7ba1\u7406<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528\u5b9d\u5854\u300c\u6570\u636e\u5e93\u300d\u6a21\u5757\u521b\u5efa\u65b0\u6570\u636e\u5e93\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bfc\u5165SQL\u6587\u4ef6&#xff08;\u6216\u901a\u8fc7phpMyAdmin\u64cd\u4f5c&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u516d\u3001\u7f51\u7ad9\u6027\u80fd\u4f18\u5316\u4e0e\u5b89\u5168\u52a0\u56fa<\/h4>\n<h5>6.1 \u901f\u5ea6\u4f18\u5316\u6280\u5de7<\/h5>\n<li>\n<p>CDN\u52a0\u901f\u914d\u7f6e<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528\u96e8\u4e91\u514d\u8d39CDN&#xff08;\u4e9a\u592a\u8282\u70b9&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5728CDN\u63a7\u5236\u53f0\u6dfb\u52a0\u57df\u540d&#xff0c;CNAME\u89e3\u6790\u5230\u00a0xxx.rainyuncdn.com\u3002<\/p>\n<\/li>\n<li>\n<p>\u5f00\u542f\u300c\u667a\u80fd\u538b\u7f29\u300d\u548c\u300cBrotli\u538b\u7f29\u300d\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Nginx\u7f13\u5b58\u914d\u7f6e<\/p>\n<p>nginx<\/p>\n<p>\u590d\u5236<\/p>\n<p> # \u5728\u7ad9\u70b9\u914d\u7f6e\u4e2d\u6dfb\u52a0<br \/>\nproxy_cache_path \/tmp\/nginx levels&#061;1:2 keys_zone&#061;my_cache:10m max_size&#061;1g inactive&#061;60m;<br \/>\nlocation \/ {<br \/>\n    proxy_cache my_cache;<br \/>\n    proxy_cache_valid 200 302 10m;<br \/>\n    proxy_cache_valid 404      1m;<br \/>\n} <\/li>\n<li>\n<p>\u56fe\u7247\u61d2\u52a0\u8f7d\u4e0eWebP\u683c\u5f0f<\/p>\n<ul>\n<li>\n<p>\u5b89\u88c5\u63d2\u4ef6\u00a0ShortPixel&#xff0c;\u81ea\u52a8\u5c06\u56fe\u7247\u8f6c\u6362\u4e3aWebP\u683c\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u00a0Lazy Load\u00a0\u63d2\u4ef6\u5ef6\u8fdf\u52a0\u8f7d\u975e\u9996\u5c4f\u56fe\u7247\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h5>6.2 \u5b89\u5168\u9632\u62a4\u63aa\u65bd<\/h5>\n<li>\n<p>\u9632\u706b\u5899\u89c4\u5219<\/p>\n<ul>\n<li>\n<p>\u5b9d\u5854\u300c\u5b89\u5168\u300d\u6a21\u5757\u653e\u884c\u7aef\u53e3&#xff1a;80, 443, SSH\u7aef\u53e3&#xff08;\u59822222&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u5c4f\u853d\u975e\u5e38\u7528\u7aef\u53e3&#xff08;\u598221\/FTP\u30013306\/MySQL&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9632SQL\u6ce8\u5165\u4e0eXSS\u653b\u51fb<\/p>\n<ul>\n<li>\n<p>\u5728Nginx\u914d\u7f6e\u4e2d\u6dfb\u52a0WAF\u89c4\u5219&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>\u590d\u5236<\/p>\n<p> location \/ {<br \/>\n    # \u62e6\u622a\u5e38\u89c1\u653b\u51fb\u7279\u5f81<br \/>\n    if ($args ~* &#034;(&lt;|%3C|script|alert\\\\(|document\\\\.cookie)&#034;) {<br \/>\n        return 403;<br \/>\n    }<br \/>\n} <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9a\u671f\u81ea\u52a8\u5907\u4efd<\/p>\n<ul>\n<li>\n<p>\u8bbe\u7f6e\u5b9d\u5854\u300c\u8ba1\u5212\u4efb\u52a1\u300d\u6bcf\u5929\u5907\u4efd\u7f51\u7ad9\u548c\u6570\u636e\u5e93\u81f3\u96e8\u4e91\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d4b\u8bd5\u5907\u4efd\u6587\u4ef6\u53ef\u6062\u590d\u6027&#xff08;\u81f3\u5c11\u6bcf\u6708\u4e00\u6b21&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h4>\n<h5>7.1 \u7f51\u7ad9\u65e0\u6cd5\u8bbf\u95ee<\/h5>\n<ul>\n<li>\n<p>\u68c0\u67e5\u65b9\u5411&#xff1a;<\/p>\n<li>\n<p>\u670d\u52a1\u5668\u9632\u706b\u5899\u662f\u5426\u653e\u884c80\/443\u7aef\u53e3&#xff1f;<\/p>\n<\/li>\n<li>\n<p>\u57df\u540d\u89e3\u6790\u662f\u5426\u751f\u6548&#xff08;\u4f7f\u7528\u00a0ping example.com\u00a0\u9a8c\u8bc1&#xff09;&#xff1f;<\/p>\n<\/li>\n<li>\n<p>Nginx\/Apache\u670d\u52a1\u662f\u5426\u6b63\u5e38\u8fd0\u884c&#xff08;systemctl status nginx&#xff09;&#xff1f;<\/p>\n<\/li>\n<\/li>\n<\/ul>\n<h5>7.2 \u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25<\/h5>\n<ul>\n<li>\n<p>\u89e3\u51b3\u6b65\u9aa4&#xff1a;<\/p>\n<li>\n<p>\u68c0\u67e5\u00a0wp-config.php\u00a0\u4e2d\u7684\u6570\u636e\u5e93\u540d\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801\u662f\u5426\u4e0e\u5b9d\u5854\u9762\u677f\u4e00\u81f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u767b\u5f55MySQL\u6267\u884c\u00a0SHOW GRANTS FOR &#039;\u7528\u6237\u540d&#039;&#064;&#039;localhost&#039;;\u00a0\u786e\u8ba4\u6743\u9650\u3002<\/p>\n<\/li>\n<li>\n<p>\u91cd\u542fMySQL\u670d\u52a1&#xff1a;systemctl restart mysqld\u3002<\/p>\n<\/li>\n<\/li>\n<\/ul>\n<hr \/>\n<h4>\u516b\u3001\u9ad8\u9636\u6269\u5c55&#xff1a;Docker\u5bb9\u5668\u5316\u90e8\u7f72<\/h4>\n<h5>8.1 \u5b89\u88c5Docker\u73af\u5883<\/h5>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p># \u4e00\u952e\u5b89\u88c5Docker<br \/>\ncurl -fsSL https:\/\/get.docker.com | bash -s docker<br \/>\n# \u542f\u52a8\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<br \/>\nsystemctl start docker &amp;&amp; systemctl enable docker <\/p>\n<h5>8.2 \u90e8\u7f72Nextcloud\u79c1\u6709\u4e91\u76d8<\/h5>\n<li>\n<p>\u62c9\u53d6\u955c\u50cf\u5e76\u542f\u52a8\u5bb9\u5668<\/p>\n<p>bash<\/p>\n<p>\u590d\u5236<\/p>\n<p> docker run -d \\\\<br \/>\n&#8211;name nextcloud \\\\<br \/>\n-p 8080:80 \\\\<br \/>\n-v \/data\/nextcloud:\/var\/www\/html \\\\<br \/>\nnextcloud:latest <\/li>\n<li>\n<p>\u914d\u7f6e\u53cd\u5411\u4ee3\u7406<\/p>\n<ul>\n<li>\n<p>\u5728\u5b9d\u5854\u9762\u677f\u521b\u5efa\u7ad9\u70b9&#xff0c;\u8bbe\u7f6e\u53cd\u5411\u4ee3\u7406\u5230\u00a0http:\/\/127.0.0.1:8080\u3002<\/p>\n<\/li>\n<li>\n<p>\u7533\u8bf7SSL\u8bc1\u4e66\u5e76\u542f\u7528HTTPS\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e5d\u3001\u603b\u7ed3<\/h4>\n<p>\u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u60a8\u5df2\u638c\u63e1\u4ece\u96e8\u4e91\u670d\u52a1\u5668\u9009\u8d2d\u3001\u73af\u5883\u642d\u5efa\u5230\u7f51\u7ad9\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u6280\u80fd&#xff0c;\u6db5\u76d6\u57fa\u7840\u5efa\u7ad9\u3001\u6027\u80fd\u4f18\u5316\u3001\u5b89\u5168\u9632\u62a4\u53ca\u9ad8\u9636\u5bb9\u5668\u5316\u90e8\u7f72\u3002\u5efa\u8bae\u5b9a\u671f\u5173\u6ce8\u96e8\u4e91\u5b98\u65b9\u6d3b\u52a8&#xff08;\u5982\u53cc11\u3001618\u5927\u4fc3&#xff09;&#xff0c;\u7ed3\u5408\u79ef\u5206\u5151\u6362\u673a\u5236\u964d\u4f4e\u8fd0\u7ef4\u6210\u672c\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u6280\u672f\u4ea4\u6d41&#xff0c;\u53ef\u52a0\u5165\u96e8\u4e91\u5f00\u53d1\u8005\u793e\u533a&#xff08;\u70b9\u51fb\u8bbf\u95ee&#xff09;&#xff0c;\u83b7\u53d6\u5b9e\u65f6\u95ee\u9898\u89e3\u7b54\u4e0e\u884c\u4e1a\u6848\u4f8b\u5206\u4eab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb758\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf15\u6b21\u3002\u96e8\u4e91\u670d\u52a1\u5668\u51ed\u501f\u5176\u7075\u6d3b\u7684\u8ba1\u8d39\u6a21\u5f0f\u3001\u5f3a\u5927\u7684\u5b89\u5168\u9632\u62a4\u548c\u4e30\u5bcc\u7684\u533a\u57df\u9009\u62e9\uff0c\u6210\u4e3a\u4e2a\u4eba\u5f00\u53d1\u8005\u4e0e\u4f01\u4e1a\u5efa\u7ad9\u7684\u4f18\u8d28\u9009\u62e9\u3002\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8bfb\u8005\u53ef\u638c\u63e1\u4ece\u670d\u52a1\u5668\u9009\u8d2d\u5230\u7f51\u7ad9\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u6280\u80fd\uff0c\u5e76\u7ed3\u5408Docker\u7b49\u5de5\u5177\u5b9e\u73b0\u9ad8\u9636\u5e94\u7528\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u63a2\u7d22\uff0c\u53ef\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90\uff1a\u6982\u8ff0 | \u96e8\u4e91\u767e\u79d1\uff1b\u5b9d\u5854\u9762\u677f-\u670d\u52a1\u5668\u8fd0\u7ef4\u8bba\u575b\u5e2e\u4f60\u89e3\u51b3\u8fd0\u7ef4\u96be\u9898\uff01\u3002\u96e8\u4e91\u670d\u52a1\u5668\u5efa\u7ad9\u6559\u7a0b\uff1a\u4ece\u96f6\u5230\u4e0a\u7ebf\u5168\u6d41\u7a0b\u8be6\u89e3\u4e00\u3001\u670d\u52a1\u5668\u9009\u8d2d\u4e0e\u521d\u59cb\u914d\u7f6e1.1 \u9009\u62e9\u9002\u5408\u5efa\u7ad9\u7684\u670d\u52a1\u5668\u5957\u9910\u533a\u57df\u9009\u62e9\u539f\u5219\u56fd\u5185\u7528\u6237\u4f18\u5148\u5907\u6848\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[92,43,248],"topic":[],"class_list":["post-24948","post","type-post","status-publish","format-standard","hentry","category-server","tag-github","tag-43","tag-248"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/24948.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb758\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf15\u6b21\u3002\u96e8\u4e91\u670d\u52a1\u5668\u51ed\u501f\u5176\u7075\u6d3b\u7684\u8ba1\u8d39\u6a21\u5f0f\u3001\u5f3a\u5927\u7684\u5b89\u5168\u9632\u62a4\u548c\u4e30\u5bcc\u7684\u533a\u57df\u9009\u62e9\uff0c\u6210\u4e3a\u4e2a\u4eba\u5f00\u53d1\u8005\u4e0e\u4f01\u4e1a\u5efa\u7ad9\u7684\u4f18\u8d28\u9009\u62e9\u3002\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8bfb\u8005\u53ef\u638c\u63e1\u4ece\u670d\u52a1\u5668\u9009\u8d2d\u5230\u7f51\u7ad9\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u6280\u80fd\uff0c\u5e76\u7ed3\u5408Docker\u7b49\u5de5\u5177\u5b9e\u73b0\u9ad8\u9636\u5e94\u7528\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u63a2\u7d22\uff0c\u53ef\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90\uff1a\u6982\u8ff0 | \u96e8\u4e91\u767e\u79d1\uff1b\u5b9d\u5854\u9762\u677f-\u670d\u52a1\u5668\u8fd0\u7ef4\u8bba\u575b\u5e2e\u4f60\u89e3\u51b3\u8fd0\u7ef4\u96be\u9898\uff01\u3002\u96e8\u4e91\u670d\u52a1\u5668\u5efa\u7ad9\u6559\u7a0b\uff1a\u4ece\u96f6\u5230\u4e0a\u7ebf\u5168\u6d41\u7a0b\u8be6\u89e3\u4e00\u3001\u670d\u52a1\u5668\u9009\u8d2d\u4e0e\u521d\u59cb\u914d\u7f6e1.1 \u9009\u62e9\u9002\u5408\u5efa\u7ad9\u7684\u670d\u52a1\u5668\u5957\u9910\u533a\u57df\u9009\u62e9\u539f\u5219\u56fd\u5185\u7528\u6237\u4f18\u5148\u5907\u6848\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/24948.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T03:21:47+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24948.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/24948.html\",\"name\":\"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T03:21:47+00:00\",\"dateModified\":\"2025-04-19T03:21:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/24948.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/24948.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24948.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/24948.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb758\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf15\u6b21\u3002\u96e8\u4e91\u670d\u52a1\u5668\u51ed\u501f\u5176\u7075\u6d3b\u7684\u8ba1\u8d39\u6a21\u5f0f\u3001\u5f3a\u5927\u7684\u5b89\u5168\u9632\u62a4\u548c\u4e30\u5bcc\u7684\u533a\u57df\u9009\u62e9\uff0c\u6210\u4e3a\u4e2a\u4eba\u5f00\u53d1\u8005\u4e0e\u4f01\u4e1a\u5efa\u7ad9\u7684\u4f18\u8d28\u9009\u62e9\u3002\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8bfb\u8005\u53ef\u638c\u63e1\u4ece\u670d\u52a1\u5668\u9009\u8d2d\u5230\u7f51\u7ad9\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u6280\u80fd\uff0c\u5e76\u7ed3\u5408Docker\u7b49\u5de5\u5177\u5b9e\u73b0\u9ad8\u9636\u5e94\u7528\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u63a2\u7d22\uff0c\u53ef\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90\uff1a\u6982\u8ff0 | \u96e8\u4e91\u767e\u79d1\uff1b\u5b9d\u5854\u9762\u677f-\u670d\u52a1\u5668\u8fd0\u7ef4\u8bba\u575b\u5e2e\u4f60\u89e3\u51b3\u8fd0\u7ef4\u96be\u9898\uff01\u3002\u96e8\u4e91\u670d\u52a1\u5668\u5efa\u7ad9\u6559\u7a0b\uff1a\u4ece\u96f6\u5230\u4e0a\u7ebf\u5168\u6d41\u7a0b\u8be6\u89e3\u4e00\u3001\u670d\u52a1\u5668\u9009\u8d2d\u4e0e\u521d\u59cb\u914d\u7f6e1.1 \u9009\u62e9\u9002\u5408\u5efa\u7ad9\u7684\u670d\u52a1\u5668\u5957\u9910\u533a\u57df\u9009\u62e9\u539f\u5219\u56fd\u5185\u7528\u6237\u4f18\u5148\u5907\u6848\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/24948.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T03:21:47+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/24948.html","url":"https:\/\/www.wsisp.com\/helps\/24948.html","name":"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T03:21:47+00:00","dateModified":"2025-04-19T03:21:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/24948.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/24948.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/24948.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5efa\u7ad9\uff1f\u6e38\u620f\uff1f\u670d\u52a1\u5668\u6311\u9009\u4e0e\u5efa\u7ad9\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=24948"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24948\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=24948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=24948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=24948"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=24948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}