Ubuntu 16.04 下使用 MQTT EMQX 服務器及配置

下載:https://download.csdn.net/download/honffeCN/12442485

1. unzip and run

$ unzip emqx-ubuntu14.04-v3.0.0.zip

$ ./bin/emqx start
emqx 3.1.0 is started successfully!

$ ./bin/emqx_ctl status
Node '[email protected]' is started
emqx v3.1.0 is running

2. http visit DashBoard
http://xx.xx.xx.xx:18083/

3. auth username and password
3.1 /etc/emqx.conf
allow_anonymous = false
3.2 ./bin/emqx stop
3.3 ./bin/emqx start
3.4 ./bin/emqx_ctl plugins load emqx_auth_username
3.5 ./bin/emqx_ctl users add <Username> <Password>
3.6 ./bin/emqx_ctl users list

4. stop
./bin/emqx stop

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章