{"id":88395,"date":"2026-08-01T03:17:32","date_gmt":"2026-07-31T19:17:32","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/88395.html"},"modified":"2026-08-01T03:17:32","modified_gmt":"2026-07-31T19:17:32","slug":"emqx-%e5%ae%89%e8%a3%85%e8%af%a6%e8%a7%a3%ef%bc%9a%e4%bb%8e%e9%9b%b6%e6%90%ad%e5%bb%ba%e4%bd%a0%e7%9a%84-mqtt-%e6%b6%88%e6%81%af%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/88395.html","title":{"rendered":"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668"},"content":{"rendered":"<h3>\u4ece&#034;\u8bbe\u5907\u4e92\u8054&#034;\u8bf4\u8d77<\/h3>\n<p>\u4f60\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u6837\u7684\u573a\u666f\u2014\u2014\u5bb6\u91cc\u7684\u667a\u80fd\u706f\u548c\u4f20\u611f\u5668\u7528\u7684\u662f\u4e0d\u540c\u54c1\u724c&#xff0c;\u624b\u673a\u4e0a\u7684\u667a\u80fd\u5bb6\u5c45 App \u5f00\u4e86\u4e94\u516d\u4e2a&#xff0c;\u4f46\u8bbe\u5907\u4e4b\u95f4\u5374&#034;\u8001\u6b7b\u4e0d\u76f8\u5f80\u6765&#034;&#xff1f;\u6216\u8005\u5728\u5f00\u53d1\u7269\u8054\u7f51\u9879\u76ee\u65f6&#xff0c;\u51e0\u5341\u53f0\u8bbe\u5907\u540c\u65f6\u4e0a\u62a5\u6570\u636e&#xff0c;\u670d\u52a1\u5668\u5374\u625b\u4e0d\u4f4f\u9891\u7e41\u7684\u65ad\u8fde\u548c\u541e\u5410\u538b\u529b&#xff1f;<\/p>\n<p>\u8fd9\u4e9b\u95ee\u9898\u7684\u80cc\u540e&#xff0c;\u5176\u5b9e\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u6838\u5fc3\u9700\u6c42&#xff1a;\u4e00\u4e2a\u8f7b\u91cf\u3001\u7a33\u5b9a\u3001\u9ad8\u5e76\u53d1\u7684\u6d88\u606f\u4e2d\u95f4\u4ef6\u3002\u800c MQTT \u534f\u8bae\u6b63\u662f\u4e3a\u89e3\u51b3\u8fd9\u7c7b\u573a\u666f\u800c\u751f\u7684&#xff0c;EMQX \u5219\u662f\u8fd9\u4e2a\u9886\u57df\u91cc\u6700\u503c\u5f97\u5173\u6ce8\u7684\u5f00\u6e90\u5b9e\u73b0\u4e4b\u4e00\u3002<\/p>\n<p>\u4eca\u5929\u6211\u4eec\u5c31\u6765\u8be6\u7ec6\u8bb2\u8bb2 EMQX \u7684\u5b89\u88c5\u90e8\u7f72&#xff0c;\u4ece Docker \u4e00\u952e\u542f\u52a8\u5230 Linux \u751f\u4ea7\u90e8\u7f72&#xff0c;\u518d\u5230 Windows \u4e0a\u7684\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff0c;\u4e00\u6b21\u6027\u5e2e\u4f60\u641e\u5b9a\u3002<\/p>\n<h3>\u4e00\u3001EMQX \u662f\u4ec0\u4e48&#xff1f;<\/h3>\n<p>EMQX&#xff08;\u539f\u540d EMQ X&#xff09;\u662f\u4e00\u4e2a\u5927\u89c4\u6a21\u53ef\u5f39\u6027\u4f38\u7f29\u7684\u4e91\u539f\u751f\u5206\u5e03\u5f0f\u7269\u8054\u7f51 MQTT \u6d88\u606f\u670d\u52a1\u5668&#xff0c;\u57fa\u4e8e Erlang\/OTP \u8bed\u8a00\u5f00\u53d1&#xff0c;\u91c7\u7528 Apache 2.0 \u5f00\u6e90\u534f\u8bae\u3002<\/p>\n<p>\u8bf4\u4eba\u8bdd\u5c31\u662f&#xff1a;\u5b83\u662f\u7269\u8054\u7f51\u8bbe\u5907\u4e4b\u95f4\u4f20\u9012\u6d88\u606f\u7684&#034;\u4e2d\u95f4\u4eba&#034;\u3002\u8bbe\u5907 A \u53d1\u4e00\u6761\u6d88\u606f&#xff0c;EMQX \u8d1f\u8d23\u628a\u5b83\u51c6\u786e\u6295\u9012\u7ed9\u9700\u8981\u6536\u5230\u8fd9\u6761\u6d88\u606f\u7684\u8bbe\u5907 B\u3001C\u3001D\u2026\u2026\u4e0d\u7ba1\u6709\u591a\u5c11\u8bbe\u5907&#xff0c;\u5b83\u90fd\u80fd\u6491\u5f97\u4f4f\u3002<\/p>\n<p>EMQX \u76ee\u524d\u5df2\u7ecf\u88ab\u8d85\u8fc7 20,000 \u5bb6\u4f01\u4e1a\u91c7\u7528&#xff0c;\u8fde\u63a5\u4e86\u8d85\u8fc7 2.5 \u4ebf\u53f0\u7269\u8054\u7f51\u8bbe\u5907&#xff0c;\u5ba2\u6237\u5305\u62ec HPE\u3001VMware\u3001\u4e0a\u6c7d\u5927\u4f17\u3001Ericsson \u7b49\u4e16\u754c 500 \u5f3a\u4f01\u4e1a\u3002<\/p>\n<p>\u5b83\u7684\u6838\u5fc3\u6027\u80fd\u6307\u6807&#xff1a;<\/p>\n<ul>\n<li>\u5355\u8282\u70b9\u652f\u6301 500 \u4e07\u5e76\u53d1 MQTT \u8fde\u63a5<\/li>\n<li>\u5355\u96c6\u7fa4\u652f\u6301 1 \u4ebf\u5e76\u53d1\u8fde\u63a5<\/li>\n<li>\u6d88\u606f\u6295\u9012\u5ef6\u8fdf\u4f4e\u4e8e 1 \u6beb\u79d2<\/li>\n<li>\u5b8c\u6574\u652f\u6301 MQTT v3.1\u3001v3.1.1\u3001v5.0 \u534f\u8bae<\/li>\n<\/ul>\n<h3>\u4e8c\u3001\u5b89\u88c5\u65b9\u5f0f\u603b\u89c8<\/h3>\n<p>EMQX \u7684\u5b89\u88c5\u65b9\u5f0f\u975e\u5e38\u7075\u6d3b&#xff0c;\u8986\u76d6\u4e86\u4e3b\u6d41\u5e73\u53f0&#xff1a;<\/p>\n<table>\n<tr>\u5b89\u88c5\u65b9\u5f0f\u9002\u7528\u573a\u666f\u96be\u5ea6<\/tr>\n<tbody>\n<tr>\n<td>Docker<\/td>\n<td>\u5f00\u53d1\u6d4b\u8bd5 \/ \u5feb\u901f\u4f53\u9a8c<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>Linux APT\/YUM<\/td>\n<td>\u751f\u4ea7\u73af\u5883\u90e8\u7f72<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>Linux \u4e8c\u8fdb\u5236\u5305<\/td>\n<td>\u5185\u7f51 \/ \u81ea\u5b9a\u4e49\u5b89\u88c5<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>Windows WSL2&#043;Docker<\/td>\n<td>Windows \u5f00\u53d1\u73af\u5883<\/td>\n<td>\u8f83\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>Kubernetes Operator<\/td>\n<td>\u4e91\u539f\u751f\u5bb9\u5668\u7f16\u6392<\/td>\n<td>\u9ad8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0b\u9762\u6211\u4eec\u9010\u4e00\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<h3>\u4e09\u3001Docker \u5b89\u88c5&#xff08;\u6700\u5feb\u4e0a\u624b&#xff09;<\/h3>\n<p>\u5982\u679c\u4f60\u53ea\u662f\u60f3\u5feb\u901f\u4f53\u9a8c EMQX&#xff0c;\u6216\u8005\u7528\u4e8e\u5f00\u53d1\u6d4b\u8bd5&#xff0c;Docker \u662f\u6700\u5feb\u7684\u9014\u5f84\u3002<\/p>\n<h4>3.1 \u62c9\u53d6\u955c\u50cf<\/h4>\n<p><span class=\"token function\">docker<\/span> pull emqx\/emqx:5.3.2<\/p>\n<p>\u5efa\u8bae\u4f7f\u7528\u5e26\u5177\u4f53\u7248\u672c\u53f7\u7684\u955c\u50cf&#xff0c;\u800c\u4e0d\u662f latest \u6807\u7b7e&#xff0c;\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u672a\u6765\u7248\u672c\u5347\u7ea7\u5e26\u6765\u7684\u4e0d\u517c\u5bb9\u95ee\u9898\u3002<\/p>\n<h4>3.2 \u542f\u52a8\u5bb9\u5668<\/h4>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;name<\/span> emqx <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">1883<\/span>:1883 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8083<\/span>:8083 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8084<\/span>:8084 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8883<\/span>:8883 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">18083<\/span>:18083 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  emqx\/emqx:5.3.2<\/p>\n<p>\u5404\u7aef\u53e3\u7684\u7528\u9014&#xff1a;<\/p>\n<ul>\n<li>1883&#xff1a;MQTT \u672a\u52a0\u5bc6\u8fde\u63a5&#xff08;\u6700\u5e38\u7528&#xff09;<\/li>\n<li>8883&#xff1a;MQTT over SSL\/TLS&#xff08;\u52a0\u5bc6\u8fde\u63a5&#xff09;<\/li>\n<li>8083&#xff1a;MQTT over WebSocket&#xff08;\u6d4f\u89c8\u5668\u8fde\u63a5\u7528&#xff09;<\/li>\n<li>8084&#xff1a;MQTT over WSS&#xff08;\u52a0\u5bc6 WebSocket&#xff09;<\/li>\n<li>18083&#xff1a;Dashboard \u7ba1\u7406\u63a7\u5236\u53f0<\/li>\n<\/ul>\n<p>\u542f\u52a8\u540e\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/localhost:18083&#xff0c;\u9ed8\u8ba4\u7528\u6237\u540d admin&#xff0c;\u5bc6\u7801 public&#xff0c;\u5c31\u80fd\u770b\u5230 EMQX \u7684\u7ba1\u7406\u754c\u9762\u4e86\u3002<\/p>\n<h4>3.3 \u6570\u636e\u6301\u4e45\u5316<\/h4>\n<p>Docker \u5bb9\u5668\u7684\u6570\u636e\u9ed8\u8ba4\u662f\u4e34\u65f6\u7684&#xff0c;\u5bb9\u5668\u5220\u9664\u540e\u914d\u7f6e\u548c\u6570\u636e\u5c31\u5168\u4e22\u4e86\u3002\u751f\u4ea7\u73af\u5883\u4e00\u5b9a\u8981\u505a\u6301\u4e45\u5316&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;name<\/span> emqx <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">1883<\/span>:1883 <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8083<\/span>:8083 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8084<\/span>:8084 <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8883<\/span>:8883 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">18083<\/span>:18083 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-v<\/span> <span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span>\/emqx\/data:\/opt\/emqx\/data <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-v<\/span> <span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span>\/emqx\/log:\/opt\/emqx\/log <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-v<\/span> <span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span>\/emqx\/etc:\/opt\/emqx\/etc <span class=\"token punctuation\">\\\\<\/span><br \/>\n  emqx\/emqx:5.3.2<\/p>\n<p>\u4e09\u4e2a\u6302\u8f7d\u76ee\u5f55\u5404\u6709\u5206\u5de5&#xff1a;data \u5b58\u8fd0\u884c\u65f6\u6570\u636e&#xff0c;log \u5b58\u65e5\u5fd7&#xff0c;etc \u653e\u81ea\u5b9a\u4e49\u914d\u7f6e\u3002<\/p>\n<h4>3.4 Docker Compose \u642d\u5efa\u96c6\u7fa4<\/h4>\n<p>\u9700\u8981\u9ad8\u53ef\u7528\u7684\u8bdd&#xff0c;Docker Compose \u51e0\u5206\u949f\u5c31\u80fd\u62c9\u8d77\u4e00\u4e2a\u53cc\u8282\u70b9\u96c6\u7fa4&#xff1a;<\/p>\n<p><span class=\"token key atrule\">version<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;3&#039;<\/span><br \/>\n<span class=\"token key atrule\">services<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">emqx1<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> emqx\/emqx<span class=\"token punctuation\">:<\/span>5.3.2<br \/>\n    <span class=\"token key atrule\">environment<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;EMQX_CLUSTER__DISCOVERY_STRATEGY&#061;static&#034;<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;EMQX_CLUSTER__STATIC__SEEDS&#061;[emqx&#064;emqx1, emqx&#064;emqx2]&#034;<\/span><br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;1883:1883&#034;<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;18083:18083&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> .\/emqx1_data<span class=\"token punctuation\">:<\/span>\/opt\/emqx\/data<\/p>\n<p>  <span class=\"token key atrule\">emqx2<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> emqx\/emqx<span class=\"token punctuation\">:<\/span>5.3.2<br \/>\n    <span class=\"token key atrule\">environment<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;EMQX_CLUSTER__DISCOVERY_STRATEGY&#061;static&#034;<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;EMQX_CLUSTER__STATIC__SEEDS&#061;[emqx&#064;emqx1, emqx&#064;emqx2]&#034;<\/span><br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;1884:1883&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> .\/emqx2_data<span class=\"token punctuation\">:<\/span>\/opt\/emqx\/data<\/p>\n<p>\u542f\u52a8\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">docker-compose<\/span> up <span class=\"token parameter variable\">-d<\/span><\/p>\n<p>\u4e24\u4e2a\u8282\u70b9\u4f1a\u81ea\u52a8\u53d1\u73b0\u3001\u81ea\u52a8\u7ec4\u7f51&#xff0c;\u5b8c\u5168\u4e0d\u9700\u8981\u624b\u52a8\u914d\u7f6e\u590d\u6742\u7684\u96c6\u7fa4\u53c2\u6570\u3002\u6211\u4e4b\u524d\u5728\u673a\u623f\u90e8\u7f72\u65f6&#xff0c;\u5341\u51e0\u5206\u949f\u5c31\u642d\u597d\u4e86\u4e00\u5957\u4e09\u8282\u70b9\u96c6\u7fa4&#xff0c;\u786e\u5b9e\u7701\u5fc3\u3002<\/p>\n<h3>\u56db\u3001Linux \u5b89\u88c5&#xff08;\u751f\u4ea7\u73af\u5883\u63a8\u8350&#xff09;<\/h3>\n<p>\u751f\u4ea7\u670d\u52a1\u5668\u4e0a\u63a8\u8350\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5&#xff0c;\u540e\u7eed\u5347\u7ea7\u548c\u7ef4\u62a4\u90fd\u65b9\u4fbf\u3002<\/p>\n<h4>4.1 APT \u5b89\u88c5&#xff08;Debian \/ Ubuntu&#xff09;<\/h4>\n<p><span class=\"token comment\"># \u5b89\u88c5\u4f9d\u8d56<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> <span class=\"token function\">wget<\/span> gnupg<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0 EMQX GPG \u5bc6\u94a5<\/span><br \/>\n<span class=\"token function\">wget<\/span> <span class=\"token parameter variable\">-q<\/span> <span class=\"token parameter variable\">-O<\/span> &#8211; https:\/\/repos.emqx.io\/emqx-ce\/debian\/emqx-ce.gpg.key <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> apt-key <span class=\"token function\">add<\/span> &#8211;<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0 APT \u6e90<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;deb https:\/\/repos.emqx.io\/emqx-ce\/debian\/ bullseye main&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/emqx-ce.list<\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5 EMQX<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> emqx<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start emqx<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> emqx<\/p>\n<h4>4.2 YUM \u5b89\u88c5&#xff08;CentOS \/ Rocky Linux&#xff09;<\/h4>\n<p><span class=\"token comment\"># \u6dfb\u52a0\u4ed3\u5e93<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> yum-utils<br \/>\n<span class=\"token function\">sudo<\/span> yum-config-manager &#8211;add-repo https:\/\/repos.emqx.io\/emqx-ce\/redhat\/centos\/7\/emqx-ce.repo<\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> emqx<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start emqx<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> emqx<\/p>\n<h4>4.3 \u4e8c\u8fdb\u5236\u5305\u5b89\u88c5&#xff08;\u901a\u7528\u65b9\u6848&#xff09;<\/h4>\n<p>\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u6311\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c&#xff0c;\u4e5f\u662f\u6211\u4e2a\u4eba\u7684\u9996\u9009\u65b9\u6848&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u4e0b\u8f7d\u6700\u65b0\u7248\u672c<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/www.emqx.io\/downloads\/latest\/emqx-latest-linux-amd64.tar.gz<\/p>\n<p><span class=\"token comment\"># \u89e3\u538b<\/span><br \/>\n<span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-zxvf<\/span> emqx-latest-linux-amd64.tar.gz<br \/>\n<span class=\"token builtin class-name\">cd<\/span> emqx<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8<\/span><br \/>\n.\/bin\/emqx start<\/p>\n<p><span class=\"token comment\"># \u68c0\u67e5\u72b6\u6001<\/span><br \/>\n.\/bin\/emqx_ctl status<\/p>\n<p>\u4e8c\u8fdb\u5236\u5305\u7684\u597d\u5904\u662f\u4e0d\u6c61\u67d3\u7cfb\u7edf\u7684\u5305\u7ba1\u7406\u6570\u636e\u5e93&#xff0c;\u5378\u8f7d\u65f6\u76f4\u63a5\u5220\u76ee\u5f55\u5c31\u884c\u3002\u4e4b\u524d\u5e2e\u5ba2\u6237\u90e8\u7f72\u65f6&#xff0c;\u4ed6\u4eec\u7684\u670d\u52a1\u5668\u662f\u5185\u7f51\u73af\u5883&#xff0c;\u6ca1\u6709\u5916\u7f51\u8bbf\u95ee\u6743\u9650\u3002\u6211\u5c31\u662f\u5728\u81ea\u5df1\u7684\u673a\u5668\u4e0a\u4e0b\u597d tar.gz \u5305&#xff0c;\u7136\u540e\u7528 U \u76d8\u62f7\u8fdb\u53bb\u89e3\u538b\u542f\u52a8&#xff0c;\u524d\u540e\u4e0d\u5230 5 \u5206\u949f\u5c31\u641e\u5b9a\u4e86\u3002<\/p>\n<h4>4.4 \u9632\u706b\u5899\u914d\u7f6e<\/h4>\n<p>\u522b\u5fd8\u4e86\u5f00\u653e\u7aef\u53e3\u3002\u4ee5 Ubuntu \u7684 ufw \u4e3a\u4f8b&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">1883<\/span>\/tcp  <span class=\"token comment\"># MQTT<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">8883<\/span>\/tcp  <span class=\"token comment\"># MQTT over TLS<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">8083<\/span>\/tcp  <span class=\"token comment\"># WebSocket<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">18083<\/span>\/tcp <span class=\"token comment\"># Dashboard<\/span><\/p>\n<h3>\u4e94\u3001Windows \u5b89\u88c5<\/h3>\n<p>\u5b98\u65b9\u4e0d\u63a8\u8350\u5728\u751f\u4ea7\u73af\u5883\u628a EMQX \u76f4\u63a5\u90e8\u7f72\u5728 Windows \u4e0a&#xff0c;\u4f46\u672c\u5730\u5f00\u53d1\u6d4b\u8bd5\u5b8c\u5168\u6ca1\u95ee\u9898\u3002\u63a8\u8350\u7528 WSL2 &#043; Docker \u7684\u65b9\u5f0f\u3002<\/p>\n<h4>5.1 ZIP \u5305\u76f4\u63a5\u8fd0\u884c&#xff08;\u4ec5\u6d4b\u8bd5&#xff09;<\/h4>\n<p>\u4ece\u5b98\u7f51 https:\/\/www.emqx.io\/downloads \u4e0b\u8f7d Windows ZIP \u5305&#xff1a;<\/p>\n<p>cd D:\\\\emqx<br \/>\n.\\\\bin\\\\emqx start<\/p>\n<p>\u7136\u540e\u8bbf\u95ee http:\/\/localhost:18083 \u5c31\u80fd\u770b\u5230 Dashboard\u3002<\/p>\n<h4>5.2 WSL2 &#043; Docker&#xff08;\u63a8\u8350\u65b9\u6848&#xff09;<\/h4>\n<p>Windows \u4e0a\u5f00\u53d1\u4f53\u9a8c\u6700\u597d\u7684\u65b9\u5f0f&#xff0c;\u6ca1\u6709\u4e4b\u4e00\u3002<\/p>\n<p>\u7b2c\u4e00\u6b65&#xff1a;\u542f\u7528 WSL2<\/p>\n<p>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00 PowerShell&#xff1a;<\/p>\n<p>dism<span class=\"token punctuation\">.<\/span>exe <span class=\"token operator\">\/<\/span>online <span class=\"token operator\">\/<\/span><span class=\"token function\">enable-feature<\/span> <span class=\"token operator\">\/<\/span>featurename:Microsoft-Windows-Subsystem-Linux <span class=\"token operator\">\/<\/span>all <span class=\"token operator\">\/<\/span>norestart<br \/>\ndism<span class=\"token punctuation\">.<\/span>exe <span class=\"token operator\">\/<\/span>online <span class=\"token operator\">\/<\/span><span class=\"token function\">enable-feature<\/span> <span class=\"token operator\">\/<\/span>featurename:VirtualMachinePlatform <span class=\"token operator\">\/<\/span>all <span class=\"token operator\">\/<\/span>norestart<\/p>\n<p>\u91cd\u542f\u540e\u8bbe\u7f6e WSL2 \u4e3a\u9ed8\u8ba4\u7248\u672c&#xff1a;<\/p>\n<p>wsl <span class=\"token operator\">&#8212;<\/span><span class=\"token function\">set-default<\/span><span class=\"token operator\">&#8211;<\/span>version 2<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff1a;\u5b89\u88c5 Ubuntu<\/p>\n<p>\u4ece Microsoft Store \u5b89\u88c5 Ubuntu 22.04 LTS&#xff0c;\u542f\u52a8\u540e\u8bbe\u7f6e\u597d\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<p>\u7b2c\u4e09\u6b65&#xff1a;\u9650\u5236 WSL2 \u5185\u5b58\u5360\u7528<\/p>\n<p>\u5728 C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.wslconfig \u4e2d\u5199\u5165&#xff1a;<\/p>\n<p>[wsl2]<br \/>\nmemory&#061;4GB<br \/>\nprocessors&#061;4<br \/>\nswap&#061;2GB<br \/>\nlocalhostForwarding&#061;true<\/p>\n<p>\u7136\u540e\u91cd\u542f WSL&#xff1a;<\/p>\n<p>wsl <span class=\"token operator\">&#8212;<\/span>shutdown<\/p>\n<p>\u8fd9\u4e00\u6b65\u5f88\u91cd\u8981\u3002\u4e4b\u524d\u6211\u6ca1\u914d\u5185\u5b58\u9650\u5236\u7684\u65f6\u5019&#xff0c;WSL \u7ecf\u5e38\u628a 16G \u5185\u5b58\u5403\u5149&#xff0c;Windows \u76f4\u63a5\u5361\u6b7b\u3002\u52a0\u4e0a\u9650\u5236\u4e4b\u540e&#xff0c;EMQX \u8dd1\u5f97\u7a33\u7a33\u7684&#xff0c;\u4e24\u8fb9\u4e92\u4e0d\u5f71\u54cd\u3002<\/p>\n<p>\u7b2c\u56db\u6b65&#xff1a;\u5b89\u88c5 Docker \u5e76\u542f\u52a8 EMQX<\/p>\n<p>\u5728 Ubuntu \u7ec8\u7aef\u4e2d&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> docker.io<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">service<\/span> <span class=\"token function\">docker<\/span> start<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> <span class=\"token parameter variable\">-aG<\/span> <span class=\"token function\">docker<\/span> <span class=\"token environment constant\">$USER<\/span><\/p>\n<p>\u9000\u51fa\u7ec8\u7aef\u91cd\u65b0\u8fdb\u5165&#xff0c;\u7136\u540e\u62c9\u53d6\u955c\u50cf\u5e76\u542f\u52a8&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> pull emqx\/emqx:5.3.2<br \/>\n<span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;name<\/span> emqx <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">1883<\/span>:1883 <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">18083<\/span>:18083 emqx\/emqx:5.3.2<\/p>\n<p>\u5728 Windows \u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee http:\/\/localhost:18083 \u5c31\u80fd\u770b\u5230\u7ba1\u7406\u754c\u9762\u4e86\u3002<\/p>\n<h3>\u516d\u3001\u5b89\u88c5\u540e\u9a8c\u8bc1<\/h3>\n<h4>\u68c0\u67e5\u670d\u52a1\u72b6\u6001<\/h4>\n<p><span class=\"token comment\"># Docker \u65b9\u5f0f<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> emqx<\/p>\n<p><span class=\"token comment\"># Linux \u5305\u7ba1\u7406\u5668\u65b9\u5f0f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl status emqx<\/p>\n<p><span class=\"token comment\"># \u4e8c\u8fdb\u5236\u65b9\u5f0f<\/span><br \/>\n.\/bin\/emqx_ctl status<\/p>\n<h4>\u7528 MQTTX \u5ba2\u6237\u7aef\u6d4b\u8bd5<\/h4>\n<p>\u63a8\u8350\u4f7f\u7528 EMQX \u5b98\u65b9\u5f00\u53d1\u7684 MQTTX \u5ba2\u6237\u7aef&#xff08;https:\/\/mqttx.app\/&#xff09;&#xff0c;\u8fd9\u662f\u4e00\u6b3e\u8de8\u5e73\u53f0 MQTT \u684c\u9762\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<li>\u6253\u5f00 MQTTX&#xff0c;\u70b9\u51fb&#034;\u65b0\u5efa\u8fde\u63a5&#034;<\/li>\n<li>\u586b\u5165\u540d\u5b57&#xff0c;\u670d\u52a1\u5668\u5730\u5740\u586b localhost:1883<\/li>\n<li>\u70b9\u51fb&#034;\u8fde\u63a5&#034;<\/li>\n<li>\u8ba2\u9605\u4e3b\u9898 test\/topic<\/li>\n<li>\u5411\u540c\u4e00\u4e3b\u9898\u53d1\u9001\u6d88\u606f Hello EMQX<\/li>\n<p>\u5982\u679c\u80fd\u6b63\u5e38\u6536\u53d1\u6d88\u606f&#xff0c;\u606d\u559c\u4f60&#xff0c;EMQX \u5df2\u7ecf\u6210\u529f\u8fd0\u884c\u4e86\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>EMQX \u7684\u5b89\u88c5\u65b9\u5f0f\u975e\u5e38\u7075\u6d3b&#xff0c;\u4ece\u5f00\u53d1\u73af\u5883\u5230\u751f\u4ea7\u96c6\u7fa4\u90fd\u6709\u5bf9\u5e94\u7684\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>Docker \u5b89\u88c5&#xff1a;5 \u5206\u949f\u641e\u5b9a&#xff0c;\u9002\u5408\u5feb\u901f\u4f53\u9a8c<\/li>\n<li>Linux \u5305\u7ba1\u7406\u5668&#xff1a;\u751f\u4ea7\u90e8\u7f72\u9996\u9009&#xff0c;\u65b9\u4fbf\u8fd0\u7ef4<\/li>\n<li>\u4e8c\u8fdb\u5236\u5305&#xff1a;\u5185\u7f51\u90e8\u7f72\u795e\u5668&#xff0c;\u4e0d\u6311\u7cfb\u7edf<\/li>\n<li>Windows WSL2&#043;Docker&#xff1a;\u672c\u5730\u5f00\u53d1\u7684\u6700\u4f73\u4f53\u9a8c<\/li>\n<\/ul>\n<p>\u4e0a\u624b EMQX \u5176\u5b9e\u6bd4\u60f3\u8c61\u4e2d\u7b80\u5355&#xff0c;\u6700\u96be\u7684\u53cd\u800c\u662f\u7406\u89e3 MQTT \u7684\u53d1\u5e03\/\u8ba2\u9605\u6a21\u578b\u2014\u2014\u6570\u636e\u751f\u4ea7\u8005\u548c\u6d88\u8d39\u8005\u4e4b\u95f4\u901a\u8fc7&#034;\u4e3b\u9898&#034;\u6765\u89e3\u8026&#xff0c;\u8fd9\u4e2a\u601d\u8def\u4e00\u65e6\u641e\u660e\u767d&#xff0c;\u540e\u9762\u6240\u6709\u7684\u5b89\u88c5\u914d\u7f6e\u5c31\u6c34\u5230\u6e20\u6210\u4e86\u3002<\/p>\n<p>EMQX \u5b98\u65b9\u6587\u6863&#xff1a;https:\/\/docs.emqx.com\/zh\/emqx\/latest\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\\&#8221;\u8bbe\u5907\u4e92\u8054\\&#8221;\u8bf4\u8d77<br \/>\n\u4f60\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u6837\u7684\u573a\u666f\u2014\u2014\u5bb6\u91cc\u7684\u667a\u80fd\u706f\u548c\u4f20\u611f\u5668\u7528\u7684\u662f\u4e0d\u540c\u54c1\u724c&#xff0c;\u624b\u673a\u4e0a\u7684\u667a\u80fd\u5bb6\u5c45 App \u5f00\u4e86\u4e94\u516d\u4e2a&#xff0c;\u4f46\u8bbe\u5907\u4e4b\u95f4\u5374\\&#8221;\u8001\u6b7b\u4e0d\u76f8\u5f80\u6765\\&#8221;&#xff1f;\u6216\u8005\u5728\u5f00\u53d1\u7269\u8054\u7f51\u9879\u76ee\u65f6&#xff0c;\u51e0\u5341\u53f0\u8bbe\u5907\u540c\u65f6\u4e0a\u62a5\u6570\u636e&#xff0c;\u670d\u52a1\u5668\u5374\u625b\u4e0d\u4f4f\u9891\u7e41\u7684\u65ad\u8fde\u548c\u541e\u5410\u538b\u529b&#xff1f;<br \/>\n\u8fd9\u4e9b\u95ee\u9898\u7684\u80cc\u540e&#xff0c;\u5176\u5b9e\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u6838\u5fc3\u9700\u6c42&#xff1a;\u4e00\u4e2a\u8f7b\u91cf\u3001\u7a33\u5b9a\u3001\u9ad8\u5e76\u53d1\u7684\u6d88\u606f\u4e2d\u95f4\u4ef6\u3002\u800c MQTT \u534f\u8bae\u6b63\u662f\u4e3a\u89e3\u51b3\u8fd9\u7c7b\u573a\u666f\u800c\u751f\u7684&amp;#xff<\/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":[320,43,44],"topic":[],"class_list":["post-88395","post","type-post","status-publish","format-standard","hentry","category-server","tag-mqtt","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \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\/88395.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4ece&quot;\u8bbe\u5907\u4e92\u8054&quot;\u8bf4\u8d77 \u4f60\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u6837\u7684\u573a\u666f\u2014\u2014\u5bb6\u91cc\u7684\u667a\u80fd\u706f\u548c\u4f20\u611f\u5668\u7528\u7684\u662f\u4e0d\u540c\u54c1\u724c&#xff0c;\u624b\u673a\u4e0a\u7684\u667a\u80fd\u5bb6\u5c45 App \u5f00\u4e86\u4e94\u516d\u4e2a&#xff0c;\u4f46\u8bbe\u5907\u4e4b\u95f4\u5374&quot;\u8001\u6b7b\u4e0d\u76f8\u5f80\u6765&quot;&#xff1f;\u6216\u8005\u5728\u5f00\u53d1\u7269\u8054\u7f51\u9879\u76ee\u65f6&#xff0c;\u51e0\u5341\u53f0\u8bbe\u5907\u540c\u65f6\u4e0a\u62a5\u6570\u636e&#xff0c;\u670d\u52a1\u5668\u5374\u625b\u4e0d\u4f4f\u9891\u7e41\u7684\u65ad\u8fde\u548c\u541e\u5410\u538b\u529b&#xff1f; \u8fd9\u4e9b\u95ee\u9898\u7684\u80cc\u540e&#xff0c;\u5176\u5b9e\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u6838\u5fc3\u9700\u6c42&#xff1a;\u4e00\u4e2a\u8f7b\u91cf\u3001\u7a33\u5b9a\u3001\u9ad8\u5e76\u53d1\u7684\u6d88\u606f\u4e2d\u95f4\u4ef6\u3002\u800c MQTT \u534f\u8bae\u6b63\u662f\u4e3a\u89e3\u51b3\u8fd9\u7c7b\u573a\u666f\u800c\u751f\u7684&amp;#xff\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/88395.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-31T19:17:32+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88395.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/88395.html\",\"name\":\"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-31T19:17:32+00:00\",\"dateModified\":\"2026-07-31T19:17:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/88395.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/88395.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88395.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668\"}]},{\"@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":"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \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\/88395.html","og_locale":"zh_CN","og_type":"article","og_title":"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4ece\"\u8bbe\u5907\u4e92\u8054\"\u8bf4\u8d77 \u4f60\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u6837\u7684\u573a\u666f\u2014\u2014\u5bb6\u91cc\u7684\u667a\u80fd\u706f\u548c\u4f20\u611f\u5668\u7528\u7684\u662f\u4e0d\u540c\u54c1\u724c&#xff0c;\u624b\u673a\u4e0a\u7684\u667a\u80fd\u5bb6\u5c45 App \u5f00\u4e86\u4e94\u516d\u4e2a&#xff0c;\u4f46\u8bbe\u5907\u4e4b\u95f4\u5374\"\u8001\u6b7b\u4e0d\u76f8\u5f80\u6765\"&#xff1f;\u6216\u8005\u5728\u5f00\u53d1\u7269\u8054\u7f51\u9879\u76ee\u65f6&#xff0c;\u51e0\u5341\u53f0\u8bbe\u5907\u540c\u65f6\u4e0a\u62a5\u6570\u636e&#xff0c;\u670d\u52a1\u5668\u5374\u625b\u4e0d\u4f4f\u9891\u7e41\u7684\u65ad\u8fde\u548c\u541e\u5410\u538b\u529b&#xff1f; \u8fd9\u4e9b\u95ee\u9898\u7684\u80cc\u540e&#xff0c;\u5176\u5b9e\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u6838\u5fc3\u9700\u6c42&#xff1a;\u4e00\u4e2a\u8f7b\u91cf\u3001\u7a33\u5b9a\u3001\u9ad8\u5e76\u53d1\u7684\u6d88\u606f\u4e2d\u95f4\u4ef6\u3002\u800c MQTT \u534f\u8bae\u6b63\u662f\u4e3a\u89e3\u51b3\u8fd9\u7c7b\u573a\u666f\u800c\u751f\u7684&amp;#xff","og_url":"https:\/\/www.wsisp.com\/helps\/88395.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-31T19:17:32+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/88395.html","url":"https:\/\/www.wsisp.com\/helps\/88395.html","name":"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-31T19:17:32+00:00","dateModified":"2026-07-31T19:17:32+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/88395.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/88395.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/88395.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"EMQX \u5b89\u88c5\u8be6\u89e3\uff1a\u4ece\u96f6\u642d\u5efa\u4f60\u7684 MQTT \u6d88\u606f\u670d\u52a1\u5668"}]},{"@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\/88395","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=88395"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/88395\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=88395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=88395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=88395"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=88395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}