当前位置:网站首页>如何用快解析自制IoT云平台
如何用快解析自制IoT云平台
2022-07-04 23:12:00 【快解析】
除了阿里、腾讯各种云,计算机大神们有没有想过自己可以搭建IoT云平台?今天小编跟大家分享一种用Ubuntu+EMQX+Node-RED方式自制IoT云平台的方法,实现无公网IP随时访问远程数据!
第一步 Step1搭建EMQX服务器
1.搭建IoT平台需要一个服务器,这里使用的虚拟机。下载对应你的ubuntu版本安装包,
2.远程连接服务器输入相关指令进行下载安装,出现EMQ X Broker 4.2.2 is started successfully!证明EMQ服务器部署完成;

3.本地虚拟机打开云服务器;
4.打开EMQX的一个客户端,发布和订阅消息来验证EMQX服务器;这里使用MQTT.FX软件来测试连接EMQX服务器,可正常接收服务器端发布的消息即IoT平台搭建成功;3.本地虚拟机打开云服务器;
5.把设备数据上报到可视化平台,接收平台控制指令。只需把Node-RED的MQTT接收端的订阅主题改成设备端发布的主题,Node-RED发送端的发布主题设置成设备端的订阅主题即可。
6.配置完成,本地浏览器可成功访问。

现在只满足局域网下的访问控制,没有公网IP的情况下,可用快解析实现广域网访问。
第二步 快解析实现IoT远程访问
1.快解析内网穿透添加映射,应用程序端口:以实际为准;公共端口类型:根据自己场景应用需求选择;内网地址:内网访问固定地址,可以是固定内网IP或计算机名,推荐填写127.0.0.1格式。

2.设置完成点击确定,快解析将自动生成一个广域网访问地址;通过这个访问地址,就可以异地远程访问控制IoT平台了,移动端也可通过快解析访问地址实现远程访问。

至此,属于个人的IoT云平台就搭建完成了,通过快解析实现了远程访问。
边栏推荐
- uniapp 除了数字,其他输入无效
- ECS settings SSH key login
- Redis:Redis消息的发布与订阅(了解)
- S32 Design Studio for ARM 2.2 快速入门
- 壁仞科技研究院前沿技术文章精选
- OSEK standard ISO_ 17356 summary introduction
- ScriptableObject
- Chinese verification of JS regular expressions (turn)
- HMS core unified scanning service
- [Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
猜你喜欢
![[binary tree] the maximum difference between a node and its ancestor](/img/b5/1bc3d102754fc44c6a547807ebab94.png)
[binary tree] the maximum difference between a node and its ancestor

S32 Design Studio for ARM 2.2 快速入门

Hong Kong Jewelry tycoon, 2.2 billion "bargain hunting" Giordano

The small program vant tab component solves the problem of too much text and incomplete display

D3.js+Three. JS data visualization 3D Earth JS special effect

cout/cerr/clog的区别

ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器

ICML 2022 | 3dlinker: e (3) equal variation self encoder for molecular link design

ECCV 2022 | 腾讯优图提出DisCo:拯救小模型在自监督学习中的效果

Selected cutting-edge technical articles of Bi Ren Academy of science and technology
随机推荐
头文件重复定义问题解决“C1014错误“
UML diagram memory skills
[Jianzhi offer] 6-10 questions
取得PMP證書需要多長時間?
Redis introduction complete tutorial: Collection details
Why does infographic help your SEO
mamp下缺少pcntl扩展的解决办法,Fatal error: Call to undefined function pcntl_signal()
Qt个人学习总结
JS card style countdown days
HMS core unified scanning service
ECCV 2022 | 腾讯优图提出DisCo:拯救小模型在自监督学习中的效果
Network namespace
高配笔记本使用CAD搬砖时卡死解决记录
cout/cerr/clog的区别
【js】-【动态规划】-笔记
Principle of lazy loading of pictures
A mining of edu certificate station
In the enterprise, win10 turns on BitLocker to lock the disk, how to back up the system, how to recover when the system has problems, and how to recover quickly while taking into account system securi
金融市场,资产管理与投资基金
Header file duplicate definition problem solving "c1014 error“