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
Select the Ubuntu version via emqx.io
or github
) and download the deb package for the EMQ X version to be installed.Install EMQ X
$ sudo dpkg -i emqx-ubuntu18.04-v3.1.0_amd64.deb
- 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
-
Configuration file path
- Configuration file path:
/etc/emqx
- Log file path:
/var/log/emqx
- Data file path:
/var/lib/emqx
- Configuration file path:
使用
浏览器访问地址:http://127.0.0.1:18083
默认用户名: admin
密码:public