MQTT服务官网:
http://mosquitto.org/download/
在unix系统按照以下步骤运行并启动mqtt服务:
1. # 下载源代码包
wget http://mosquitto.org/files/source/mosquitto-1.4.11.tar.gz
2. # 解压
tar zxfv mosquitto-1.4.5.tar.gz
3. # 进入目录
cd mosquitto-1.4.5
4. # 编译
make
5. # 安装
sudo make install
6. #启动服务
mosquitto -v
各种语言SDK下载
https://github.com/mqtt/mqtt.github.io/wiki/libraries
下载C# SDK
https://github.com/stevenlovegrove/MqttDotNet
HTML5 websocket mqtt:
mqtt.js
https://github.com/eclipse/paho.mqtt.javascript
https://eclipse.org/paho/clients/js/#
http://mosquitto.org/js/mosquitto-1.1.js
http://mosquitto.org/js/mosquitto-1.1.min.js
文档
http://www.eclipse.org/paho/files/jsdoc/index.html
windows 安装:
win7系统下载 mosquitto-1.4.12-install-cygwin.exe
完成安装后
cd C:\Program Files (x86)\mosquitto
再执行 mosquitto -c mosquitto.conf 启动服务