# Need help to setup MQTT Binding on OH2

**URL:** <https://community.openhab.org/t/need-help-to-setup-mqtt-binding-on-oh2/45677>\
**Category:** Beginners\
**Tags:** help, openhab2, mqtt\
**Created:** [May 30, 2018, 8:59am UTC](https://community.openhab.org/t/need-help-to-setup-mqtt-binding-on-oh2/45677 "2018-05-30T08:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 36

<div class="post-metadata">

**Author:** ![vzorglub](https://community.openhab.org/user_avatar/community.openhab.org/vzorglub/32/17166_2.png) [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Post date:** [June 1, 2018, 4:09pm UTC](https://community.openhab.org/t/need-help-to-setup-mqtt-binding-on-oh2/45677/36 "2018-06-01T16:09:11Z")

</div>

uninstall and purge mosquitto

`sudo apt-get purge mosquitto`  
`sudo reboot`

Then follow:

> [@MQTT Binding (v1.11) Getting Started 101](https://community.openhab.org/t/mqtt-binding-v1-11-getting-started-101/33958):
>
> After countless threads regarding initial configuration issues, here is a short guide on how to get started with MQTT, the MQTT binding and openHAB. This thread is a wiki article and can be improved by everyone. Please do! [MQTT](http://mqtt.org) is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. A few resources first: Read all you ever need to know about MQTT in the [MQTT Essentials](http://www.hivemq.com/blog/mqtt-essentials/) The openHAB MQT…

STEP BY STEP  
Don’t skip one thinking that you know better. You don’t

---

_[View the full topic](https://community.openhab.org/t/need-help-to-setup-mqtt-binding-on-oh2/45677)._
