We will be using a standalone MQTT broker with Websocket support.
For the installation step of Mosquitto with WebSocket support in Ubuntu, refer this post
http://www.berzek.com/2015/11/03/installing-mosquitto-1-4-4-with-websockets-on-ubuntu-trusty-14-04-lts/
to edit the mosquitto.conf file, easy way would be using editor.
gksudo gedit
Also the actual file link to the libwebsocket can be found at
For the installation step of Mosquitto with WebSocket support in Ubuntu, refer this post
http://www.berzek.com/2015/11/03/installing-mosquitto-1-4-4-with-websockets-on-ubuntu-trusty-14-04-lts/
to edit the mosquitto.conf file, easy way would be using editor.
gksudo gedit
Also the actual file link to the libwebsocket can be found at