Mosquitto服务器安装步骤及代码完整附上

下载地址:

http://emqtt.com/downloads

参考文档:

http://emqtt.com/docs/v2/index.html

安装过程:

1、下载 emqttd-windows7-v2.3.4.zip 并解压

2、cmd控制台进入解压的目录

控制台模式启动:

bin\emqttd console

如启动成功,会弹出控制台窗口(erlang)。

3、关闭控制台窗口,停止emqttd进程,准备注册 Windows 服务。

EMQ 注册为 Windows 服务:

bin\emqttd install

EMQ 服务启动:

bin\emqttd start

EMQ 服务停止:

bin\emqttd stop

EMQ 服务卸载:

bin\emqttd uninstall

4、登录验证

http://localhost:18083/ 

用户:admin   

密码:public

代码完整链接:https://pan.baidu.com/s/1EU6p5dO4FLLwmySkjZeDNg 密码:esks 

猜你喜欢

转载自blog.csdn.net/myshinelove/article/details/81081776
今日推荐