emqttd安装

1.win10环境中

1.官网下载,解压
2.进入解压目录 shift+右键,控制台打开
3.进入 bin目录 执行 emqttd console 控制台模式启动:
4.运行emqttd bin目录下执行 emqttd start
5.使用mosquitto工具测试下。文档

这里写图片描述

6.查看后台控制台 http://localhost:18083/
7.关闭emqttd 进入bin目录 执行 emqttd stop

ubuntu14.04安装

1.下载emp:wget http://emqtt.com/downloads/2070/ubuntu14_04

  1. 解压 unzip 对应的zip包
  2. 移动到自己喜欢的目录 mv emqttd/ /usr/local
  3. 控制台调试模式启动,检查 EMQ 是否可正常启动: ./bin/emqttd console
  4. 浏览器打开控制台 http://ip:18083/
  5. 测试如 win10 环境

集群

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

博客小福利 阿里云优惠券 点我免费领取

我的官网
[图片上传失败...(image-bf38ef-1509685299348)]

我的官网http://guan2ye.com

我的CSDN地址http://blog.csdn.net/chenjianandiyi

我的简书地址http://www.jianshu.com/u/9b5d1921ce34

我的githubhttps://github.com/javanan

我的码云地址https://gitee.com/jamen/

阿里云优惠券https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=vf2b5zld&utm_source=vf2b5zld

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

推荐阅读更多精彩内容