{"id":881,"date":"2017-09-25T10:32:00","date_gmt":"2017-09-25T02:32:00","guid":{"rendered":"http:\/\/www.rain1024.com\/?p=881"},"modified":"2023-08-07T20:57:27","modified_gmt":"2023-08-07T12:57:27","slug":"article101","status":"publish","type":"post","link":"http:\/\/rain1024.com\/index.php\/2017\/09\/25\/article101\/","title":{"rendered":"\u642d\u5efa\u5fae\u4fe1\u8ba2\u9605\u53f7\u540e\u53f0\u670d\u52a1\u6559\u7a0b"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h1 id=\"-\" style=\"margin: 0px 0px 15px; font-weight: normal; color: #000000; font-size: 1.9rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\"><span id=\"wizkm_highlight_tmp_span\">\u642d\u5efa\u5fae\u4fe1\u8ba2\u9605\u53f7\u540e\u53f0\u670d\u52a1<\/span><\/h1>\n<h2 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.425rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u51c6\u5907\u57df\u540d<\/h2>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u4efb\u52a1\u65f6\u95f4\uff1a20min ~ 40min<\/p>\n<\/blockquote>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u9700\u8981\u914d\u7f6e\u670d\u52a1\u5668\u5730\u5740 URL \u8bbf\u95ee\uff0c\u5728\u5b9e\u9a8c\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u8981\u51c6\u5907\u57df\u540d\u3002<\/p>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u57df\u540d\u6ce8\u518c<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u57df\u540d\uff0c\u53ef\u4ee5<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" title=\"null\" href=\"https:\/\/dnspod.qcloud.com\/?fromSource=lab\" target=\"_blank\" rel=\"noopener\">\u5728\u817e\u8baf\u4e91\u4e0a\u9009\u8d2d<\/a>\uff0c\u8fc7\u7a0b\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7684\u89c6\u9891\u3002<\/p>\n<ul style=\"list-style: none; margin: 0px 0px 15px; padding: 0px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<li style=\"margin-bottom: 3px; margin-top: 0px;\"><em style=\"margin-top: 0px;\">\u89c6\u9891 - \u5728\u817e\u8baf\u4e91\u4e0a\u8d2d\u4e70\u57df\u540d<\/em><\/li>\n<\/ul>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u57df\u540d\u89e3\u6790<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u57df\u540d\u8d2d\u4e70\u5b8c\u6210\u540e, \u9700\u8981\u5c06\u57df\u540d\u89e3\u6790\u5230\u5b9e\u9a8c\u4e91\u4e3b\u673a\u4e0a\uff0c\u5b9e\u9a8c\u4e91\u4e3b\u673a\u7684 IP \u4e3a\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">&lt;\u60a8\u7684 CVM IP \u5730\u5740&gt;\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u817e\u8baf\u4e91\u8d2d\u4e70\u7684\u57df\u540d\uff0c\u53ef\u4ee5<em style=\"margin-top: 0px;\">\u5230\u63a7\u5236\u53f0\u6dfb\u52a0\u89e3\u6790\u8bb0\u5f55<\/em>\uff0c\u8fc7\u7a0b\u53ef\u53c2\u8003\u4e0b\u9762\u7684\u89c6\u9891\uff1a<\/p>\n<ul style=\"list-style: none; margin: 0px 0px 15px; padding: 0px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<li style=\"margin-bottom: 3px; margin-top: 0px;\"><em style=\"margin-top: 0px;\">\u89c6\u9891 - \u5982\u4f55\u5728\u817e\u8baf\u4e91\u4e0a\u89e3\u6790\u57df\u540d<\/em><\/li>\n<\/ul>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u57df\u540d\u8bbe\u7f6e\u89e3\u6790\u540e\u9700\u8981\u8fc7\u4e00\u6bb5\u65f6\u95f4\u624d\u4f1a\u751f\u6548\uff0c\u901a\u8fc7\u00a0<code>ping<\/code>\u00a0\u547d\u4ee4\u68c0\u67e5\u57df\u540d\u662f\u5426\u751f\u6548\u00a0<sup>[<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" href=\"#stage-1-step-2-replace\">?<\/a>]<\/sup>\uff0c\u5982\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">ping www.yourmpdomain.com\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5982\u679c ping \u547d\u4ee4\u8fd4\u56de\u7684\u4fe1\u606f\u4e2d\u542b\u6709\u4f60\u8bbe\u7f6e\u7684\u89e3\u6790\u7684 IP \u5730\u5740\uff0c\u8bf4\u660e\u89e3\u6790\u6210\u529f\u3002<\/p>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u6ce8\u610f\u66ff\u6362\u4e0b\u9762\u547d\u4ee4\u4e2d\u7684\u00a0<code>www.yourmpdomain.com<\/code>\u00a0\u4e3a\u60a8\u81ea\u5df1\u7684\u6ce8\u518c\u7684\u57df\u540d<\/p>\n<\/blockquote>\n<h2 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.425rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u7533\u8bf7\u5fae\u4fe1\u4e2a\u4eba\u8ba2\u9605\u53f7<\/h2>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u4efb\u52a1\u65f6\u95f4\uff1a5min ~ 10min<\/p>\n<\/blockquote>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u5f00\u59cb\u642d\u5efa\u6211\u4eec\u7684\u8ba2\u9605\u53f7\u670d\u52a1\u5668\u4e4b\u524d\uff0c\u9700\u8981\u5148\u62ff\u5230\u8ba2\u9605\u53f7\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6ce8\u518c\u5f00\u53d1\u8005\u8d26\u53f7<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5982\u679c\u4f60\u8fd8\u4e0d\u662f\u5fae\u4fe1\u8ba2\u9605\u53f7\u5f00\u53d1\u8005\uff0c\u8bf7\u5148\u5728\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u6ce8\u518c\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">https:\/\/mp.weixin.qq.com\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5177\u4f53\u6ce8\u518c\u6d41\u7a0b\u53ef\u53c2\u8003\u5982\u4e0b\u89c6\u9891\uff1a<\/p>\n<ul style=\"list-style: none; margin: 0px 0px 15px; padding: 0px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<li style=\"margin-bottom: 3px; margin-top: 0px;\"><em style=\"margin-top: 0px;\">\u89c6\u9891 - \u6ce8\u518c\u5f00\u53d1\u8005\u8d26\u53f7<\/em><\/li>\n<\/ul>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u82e5\u60a8\u5df2\u6ce8\u518c\uff0c\u8bf7\u70b9\u51fb\u4e0b\u4e00\u6b65\u3002<\/p>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u83b7\u53d6\u5fae\u4fe1\u8ba2\u9605\u53f7\u516c\u4f17\u5e73\u53f0\u8ba4\u8bc1\u5b57\u6bb5\u4fe1\u606f<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6211\u4eec\u9700\u8981\u83b7\u53d63\u4e2a\u5b57\u6bb5\uff1aAppID Token EncodingAESKey\u3002<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u767b\u5f55\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\uff0c\u4f9d\u6b21\u8fdb\u5165\u00a0<code>\u5f00\u53d1<\/code>\u00a0-\u00a0<code>\u57fa\u672c\u914d\u7f6e<\/code>\u00a0\u53ef\u4ee5\u62ff\u5230 AppID\u3002<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728<code>\u57fa\u672c\u914d\u7f6e<\/code>\u00a0-\u00a0<code>\u670d\u52a1\u5668\u914d\u7f6e<\/code>\u00a0-\u00a0<code>\u4fee\u6539\u914d\u7f6e<\/code>\u00a0\u8868\u5355\u4e2d\uff1a<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">URL \u586b\u7b2c\u4e00\u6b65\u7533\u8bf7\u7684\u57df\u540d;<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">Token \u7528\u6237\u6839\u636e\u63d0\u793a\u586b\u5199\uff0c\u7528\u4e8e\u540e\u9762\u6821\u9a8c\u670d\u52a1\u7aef\u5408\u6cd5\u6027;<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">EncodingAESKey \u70b9\u51fb<code>\u968f\u673a\u751f\u6210<\/code>\u6309\u94ae\u6765\u751f\u6210\u3002<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5f53\u70b9\u51fb\u8868\u5355<code>\u63d0\u4ea4<\/code>\u6309\u94ae\u65f6\uff0c\u5fae\u4fe1\u4f1a\u901a\u8fc7 Token \u6765\u6821\u9a8c URL \u7684\u5408\u6cd5\u6027\uff0c\u8fd9\u4e2a\u6211\u4eec\u5728\u540e\u9762\u6b65\u9aa4\u5b9e\u73b0\uff0c\u6b64\u754c\u9762\u6682\u65f6\u4fdd\u7559\u4e0d\u5173\u95ed\u3002<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">AppID Token EncodingAESKey \u8fd93\u4e2a\u53c2\u6570\u5177\u4f53\u7684\u83b7\u53d6\u6b65\u9aa4\u4e5f\u53ef\u4ee5\u53c2\u7167\u4e0b\u9762\u7684\u89c6\u9891<\/p>\n<ul style=\"list-style: none; margin: 0px 0px 15px; padding: 0px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<li style=\"margin-bottom: 3px; margin-top: 0px;\"><em style=\"margin-top: 0px;\">\u89c6\u9891 - \u83b7\u53d6\u5fae\u4fe1\u8ba2\u9605\u53f7\u4fe1\u606f<\/em><\/li>\n<\/ul>\n<h2 id=\"-http-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.425rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u642d\u5efa HTTP \u670d\u52a1<\/h2>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u4efb\u52a1\u65f6\u95f4\uff1a15min ~ 30min<\/p>\n<\/blockquote>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u4e0b\u9762\u7684\u6b65\u9aa4\uff0c\u5c06\u5e26\u5927\u5bb6\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528 Node \u548c Express \u642d\u5efa\u4e00\u4e2a HTTP \u670d\u52a1\u5668<\/p>\n<h3 id=\"-nodejs-npm\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5 NodeJS \u548c NPM<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5 NodeJS \u548c NPM<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">curl --silent --location https:\/\/rpm.nodesource.com\/setup_8.x | sudo bash -\nyum install nodejs -y\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6d4b\u8bd5\u5b89\u88c5\u7ed3\u679c<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">node -v\n<\/code><\/pre>\n<h3 id=\"-http-server-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u7f16\u5199 HTTP Server \u6e90\u7801<\/h3>\n<h4 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u521b\u5efa\u5de5\u4f5c\u76ee\u5f55<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5728\u670d\u52a1\u5668\u521b\u5efa\u4e00\u4e2a\u5de5\u4f5c\u76ee\u5f55\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">mkdir -p \/data\/release\/weapp\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u8fdb\u5165\u6b64\u5de5\u4f5c\u76ee\u5f55<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">cd \/data\/release\/weapp\n<\/code><\/pre>\n<h4 id=\"-package-json\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u521b\u5efa package.json<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u521a\u624d\u521b\u5efa\u7684\u5de5\u4f5c\u76ee\u5f55<em style=\"margin-top: 0px;\">\u521b\u5efa package.json<\/em>\uff0c\u6dfb\u52a0\u6211\u4eec\u670d\u52a1\u5668\u5305\u7684\u540d\u79f0\u548c\u7248\u672c\u53f7\uff0c\u53ef\u53c2\u8003\u4e0b\u9762\u7684\u793a\u4f8b\u3002<\/p>\n<h5 id=\"-data-release-weapp-package-json\" style=\"color: #444444; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;\">\u793a\u4f8b\u4ee3\u7801\uff1a\/data\/release\/weapp\/package.json<\/h5>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code class=\"lang-json\" style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">{\n    \"name\": \"weapp\",\n    \"version\": \"1.0.0\"\n}\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u00a0<code>Ctrl + S<\/code>\u00a0\u4fdd\u5b58\u6587\u4ef6<\/p>\n<h4 id=\"-server-\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6dfb\u52a0 Server \u6e90\u7801<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u5de5\u4f5c\u76ee\u5f55<em style=\"margin-top: 0px;\">\u521b\u5efa app.js<\/em>\uff0c\u4f7f\u7528 Express.js \u6765\u76d1\u542c\u00a0<code>5050<\/code>\u00a0\u7aef\u53e3<sup>[<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" href=\"#stage-3-step-2-5050\">?<\/a>]<\/sup>\uff0c\u53ef\u53c2\u8003\u4e0b\u9762\u7684\u793a\u4f8b\u4ee3\u7801(\u6ce8\uff1a\u8bf7\u5c06\u00a0<code>app.js<\/code>\u00a0\u6587\u4ef6\u4e2d\u7684<code>token<\/code>\/<code>appid<\/code>\/<code>encodingAESKey<\/code>\u7b49\u914d\u7f6e\u9879\u66ff\u6362\u4e3a\u60a8\u7684\u8ba2\u9605\u53f7\u5bf9\u5e94\u7684\u53d6\u503c)\u3002<\/p>\n<h5 id=\"-data-release-weapp-app-js\" style=\"color: #444444; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;\">\u793a\u4f8b\u4ee3\u7801\uff1a\/data\/release\/weapp\/app.js<\/h5>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code class=\"lang-js\" style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\"><span id=\"wizkm_highlight_tmp_span\">\/\/ \u5f15\u7528 express \u6765\u652f\u6301 HTTP Server \u7684\u5b9e\u73b0\nconst express = require('express');\n\n\/\/ \u5f15\u7528\u5fae\u4fe1\u516c\u5171\u5e73\u53f0\u81ea\u52a8\u56de\u590d\u6d88\u606f\u63a5\u53e3\u670d\u52a1\u4e2d\u95f4\u4ef6\nvar wechat = require('wechat');\n\n\/\/ \u521b\u5efa\u4e00\u4e2a express \u5b9e\u4f8b\nconst app = express();\n\n\/\/ \u914d\u7f6e\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u53c2\u6570\uff0c\u5728\u6559\u7a0b\u7b2c\u4e8c\u6b65\u4e2d\u83b7\u53d6\nvar config = {\n    token: 'your token', \/\/ \u586b\u7b2c\u4e8c\u6b65\u4e2d\u83b7\u53d6\u7684 `token`\n    appid: 'your appid', \/\/ \u586b\u7b2c\u4e8c\u6b65\u4e2d\u83b7\u53d6\u7684 `appid`\n    encodingAESKey: 'your encodingAESKey', \/\/ \u586b\u7b2c\u4e8c\u6b65\u4e2d\u83b7\u53d6\u7684 `encodingAESKey`\n    checkSignature: true \/\/ \u53ef\u9009\uff0c\u9ed8\u8ba4\u4e3atrue\u3002\u7531\u4e8e\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u63a5\u53e3\u8c03\u8bd5\u5de5\u5177\u5728\u660e\u6587\u6a21\u5f0f\u4e0b\u4e0d\u53d1\u9001\u7b7e\u540d\uff0c\u6240\u4ee5\u5982\u8981\u4f7f\u7528\u8be5\u6d4b\u8bd5\u5de5\u5177\uff0c\u8bf7\u5c06\u5176\u8bbe\u7f6e\u4e3afalse \n};\n\napp.use(express.query());\n\napp.use('\/', wechat(config, function (req, res, next) {\n    res.reply({\n        content: '\u4f60\u597d\uff0cHello World!',\n        type: 'text'\n    });\n}));\n\n\/\/ \u76d1\u542c\u7aef\u53e3\uff0c\u7b49\u5f85\u8fde\u63a5\nconst port = 5050;\napp.listen(port);\n\n\/\/ \u8f93\u51fa\u670d\u52a1\u5668\u542f\u52a8\u65e5\u5fd7\nconsole.log(`Server listening at http:\/\/127.0.0.1:${port}`);\n<\/span><\/code><\/pre>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u672c\u5b9e\u9a8c\u4f1a\u4ee5 5050 \u7aef\u53e3\u7684\u6253\u5f00\u4f5c\u4e3a\u5b9e\u9a8c\u6b65\u9aa4\u5b8c\u6210\u7684\u4f9d\u636e\uff0c\u4e3a\u4e86\u540e\u9762\u7684\u5b9e\u9a8c\u6b65\u9aa4\u987a\u5229\u8fdb\u884c\uff0c\u8bf7\u4e0d\u8981\u4f7f\u7528\u5176\u5b83\u7aef\u53e3\u53f7<\/p>\n<\/blockquote>\n<h3 id=\"-http-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u8fd0\u884c HTTP \u670d\u52a1<\/h3>\n<h4 id=\"-pm2\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5 PM2<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u6765\u5b89\u88c5\u00a0<sup style=\"margin-top: 0px;\">[<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" href=\"#stage-3-step-3-PM2\">PM2<\/a>]<\/sup><\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">npm install pm2 --global\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">PM2 \u5b89\u88c5\u65f6\u95f4\u53ef\u80fd\u7a0d\u957f\uff0c\u8bf7\u8010\u5fc3\u7b49\u5019\u00a0<sup style=\"margin-top: 0px;\">[<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" href=\"#stage-3-step-3-slow\">?<\/a>]<\/sup><\/p>\n<h4 id=\"-express\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5 Express<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6211\u4eec\u7684\u670d\u52a1\u5668\u6e90\u7801\u91cc\u4f7f\u7528\u5230\u4e86 Express \u6a21\u5757\uff0c\u4e0b\u9762\u7684\u547d\u4ee4\u4f7f\u7528 NPM \u6765\u5b89\u88c5 Express<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">cd \/data\/release\/weapp\nnpm install express --save\n<\/code><\/pre>\n<h4 id=\"-wechat\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5 Wechat<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6211\u4eec\u7684\u670d\u52a1\u5668\u6e90\u7801\u91cc\u4f7f\u7528\u5230\u4e86 Wechat \u6a21\u5757\uff0c\u4e0b\u9762\u7684\u547d\u4ee4\u4f7f\u7528 NPM \u6765\u5b89\u88c5 Wechat<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">cd \/data\/release\/weapp\nnpm install wechat --save\n<\/code><\/pre>\n<h4 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: bold; color: #000000; font-size: 1.108rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u542f\u52a8\u670d\u52a1<\/h4>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528 PM2 \u6765\u542f\u52a8 HTTP \u670d\u52a1<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">cd \/data\/release\/weapp\npm2 start app.js\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u73b0\u5728\uff0c\u60a8\u7684 HTTP \u670d\u52a1\u5df2\u7ecf\u5728\u00a0<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" title=\"null\" href=\"http:\/\/xn--&lt; cvm ip &gt;-yp49ackh32qjw5g:5050\/\" target=\"_blank\" rel=\"noopener\">http:\/\/&lt;\u60a8\u7684 CVM IP \u5730\u5740&gt;:5050<\/a>\u00a0\u8fd0\u884c<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u8981\u67e5\u770b\u670d\u52a1\u8f93\u51fa\u7684\u65e5\u5fd7\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">pm2 logs\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5982\u679c\u8981\u91cd\u542f\u670d\u52a1\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">pm2 restart app\n<\/code><\/pre>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u6211\u4eec\u4f7f\u7528 PM2 \u6765\u8fdb\u884c Node \u8fdb\u7a0b\u7684\u8fd0\u884c\u3001\u76d1\u63a7\u548c\u7ba1\u7406<\/p>\n<\/blockquote>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">NPM \u4ed3\u5e93\u5728\u56fd\u5185\u8bbf\u95ee\u901f\u5ea6\u53ef\u80fd\u4e0d\u592a\u7406\u60f3\uff0c\u5982\u679c\u5b9e\u5728\u592a\u6162\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528 CNPM \u7684 Registry \u8fdb\u884c\u5b89\u88c5\uff1a<code>npm install pm2 -g --registry=https:\/\/r.cnpmjs.org\/<\/code><\/p>\n<\/blockquote>\n<h2 id=\"-nginx-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.425rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u642d\u5efa nginx \u5bf9\u5916\u670d\u52a1<\/h2>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u4efb\u52a1\u65f6\u95f4\uff1a15min ~ 30min<\/p>\n<\/blockquote>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">NodeJs\u53ea\u662f\u4fa6\u542c\u7684\u673a\u5668\u4e0a\u7684\u00a0<code>5050<\/code>\u00a0\u7aef\u53e3\uff0c\u6211\u4eec\u4f7f\u7528\u00a0<code>nginx<\/code>\u00a0\u4fa6\u542c\u00a0<code>80<\/code>\u00a0\u7aef\u53e3\u63d0\u4f9b\u5bf9\u5916\u57df\u540d\u670d\u52a1<\/p>\n<h3 id=\"-nginx\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5 Nginx<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728 CentOS \u4e0a\uff0c\u53ef\u76f4\u63a5\u4f7f\u7528\u00a0<code>yum<\/code>\u00a0\u6765\u5b89\u88c5 Nginx<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">yum install nginx -y\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u00a0<code>nginx<\/code>\u00a0\u547d\u4ee4\u542f\u52a8 Nginx\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">nginx\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6b64\u65f6\uff0c\u8bbf\u95ee\u00a0<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" title=\"null\" href=\"http:\/\/xn--&lt;-t33er8oszphj1b\/\" target=\"_blank\" rel=\"noopener\">http:\/\/&lt;\u60a8\u7684\u57df\u540d&gt;<\/a>\u00a0\u53ef\u4ee5\u770b\u5230 Nginx \u7684\u6d4b\u8bd5\u9875\u9762\u00a0<sup>[<a style=\"color: #2277da; text-decoration: none; cursor: pointer; margin-top: 0px;\" href=\"#stage-4-step-1-help\">?<\/a>]<\/sup><\/p>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u5982\u679c\u65e0\u6cd5\u8bbf\u95ee\uff0c\u8bf7\u91cd\u8bd5\u7528\u00a0<code>nginx -s reload<\/code>\u00a0\u547d\u4ee4\u91cd\u542f Nginx<\/p>\n<\/blockquote>\n<h3 id=\"-http-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u914d\u7f6e HTTP \u53cd\u5411\u4ee3\u7406<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5916\u7f51\u7528\u6237\u8bbf\u95ee\u670d\u52a1\u5668\u7684 Web \u670d\u52a1\u7531 Nginx \u63d0\u4f9b\uff0cNginx \u9700\u8981\u914d\u7f6e\u53cd\u5411\u4ee3\u7406\u624d\u80fd\u4f7f\u5f97 Web \u670d\u52a1\u8f6c\u53d1\u5230\u672c\u5730\u7684 Node \u670d\u52a1\u3002<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">Nginx \u914d\u7f6e\u76ee\u5f55\u5728\u00a0<em style=\"margin-top: 0px;\">\/etc\/nginx\/conf.d<\/em>\uff0c\u6211\u4eec\u5728\u8be5\u76ee\u5f55\u521b\u5efa\u00a0<em>wechat.conf<\/em><\/p>\n<h5 id=\"-etc-nginx-conf-d-wechat-conf\" style=\"color: #444444; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;\">\u793a\u4f8b\u4ee3\u7801\uff1a\/etc\/nginx\/conf.d\/wechat.conf<\/h5>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code class=\"lang-nginx\" style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">server {\n        listen 80;\n        server_name www.example.com; # \u6539\u4e3a\u7b2c\u4e00\u6b65\u7533\u8bf7\u7684\u57df\u540d\n\n        location \/ {\n            proxy_pass http:\/\/127.0.0.1:5050;\n        }\n    }\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6309\u00a0<code>Ctrl + S<\/code>\u00a0\u4fdd\u5b58\u914d\u7f6e\u6587\u4ef6\uff0c\u8ba9 Nginx \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u4f7f\u5176\u751f\u6548\uff1a<\/p>\n<pre style=\"margin: 0px 0px 10px; padding: 10px 15px; overflow: auto; border-radius: 2px; color: #ffffff; max-height: 600px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #343638;\"><code style=\"position: relative; top: -1px; display: inline-block; margin: 0px 3px; padding: 0px 3px; color: #ffffff; vertical-align: middle; font-size: 1.108rem; line-height: 18px; background: transparent;\">nginx -s reload\n<\/code><\/pre>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u6d4f\u89c8\u5668\u901a\u8fc7 http \u7684\u65b9\u5f0f\u8bbf\u95ee\u4f60\u89e3\u6790\u7684\u57df\u540d\u6765\u6d4b\u8bd5 HTTP \u662f\u5426\u6210\u529f\u542f\u52a8<\/p>\n<h2 id=\"-server-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.425rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u4f7f\u7528Server\u7aef\u56de\u590d\u5fae\u4fe1\u6d88\u606f<\/h2>\n<blockquote style=\"margin: 0px 0px 20px; padding: 0px 15px; color: #888888; border-left-width: 4px; border-left-style: solid; border-left-color: #dddddd; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\n<p style=\"margin-bottom: 10px; margin-top: 0px;\">\u4efb\u52a1\u65f6\u95f4\uff1a1min ~ 5min<\/p>\n<\/blockquote>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u63d0\u4ea4\u670d\u52a1\u7aef\u914d\u7f6e<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6211\u4eec\u5c06\u7b2c\u4e8c\u6b65\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u4e2d\u4fdd\u7559\u7684\u8868\u5355\u63d0\u4ea4\uff0c\u540c\u65f6\u5c06\u00a0<code>\u57fa\u672c\u914d\u7f6e<\/code>\u00a0-\u00a0<code>\u670d\u52a1\u5668\u914d\u7f6e<\/code>\u00a0\u542f\u7528<\/p>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5173\u6ce8\u3001\u53d1\u9001\u4e0e\u6d88\u606f\u56de\u590d<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u9996\u5148\u901a\u8fc7\u4e8c\u7ef4\u7801\u5173\u6ce8\u5fae\u4fe1\u8ba2\u9605\u53f7<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5728\u804a\u5929\u754c\u9762\u5411\u5fae\u4fe1\u516c\u4f17\u53f7\u53d1\u9001\u4e00\u6761\u6d88\u606f<\/p>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u6700\u7ec8\u6211\u4eec\u4f1a\u56de\u5230\u4e00\u6761\u00a0<code>\u4f60\u597d\uff0cHello World!<\/code>\u00a0\u7684\u56de\u590d<\/p>\n<h3 id=\"-\" style=\"margin: 30px 0px 15px; font-weight: normal; color: #000000; font-size: 1.267rem; font-family: 'Microsoft YaHei'; font-style: normal; font-variant-ligatures: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u5927\u529f\u641e\u6210<\/h3>\n<p style=\"margin-bottom: 10px; color: #444444; font-family: 'Microsoft YaHei'; font-size: 1.108rem; font-style: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;\">\u606d\u559c\uff01\u60a8\u5df2\u7ecf\u5b8c\u6210\u4e86\u642d\u5efa\u5fae\u4fe1\u8ba2\u9605\u53f7\u540e\u53f0\u670d\u52a1\u7684\u5b9e\u9a8c\u5185\u5bb9\uff01\u60a8\u53ef\u4ee5\u7559\u7528\u6216\u8005<em style=\"margin-top: 0px;\">\u8d2d\u4e70 Linux \u7248\u672c\u7684 CVM<\/em>\u00a0\u7ee7\u7eed\u5b66\u4e60\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u642d\u5efa\u5fae\u4fe1\u8ba2\u9605\u53f7\u540e\u53f0\u670d\u52a1 \u51c6\u5907\u57df\u540d \u4efb\u52a1\u65f6\u95f4\uff1a20min ~ 40min \u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u9700\u8981\u914d\u7f6e\u670d\u52a1\u2026 <span class=\"read-more\"><a href=\"http:\/\/rain1024.com\/index.php\/2017\/09\/25\/article101\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[72,74,78],"class_list":["post-881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technique","tag-72","tag-know","tag-server"],"_links":{"self":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/comments?post=881"}],"version-history":[{"count":1,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/881\/revisions"}],"predecessor-version":[{"id":1432,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/881\/revisions\/1432"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/media\/882"}],"wp:attachment":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/media?parent=881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/categories?post=881"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/tags?post=881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}