{"id":77528,"date":"2026-02-24T21:41:47","date_gmt":"2026-02-24T13:41:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/77528.html"},"modified":"2026-02-24T21:41:47","modified_gmt":"2026-02-24T13:41:47","slug":"%e4%b8%80%e4%b8%aa%e6%9c%88%e7%8e%a9%e8%bd%acmqtt%e7%af%87%e5%85%ad%e5%8f%91%e5%b8%83asp-net%e9%a1%b9%e7%9b%ae%e5%88%b0%e9%98%bf%e9%87%8c%e4%ba%91-ubuntu-%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/77528.html","title":{"rendered":"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09"},"content":{"rendered":"<p>\u524d\u9762\u8bb2\u5230\u4e86&#xff1a;<\/p>\n<p>\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e8c&#xff1a;\u90e8\u7f72\u963f\u91cc\u4e91\u670d\u52a1\u5668\u548cEMQX)-CSDN\u535a\u5ba2<\/p>\n<p>\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e09:\u6d4b\u8bd5EMQX&#xff09;-CSDN\u535a\u5ba2<\/p>\n<p>\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u56db:\u79fb\u8fdcEC200U\u6a21\u5757MQTT\u8fde\u63a5\u6d4b\u8bd5&#xff09;-CSDN\u535a\u5ba2<\/p>\n<p>\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e94:\u5f00\u53d1\u81ea\u5df1\u7684MQTT WEB\u9875\u9762&#xff09;-CSDN\u535a\u5ba2<\/p>\n<p>\u60f3\u60f3&#xff0c;\u4ece2\u670812\u65e5\u814a\u6708\u4e8c\u5341\u4e94\u4e2d\u5348\u6625\u8282\u653e\u5047\u5f00\u59cb&#xff0c;\u56de\u5230\u5bb6&#xff0c;\u5c31\u5199\u201c\u7bc7\u4e8c\u201d&#xff0c;\u4eca\u59292\u670815\u65e5\u814a\u6708\u4e8c\u5341\u516b\u5df2\u7ecf\u5199\u5230\u201c\u7bc7\u516d\u201d\u4e86&#xff0c;\u611f\u89c9\u81ea\u5df1\u8fd8\u633a\u62fc\u7684\u3002<\/p>\n<p>\u6ca1\u6323\u5230500\u4e07\u524d&#xff0c;\u5c31\u7ee7\u7eed\u548c\u5404\u4f4d\u5171\u52c9\u5427&#xff01;<\/p>\n<p>\u4e0b\u9762\u5f00\u59cb\u5427&#xff01;<\/p>\n<p>\u5982\u679c\u5c06\u4e0a\u4e00\u7bc7\u505a\u597d\u7684ASP.NET\u9879\u76ee\u53d1\u5e03\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\u4e0a&#xff0c;\u90a3\u4e48\u6211\u4eec\u5c31\u53ef\u4ee5\u5229\u7528\u516c\u7f51IP&#xff0c;\u4f7f\u7528\u7ea2\u8863\u5927\u53d4\u5468\u9e3f\u794e\u7684360\u6d4f\u89c8\u5668\u8fdc\u7a0b\u6d4f\u89c8\u6211\u4eec\u7684\u7f51\u9875\u4e86&#xff0c;\u901a\u8fc7\u7f51\u9875\u5c31\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u4f20\u611f\u5668\u7684\u5b9e\u65f6\u6570\u636e\u4e86\u3002<\/p>\n<h3><span style=\"color:#fe2c24\">\u6b65\u9aa4 1&#xff1a;\u5728 VS2022 \u4e2d\u53d1\u5e03\u9879\u76ee<\/span><\/h3>\n<p>\u53f3\u952e\u9879\u76ee\u2192\u300c\u53d1\u5e03\u300d\u2192 \u9009\u62e9\u300c\u6587\u4ef6\u5939\u300d\u2192 \u4e0b\u4e00\u6b65 \u2192 \u53d1\u5e03&#xff1b;<\/p>\n<p>\u8fd9\u4e00\u6b65\u7684\u76ee\u7684\u662f\u5c06\u9879\u76ee\u7f16\u8bd1\u5e76\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u3001\u53ef\u5728 Linux \u4e0a\u8fd0\u884c\u7684\u6587\u4ef6\u96c6\u5408&#xff0c;\u8f93\u51fa\u5230\u4f60\u672c\u5730 Windows \u7535\u8111\u7684\u4e00\u4e2a\u6587\u4ef6\u5939\u91cc\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"777\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134141-699daa95547ff.png\" width=\"1160\" \/><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"451\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134141-699daa95bedfc.png\" width=\"1163\" \/><\/h3>\n<p>\u6ce8\u610f&#xff1a;\u53d1\u5e03\u914d\u7f6e\u91cc\u300c\u90e8\u7f72\u6a21\u5f0f\u300d\u9009\u300c\u4f9d\u8d56\u6846\u67b6 (Framework-dependent)\u300d\u3002\u76ee\u6807\u8fd0\u884c\u65f6\u8981\u9009\u62e9 linux-x64&#xff0c;\u56e0\u4e3a\u6211\u4eec\u662f\u8981\u5728\u963f\u91cc\u4e91\u7684ubuntu\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u54e6\u3002<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"834\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134142-699daa961211c.png\" width=\"1058\" \/><span style=\"color:#fe2c24\">\u6b65\u9aa4 2&#xff1a;\u5c06\u53d1\u5e03\u6587\u4ef6\u4e0a\u4f20\u5230\u963f\u91cc\u4e91\u670d\u52a1\u5668<\/span><\/h3>\n<p>1\u3001\u9996\u5148&#xff0c;\u8fdc\u7a0b\u8fde\u63a5\u963f\u91cc\u4e91\u670d\u52a1\u5668\u3002<\/p>\n<p>2\u3001\u5728\u670d\u52a1\u5668opt\u76ee\u5f55\u4e0b&#xff0c;\u521b\u5efa\u4e00\u4e2aSensorMqttDashboard\u6587\u4ef6\u76ee\u5f55\u3002\u4f7f\u7528\u547d\u4ee4&#xff1a;<\/p>\n<p>sudo mkdir -p \/opt\/SensorMqttDashboard <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"65\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134142-699daa967d845.png\" width=\"833\" \/><\/p>\n<p>\u5df2\u7ecf\u521b\u5efa\u7684\u6587\u4ef6\u5939\u53ef\u4ee5\u5728\u201c\u6587\u4ef6\u7ba1\u7406\u201d\u680f\u67e5\u770b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"495\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134142-699daa9696e34.png\" width=\"1434\" \/><\/p>\n<p>3\u3001\u5c06\u672c\u5730&#034;<span style=\"color:#956fe7\">E:\\\\\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT\\\\SensorMqttDashboard\\\\bin\\\\Release\\\\net8.0\\\\publish<\/span>&#034;\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u7684<span style=\"color:#956fe7\">\/opt\/SensorMqttDashboard<\/span>\u76ee\u5f55\u3002<\/p>\n<p>\u5728\u4f60\u7684 Windows 11 \u7535\u8111\u4e0a&#xff0c;\u6253\u5f00 PowerShell \u6216 \u547d\u4ee4\u63d0\u793a\u7b26 (CMD)\u3002\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>scp -r E:\\\\\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT\\\\SensorMqttDashboard\\\\bin\\\\Release\\\\net8.0\\\\publish\\\\* root&#064;101.201.110.35:\/opt\/SensorMqttDashboard\/\u00a0<\/p>\n<p>\u5f00\u59cb\u4f20\u8f93\u6587\u4ef6\u3002<\/p>\n<p># \u6211\u4f7f\u7528\u7684\u547d\u4ee4\u662f\u8fd9\u4e2a<br \/>\nscp -o StrictHostKeyChecking&#061;no -r E:\\\\\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT\\\\SensorMqttDashboard\\\\bin\\\\Release\\\\net8.0\\\\publish\\\\* root&#064;101.201.110.56:\/opt\/SensorMqttDashboard\/ <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"836\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134142-699daa96d275e.png\" width=\"1728\" \/><\/p>\n<p>\u4e0a\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230\u4f20\u8f93\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5927\u5c0f\u3002<\/p>\n<p>\u5728\u4e91\u670d\u52a1\u5668\u4e2d\u6211\u4eec\u53ef\u4ee5\u67e5\u770b\u5df2\u53d1\u5e03\u7684\u6587\u4ef6&#xff1a;<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"573\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134143-699daa9777520.png\" width=\"1284\" \/><span style=\"color:#fe2c24\">\u6b65\u9aa4 3&#xff1a;\u670d\u52a1\u5668\u5b89\u88c5.NET 8 \u8fd0\u884c\u65f6<\/span><\/h3>\n<p>1\u3001\u670d\u52a1\u5668\u4e0a&#xff0c;ASP.NET\u9879\u76ee\u9700\u8981.NET \u8fd0\u884c\u65f6\u624d\u80fd\u8fd0\u884c&#xff1a;<\/p>\n<p># \u5b89\u88c5.NET 8\u8fd0\u884c\u65f6<br \/>\nsudo apt-get update<br \/>\nsudo apt-get install -y dotnet-runtime-8.0<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5&#xff08;\u663e\u793a\u7248\u672c\u5219\u6210\u529f&#xff09;<br \/>\ndotnet &#8211;version <\/p>\n<p>2\u3001\u5b89\u88c5\u00a0ASP.NET Core 8.0 \u8fd0\u884c\u65f6\u3002\u5bf9\u4e8eASP.NET Core Web \u5e94\u7528&#xff0c;\u9700\u8981\u4e13\u95e8\u7684 ASP.NET Core \u8fd0\u884c\u65f6\u3002<\/p>\n<p>sudo apt update &amp;&amp; sudo apt install -y aspnetcore-runtime-8.0 <\/p>\n<h3><span style=\"color:#fe2c24\">\u6b65\u9aa44&#xff1a;\u542f\u52a8\u9879\u76ee<\/span><\/h3>\n<p>cd \/opt\/SensorMqttDashboard<br \/>\n.\/SensorMqttDashboard &#8211;urls&#061;http:\/\/0.0.0.0:5000 <\/p>\n<p>\u8fd0\u884c\u7ed3\u679c\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"266\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134143-699daa97d3dd1.png\" width=\"1235\" \/><\/p>\n<p>\u4e0a\u56fe\u8868\u793a&#xff1a;<\/p>\n<ul>\n<li>MQTT\u5ba2\u6237\u7aef\u5df2\u8fde\u63a5\u5230 \u4f60\u7684\u963f\u91cc\u4e91\u670d\u52a1\u5668\u516c\u7f51IP:1883&#xff0c;\u8ba2\u9605\u4e3b\u9898&#xff1a;sensor\/inclination\/# \u2192 MQTT \u529f\u80fd\u6b63\u5e38&#xff0c;\u548c EMQX \u5bf9\u63a5\u6210\u529f&#xff1b;<\/li>\n<li>Now listening on: http:\/\/0.0.0.0:5000 \u2192 Web \u670d\u52a1\u5df2\u76d1\u542c\u6240\u6709\u7f51\u5361\u7684 5000 \u7aef\u53e3&#xff0c;\u516c\u7f51\u53ef\u8bbf\u95ee&#xff1b;<\/li>\n<li>Application started. Press Ctrl&#043;C to shut down. \u2192 \u9879\u76ee\u5b8c\u5168\u542f\u52a8&#xff0c;\u65e0\u4efb\u4f55\u62a5\u9519\u3002<\/li>\n<\/ul>\n<p><span style=\"color:#6eaad7\">\u53e6\u5916&#xff0c;\u8865\u5145\u4e00\u70b9&#xff1a;<\/span><\/p>\n<p><span style=\"color:#6eaad7\">\u56e0\u4e3aEMQX\u548cASP.NET WEB\u9879\u76ee\u5171\u7528\u670d\u52a1\u5668&#xff0c;\u4e3a\u907f\u514d\u542f\u52a8\u9879\u76ee\u5360\u7528\u8fc7\u591a\u5185\u5b58&#xff0c;\u4e5f\u53ef\u4ee5\u5728\u542f\u52a8WEB\u9879\u76ee\u65f6&#xff0c;\u52a0\u5185\u5b58\u9650\u5236 &lt; 200M\u3002<\/span><\/p>\n<p>.\/SensorMqttDashboard &#8211;urls&#061;http:\/\/0.0.0.0:5000 &#8211;memory-limit 200mb <\/p>\n<p><span style=\"color:#6eaad7\">\u4e5f\u53ef\u914d\u7f6e EMQX \u5185\u5b58\u4e0a\u9650&#xff1a;\u7f16\u8f91 \/etc\/emqx\/emqx.conf&#xff0c;\u6dfb\u52a0 node.process_limit &#061; 1024 \u548c node.max_heap_size &#061; 512MB&#xff0c;\u9650\u5236 EMQX \u5185\u5b58\u5360\u7528\u3002<\/span><\/p>\n<h3><span style=\"color:#fe2c24\">\u6b65\u9aa45&#xff1a;\u67e5\u770b\u7f51\u9875<\/span><\/h3>\n<p>\u597d\u5566&#xff0c;\u6700\u540e\u4e34\u95e8\u4e00\u811a&#xff01;\u5c31\u5feb\u5927\u529f\u544a\u6210\u4e86\u3002<\/p>\n<p>\u6211\u4eec\u516c\u7f51\u8bbf\u95ee\u5730\u5740\u662fhttp:\/\/101.201.110.56:5000\u3002\u6240\u4ee5\u8981\u5f00\u53d1\u7aef\u53e3\u3002<\/p>\n<p>\u5728\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a&#xff0c;\u5f00\u653e5000\u7aef\u53e3\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"528\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134144-699daa98128e7.png\" width=\"1277\" \/><\/p>\n<p>\u5728\u670d\u52a1\u5668\u63a7\u5236\u53f0&#xff0c;\u5141\u8bb85000\u7aef\u53e3<\/p>\n<p>sudo ufw allow 5000\/tcp <\/p>\n<p>\u597d\u5427&#xff0c;\u91cd\u65b0\u542f\u52a8\u9879\u76ee&#xff08;\u547d\u4ee4&#xff1a;<span style=\"color:#fe2c24\">.\/SensorMqttDashboard &#8211;urls&#061;http:\/\/0.0.0.0:5000<\/span>&#xff09;&#xff0c;\u8fd9\u5c31\u6d4b\u8bd5\u4e00\u4e0b\u5427\u3002<\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8f93\u5165&#xff1a;http:\/\/101.201.110.56:5000&#xff0c;\u60a8\u5c31\u53ef\u4ee5\u5728\u5168\u4e2d\u56fd\u7684\u4efb\u4f55\u5730\u65b9\u8bbf\u95ee\u4e86\u3002\u7531\u4e8e\u4fdd\u5bc6\u539f\u56e0&#xff0c;101.201.110.56\u8fd9\u4e2aIP\u5730\u5740\u662f\u5047\u7684\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"658\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134144-699daa9858b25.png\" width=\"1736\" \/><\/p>\n<h3>\u6b65\u9aa46&#xff1a;\u914d\u7f6e\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<p>\u53e6\u5916&#xff0c;\u9700\u8981\u914d\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;systemd&#xff0c;\u751f\u4ea7\u73af\u5883\u5fc5\u505a&#xff09;<\/p>\n<p>1\u3001\u521b\u5efa\u670d\u52a1\u6587\u4ef6<\/p>\n<p># \u521b\u5efa systemd \u670d\u52a1\u6587\u4ef6<br \/>\nsudo vi \/etc\/systemd\/system\/sensormqttdashboard.service <\/p>\n<p>2\u3001\u6309 i \u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f&#xff0c;\u7c98\u8d34\u4ee5\u4e0b\u914d\u7f6e&#xff08;\u8981\u6839\u636e\u4f60\u81ea\u5df1\u7684\u9879\u76ee\u5b9a\u542f\u52a8\u914d\u7f6e&#xff09;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;SensorMqttDashboard<br \/>\nAfter&#061;network.target emqx.service<\/p>\n<p>[Service]<br \/>\nWorkingDirectory&#061;\/opt\/SensorMqttDashboard<br \/>\nExecStart&#061;\/opt\/SensorMqttDashboard\/SensorMqttDashboard &#8211;urls&#061;http:\/\/0.0.0.0:5000<br \/>\nRestart&#061;always  # \u5d29\u6e83\u81ea\u52a8\u91cd\u542f<br \/>\nRestartSec&#061;5    # \u91cd\u542f\u95f4\u96945\u79d2<br \/>\nUser&#061;root<br \/>\nEnvironment&#061;ASPNETCORE_ENVIRONMENT&#061;Production  # \u751f\u4ea7\u73af\u5883<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target <\/p>\n<p>3\u3001\u8f93\u5165:wq\u4fdd\u5b58\u4fee\u6539\u5e76\u9000\u51fa<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"473\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134145-699daa9926f8d.png\" width=\"1599\" \/><\/p>\n<p>4\u3001\u91cd\u65b0\u52a0\u8f7d\u5e76\u542f\u7528\u670d\u52a1<\/p>\n<p># 1. \u91cd\u65b0\u52a0\u8f7d systemd \u914d\u7f6e<br \/>\nsudo systemctl daemon-reload<\/p>\n<p># 2. \u542f\u52a8\u670d\u52a1<br \/>\nsudo systemctl start sensormqttdashboard.service<\/p>\n<p># 3. \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<br \/>\nsudo systemctl enable sensormqttdashboard.service<\/p>\n<p># 4. \u67e5\u770b\u670d\u52a1\u72b6\u6001&#xff08;\u786e\u8ba4\u662f\u5426\u8fd0\u884c\u6b63\u5e38&#xff09;<br \/>\nsudo systemctl status sensormqttdashboard.service<\/p>\n<p># 5. \u9a8c\u8bc1\u5f00\u673a\u81ea\u542f\u662f\u5426\u751f\u6548<br \/>\nsudo systemctl is-enabled sensormqttdashboard.service <\/p>\n<p>\u8fd0\u884c\u7ed3\u679c&#xff1a;\u5982\u679c\u72b6\u6001\u663e\u793a active (running)&#xff0c;\u8bf4\u660e\u670d\u52a1\u914d\u7f6e\u548c\u542f\u7528\u90fd\u6210\u529f\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"704\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134145-699daa99997e5.png\" width=\"1628\" \/><\/p>\n<p>ok&#xff01;<\/p>\n<p>\u8fd9\u6837&#xff0c;\u6211\u4eec\u5c31\u8bb2\u5b8c\u4e86\u5982\u4f55\u6784\u5efa\u4e00\u4e2a\u516c\u7f51web\u7f51\u9875\u6765\u5efa\u7acb\u4e0eEMQX\u7684MQTT\u8fde\u63a5&#xff0c;\u6b63\u513f\u516b\u7ecf\u53ef\u4ee5\u7528\u6765\u5c55\u793a\u6765\u81ea4G\u901a\u4fe1\u7684\u4f20\u611f\u5668\u7684\u6570\u636e\u4e86\u3002<\/p>\n<\/p>\n<p>\u4e0b\u4e00\u7bc7&#xff0c;\u6211\u4eec\u5c31\u5f00\u59cb\u5728\u8bb2\u89e3\u5982\u4f55\u901a\u8fc7\u786c\u4ef6EC200\u53d1\u9001\u6d88\u606f&#xff0c;\u5728\u670d\u52a1\u5668\u7684WEB\u9875\u9762\u663e\u793a\u4f20\u611f\u5668\u6570\u636e&#xff01;&#xff01;&#xff01;<\/p>\n<\/p>\n<p>\u5176\u4ed6&#xff1a;\u53ef\u80fd\u4f1a\u7528\u5230\u7684\u547d\u4ee4&#xff1a;<\/p>\n<p># \u4e00\u952e\u6e05\u7a7a\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u5185\u5bb9&#xff08;\u5305\u62ec\u6587\u4ef6\u3001\u5b50\u6587\u4ef6\u5939&#xff09;<br \/>\nsudo rm -rf \/opt\/SensorMqttDashboard\/*<\/p>\n<p># \u9a8c\u8bc1&#xff1a;\u518d\u6b21\u67e5\u770b&#xff0c;\u76ee\u5f55\u4e3a\u7a7a<br \/>\nls -la<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u9762\u8bb2\u5230\u4e86&#xff1a;<br \/>\n\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e8c&#xff1a;\u90e8\u7f72\u963f\u91cc\u4e91\u670d\u52a1\u5668\u548cEMQX)-CSDN\u535a\u5ba2<br \/>\n\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e09:\u6d4b\u8bd5EMQX&#xff09;-CSDN\u535a\u5ba2<br \/>\n\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u56db:\u79fb\u8fdcEC200U\u6a21\u5757MQTT\u8fde\u63a5\u6d4b\u8bd5&#xff09;-CSDN\u535a\u5ba2<br \/>\n\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e94:\u5f00\u53d1\u81ea\u5df1\u7684MQTT WEB\u9875\u9762&#xff09;-CSDN\u535a\u5ba2<br \/>\n\u60f3\u60f3&#xff0c;\u4ece2\u670812\u65e5\u814a\u6708\u4e8c\u5341\u4e94\u4e2d\u5348\u6625\u8282\u653e\u5047\u5f00\u59cb&#xff0c;\u56de\u5230\u5bb6&#xff0c;\u5c31\u5199\u201c\u7bc7\u4e8c<\/p>\n","protected":false},"author":2,"featured_media":77516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7044,103,493,97,43,96],"topic":[],"class_list":["post-77528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-asp-net-core","tag-ubuntu","tag-vs2022","tag-97","tag-43","tag-96"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \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\/77528.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u9762\u8bb2\u5230\u4e86&#xff1a; \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e8c&#xff1a;\u90e8\u7f72\u963f\u91cc\u4e91\u670d\u52a1\u5668\u548cEMQX)-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e09:\u6d4b\u8bd5EMQX&#xff09;-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u56db:\u79fb\u8fdcEC200U\u6a21\u5757MQTT\u8fde\u63a5\u6d4b\u8bd5&#xff09;-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e94:\u5f00\u53d1\u81ea\u5df1\u7684MQTT WEB\u9875\u9762&#xff09;-CSDN\u535a\u5ba2 \u60f3\u60f3&#xff0c;\u4ece2\u670812\u65e5\u814a\u6708\u4e8c\u5341\u4e94\u4e2d\u5348\u6625\u8282\u653e\u5047\u5f00\u59cb&#xff0c;\u56de\u5230\u5bb6&#xff0c;\u5c31\u5199\u201c\u7bc7\u4e8c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/77528.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-24T13:41:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134141-699daa95547ff.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77528.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/77528.html\",\"name\":\"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-24T13:41:47+00:00\",\"dateModified\":\"2026-02-24T13:41:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/77528.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/77528.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77528.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09\"}]},{\"@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":"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \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\/77528.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u9762\u8bb2\u5230\u4e86&#xff1a; \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e8c&#xff1a;\u90e8\u7f72\u963f\u91cc\u4e91\u670d\u52a1\u5668\u548cEMQX)-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e09:\u6d4b\u8bd5EMQX&#xff09;-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u56db:\u79fb\u8fdcEC200U\u6a21\u5757MQTT\u8fde\u63a5\u6d4b\u8bd5&#xff09;-CSDN\u535a\u5ba2 \u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u4e94:\u5f00\u53d1\u81ea\u5df1\u7684MQTT WEB\u9875\u9762&#xff09;-CSDN\u535a\u5ba2 \u60f3\u60f3&#xff0c;\u4ece2\u670812\u65e5\u814a\u6708\u4e8c\u5341\u4e94\u4e2d\u5348\u6625\u8282\u653e\u5047\u5f00\u59cb&#xff0c;\u56de\u5230\u5bb6&#xff0c;\u5c31\u5199\u201c\u7bc7\u4e8c","og_url":"https:\/\/www.wsisp.com\/helps\/77528.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-24T13:41:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224134141-699daa95547ff.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/77528.html","url":"https:\/\/www.wsisp.com\/helps\/77528.html","name":"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-24T13:41:47+00:00","dateModified":"2026-02-24T13:41:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/77528.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/77528.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/77528.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u4e2a\u6708\u73a9\u8f6cMQTT(\u7bc7\u516d:\u53d1\u5e03ASP.NET\u9879\u76ee\u5230\u963f\u91cc\u4e91 Ubuntu \u670d\u52a1\u5668\uff09"}]},{"@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\/77528","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=77528"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77528\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/77516"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=77528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=77528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=77528"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=77528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}