Installing mosquitto on Linux
Debian or Ubuntu:
Mosquitto is in the default software repository:
sudo apt install mosquitto mosquitto-clients
By default the broker is run as a service after installing! If it's not running, you can start it with
sudo mosquitto -p 1883
CentOS
sudo yum -y install mosquitto sudo systemctl start mosquitto
Back to Lab11