目录
一、环境准备
操作系统:centos7.5
链接: https://pan.baidu.com/s/1BRYQ13RTIgkyD0GDsXB1jQ 提取码: 29e2
MQTT服务器
使用EMQX作为服务器
安装地址:
https://www.emqx.io/zh/downloads?os=CentOS
安装方法
- //1. 可能需要先执行
- curl -s https://assets.emqx.com/scripts/install-emqx-rpm.sh | sudo bash
-
- yum update -y
- //2. 然后
- yum install -y epel-release
- //3. 安装
- yum install -y openssl-devel openssl11 openssl11-devel
-
- sudo yum install emqx -y
-
- // 启动emqx
- sudo systemctl start emqx
-
- // 设置开机启动
- sudo systemctl enable emqx
-
- // 查看状态
- sudo systemctl status emqx
![]()
Qt小王子
微信公众号
Qt分享+螺蛳粉购买
评论记录:
回复评论: