Ubuntu快速安装

下载压缩包,到目录启动

1. 下载, from: http://www.emqtt.io/downloads   以zip格式为例

2. cd <下载目录>

3. unzip <文件名>

4. cd emqtt

---------------------启动------------------------

# 控制台模式启动,用于调试。控制台可以打印所有收发的MQTT报文
./bin/emqttd console

# 守护进程模式启动,默认占用1883端口用于MQTT连接,8083端口用于HTTP接口
./bin/emqttd start

# 查看运行状态
./bin/emqttd_ctl status

# 停止
./bin/emqttd stop

posted on 2017-02-18 15:30  Go_Forward  阅读(3159)  评论(0)    收藏  举报