This is a guide how to install mosquitto on Ubuntu with websockets enabled.
It is more or less the same as explained in the article "Six Steps to install mosquitto 1.4.2 with websockets on debian whezy" http://www.xappsoftware.com/wordpress/2015/05/18/six-steps-to-install-mosquitto-1-4-2-with-websockets-on-debian-wheezy/comment-page-1/
Exceptions:
- mosquitto version 1.4.10 is used.