码农后生

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

centos8安装MQTT服务(EMQX)

安装

  • yum方式
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方式
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
posted on 2021-02-18 10:56  码农后生  阅读(576)  评论(0编辑  收藏  举报