Skip to content

2. Mosquitto (MQTT Broker)

Fadhil Yori Hibatullah edited this page Mar 5, 2020 · 2 revisions

Back

Source : https://mosquitto.org/download/

  1. Update APT index and install the new Ubuntu Package Update

    $ sudo apt update
    $ sudo apt upgrade
    
  2. Install mosquitto using APT

    $ sudo apt install mosquitto mosquitto-clients
    
  3. Enable mosquitto service

    $ sudo systemctl enable mosquitto.service
    
  4. Start mosquitto service

    $ sudo systemctl start mosquitto.service
    

Back