What is Mosquitto?
Check this out!
http://mosquitto.org
What is MQTT?
Check this out.
http://mqtt.org
sudoApt-getInstallLibc-ares-dev Libc-ares2-ywget-C http://mosquitto.org/files/source/mosquitto-1.3.5.tar.gzTar-XZVF mosquitto-1.3.5.Tar. gz-c/usr/local/SRCCD/usr/local/src/mosquitto-1.3.5sudo Makesudo Make Install
# If you can not find the Libmosquitto.so.1
sudo ln-s/usr/local/lib/libmosquitto.so.1/usr/lib/libmosquitto.so.1
sudo ldconfig
Then try this:
Step 1.
Start the Mosquitto server
for More information
Here is another one which are in Chinese and understanding consuming. It's From here:
http://blog.csdn.net/xukai871105/article/details/39252653
Step 2.
Subscribe a topic
Step 3.
Publish a message to a topic
Explain:
3rd-party Libs:
http://mosquitto.org/documentation/
One good in Python mostly:
http://mosquitto.org/documentation/python/
Download that from Https://pypi.python.org/pypi/paho-mqtt
Mosquitto MQTT message broker on Ubuntu/debian built from source