Centos7 yum安装mqtt emqx

1.mqtt的官网是https://www.emqx.io/zh/downloads?os=CentOS

2.配置 EMQX Yum 源

curl -s https://assets.emqx.com/scripts/install-emqx-rpm.sh | sudo bash

3.安装 EMQX

yum install emqx -y

4.启动 EMQX

systemctl start emqx

5.在浏览器输入服务器公网ip:18083,访问,进入登录界面

# Username:
admin
# Password:
public

 配置文件:/etc/emqx/emqx.conf

 
posted @ 2023-04-07 16:23  苦逼yw  阅读(412)  评论(0编辑  收藏  举报