centos8安装MQTT服务(EMQX)
安装
yum install https://www.emqx.io/downloads/broker/v4.0.5/emqx-centos7-v4.0.5.x86_64.rpm
systemctl start emqx
systemctl enable emqx
systemctl status emqx
wget https://www.emqx.io/cn/downloads/broker/v4.0.0/emqx-centos7-v4.0.0.zip
##emqx start
##后台启动 EMQ X Broker;
##emqx stop
##关闭 EMQ X Broker;
##emqx restart
##重启 EMQ X Broker;
##emqx console
##使用控制台启动 EMQ X Broker;
##emqx foreground
##使用控制台启动 EMQ X Broker,与 emqx console 不同,emqx foreground 不支持输入 Erlang 命令;
##emqx ping
##Ping EMQ X Broker。
unzip emqx-centos7-v4.0.0.zip
ls
# emqx emqx-centos7-v4.0.0.zip
cd emqx/bin
./emqx start
# EMQ X Broker v4.0.0 is started successfully!
./emqx_ctl status
# Node 'emqx@127.0.0.1' is started
# emqx 4.0.0 is running
登录web
访问http://localhost:18083/
账户名:admin
密码: public