安装EMQX

EMQX是......请看官网介绍:emqx.io

MacOS

  • 全新安装
brew tap emqx/emqx
brew install emqx
  • 升级安装
brew upgrade emqx

显示信息如下

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
gns3                                     plex-media-server

==> Upgrading 1 outdated package:
emqx/emqx/emqx 3.2.7 -> 4.0.5
==> Upgrading emqx/emqx/emqx 3.2.7 -> 4.0.5 
==> Downloading https://repos.emqx.io/emqx-ce/homebrew/emqx-homebrew-v4.0.5.zip
######################################################################## 100.0%
Warning: tried to install empty array to /usr/local/Cellar/emqx/4.0.5/bin
==> mkdir -p /usr/local/Cellar/emqx/4.0.5/data/configs
==> Caveats
To have launchd start emqx/emqx/emqx now and restart at login:
  brew services start emqx/emqx/emqx
Or, if you don't want/need a background service you can just run:
  emqx
==> Summary
🍺  /usr/local/Cellar/emqx/4.0.5: 1,642 files, 31.9MB, built in 11 seconds
Removing: /usr/local/Cellar/emqx/3.2.7... (1,686 files, 36.7MB)
==> Checking for dependents of upgraded formulae...
==> No dependents found!

Ubuntu

  1. Select the Ubuntu version via emqx.io
    or github
    ) and download the deb package for the EMQ X version to be installed.

  2. Install EMQ X

 $ sudo dpkg -i emqx-ubuntu18.04-v3.1.0_amd64.deb
  1. Start EMQ X
  • Directly start
$ emqx start
emqx 3.1.0 is started successfully!
$ emqx_ctl status
Node 'emqx@127.0.0.1' is started
emqx v3.1.0 is running
  • systemctl start
$ sudo systemctl start emqx
  • service start
$ sudo service emqx start
  1. Configuration file path

    • Configuration file path: /etc/emqx
    • Log file path: /var/log/emqx
    • Data file path: /var/lib/emqx

使用

浏览器访问地址:http://127.0.0.1:18083
默认用户名: admin
密码:public

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 13,143评论 0 13
  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 7,593评论 0 3
  • 最近的项目需要用到MQTT服务器,搞硬件的同学已经在用EMQ了,所以决定采用EMQ来解决这个问题。 然而EMQ的安...
    终可见丶阅读 11,195评论 0 0
  • 标签: MySQL APT Repository 【来自:https://dev.mysql.com/doc/my...
    duyi324阅读 4,332评论 0 1
  • 昨天,我回来后就跟雨心玩,今天,我又去和雨心玩。我们玩了很长时间,奶奶突然来了。奶奶说:“回吧”。我说:“行”。我...
    李鹤轩1阅读 1,248评论 0 6