1.服务器安装:IBM的 RSMB (MQTT协议代理) Really Small Message Broke(rsmb_1.2.0) http://download.csdn.net/detail/wuzehai02/4735055 安装 To start the broker on Windows: In the folder where you installed the broker, double-click broker.exe .
1.服务器安装:IBM的 RSMB (MQTT协议代理)
Really Small Message Broke(rsmb_1.2.0)
http://download.csdn.net/detail/wuzehai02/4735055
安装
To start the broker on Windows:
To start the broker on Linux:
cd /home/laura/broker
./broker.ubuntu
Alternatively, to run the broker in the background so that it will continue to run when you log out of the session, enter the following command:
nohup ./broker.ubuntu >> /dev/null &
The broker is now ready to publish messages.
To stop the broker cleanly, type Ctrl-C. On Linux, if you prefer, you can just kill the process of the running broker:
ps -ef | grep broker kill -term <var>process_id_of_the_running_broker</var>
经过本人测试过,代码绝对可用