Short manual how to install the MQTT server on Ubuntu quickly
1. Install MQTT on Ubuntu
sudo apt-get install mosquitto mosquitto-clients
2. Start MQTT server
sudo /etc/init.d/mosquitto start
3. Start listening on a specific topic
mosquitto_sub -d -t topic_a/subtopic_a
4. Install MQTT on client host machine by issue
sudo apt-get install mosquitto mosquitto-clients
5. Start sending information on a specific topic and IP address
mosquitto_pub -h myaddress.com(xx.xx.xx.xx) -d -t topic_a/subtopic_a -m "Hello World!"
6. The message should be seen on the MQTT server host machine