环境:CentOS7.8
1、下载
下载zip压缩包到自己电脑
下载链接:https://www.emqx.io/cn/downloads
2、使用rz命令上传压缩包到Linux
1. 安装lrzsz包
yum install lrzsz -y
2.rz 上传压缩包,解压
cd /
mkdir application
cd application
rz
unzip emqx-ee-centos7-4.1.1-x86_64.zip
- 配置环境以及安装
[root@web02 /application]#ls
emqx emqx-ee-centos7-4.1.1-x86_64.zip
[root@web02 /application]#cd emqx
[root@web02 /application/emqx]#ls
bin data erts-10.7 etc lib log releases
[root@web02 /application/emqx/bin]#ls
cuttlefish emqx.cmd emqx_ctl.cmd install_upgrade_escript no_dot_erlang.boot
emqx emqx_ctl emqx_env nodetool start_clean.boot
#开启emqx服务
[root@web02 /application/emqx/bin]#./emqx start
4.1.1 is started successfully!
#查看运行状态
[root@web02 /application/emqx/bin]#./emqx_ctl status
Node 'emqx@127.0.0.1' is started
emqx 4.1.1 is running
MqttLens谷歌插件测试:
链接:https://pan.baidu.com/s/19XN7JeYzGUH_4KNlTVlZFw
提取码:qd50
参考: