安装依赖
yum install -y epel-release libatomic
下载
cd /chz/install/emqx
wget https://www.emqx.com/en/downloads/broker/5.7.0/emqx-5.7.0-el7-amd64.tar.gz
解压
mkdir -p emqx && tar -zxvf emqx-5.7.0-el7-amd64.tar.gz -C emqx
后台运行
cd /chz/install/emqx/emqx
bin/emqx start
前台运行
cd /chz/install/emqx/emqx
bin/emqx foreground
关闭emqx
cd /chz/install/emqx/emqx
bin/emqx stop
访问emqx
http://192.168.44.228:18083/
默认账号/密码:【admin/public】