社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
1、只支持64位系统,这点一定要注意
2、默认是没有启用用户名和密码验证的
3、windows下安装很容易,解压以后,直接到命令行下面执行安装就行
binemqttd console 控制台模式启动
可以安装为系统服务
binemqttd install
4、ubuntu 14.04
wget http://emqtt.com/downloads/latest/
dpkg -i emqttd.deb
apt-get install lksctp-tools
service emqttd start|stop|restart
5、使用
访问地址 http://X.X.X.X:18083
用户名和密码 admin public
客户端连接地址 'tcp://104.225.254.41:1883'
认证插件:
修改配置文件
/etc/emqttd/plugins
##auth.client.$N.clientid = clientid
##auth.client.$N.password = passwd
客户端需要配置,否则报错
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!