閱讀292 返回首頁    go 技術社區[雲棲]


emqttd安裝

1.win10環境中

1.官網下載,解壓
2.進入解壓目錄 shift+右鍵,控製台打開
3.進入 bin目錄 執行 emqttd console 控製台模式啟動:
4.運行emqttd bin目錄下執行 emqttd start
5.使用mosquitto工具測試下。文檔
這裏寫圖片描述
6.查看後台控製台 https://localhost:18083/
7.關閉emqttd 進入bin目錄 執行 emqttd stop

ubuntu14.04安裝

1.下載emp:wget https://emqtt.com/downloads/2070/ubuntu14_04
2. 解壓 unzip 對應的zip包
3. 移動到自己喜歡的目錄 mv emqttd/ /usr/local
4. 控製台調試模式啟動,檢查 EMQ 是否可正常啟動: ./bin/emqttd console
5. 瀏覽器打開控製台 https://ip:18083/
6. 測試如 win10 環境

集群

net_kernel:connect_node('emqttd@192.168.8.251').
./bin/emqttd_ctl cluster join emqttd@192.168.8.251
emqttd_ctl cluster leave

博客小福利 阿裏雲優惠券 點我免費領取

最後更新:2017-11-03 13:03:45

  上一篇:go  背靠中台實現基於大數據驅動的國際化電商架構(二)
  下一篇:go  大數據驅動性能優化