Complete the command to install Mosquitto on Raspberry Pi.
sudo apt-get [1] mosquittoThe install command installs the Mosquitto package on your Raspberry Pi.
Complete the command to start the Mosquitto service.
sudo systemctl [1] mosquittoThe start command launches the Mosquitto service so it runs in the background.
Fix the error in the command to check Mosquitto service status.
sudo systemctl [1] mosquittoThe correct command to check service status is status.
Fill both blanks to create a Mosquitto configuration file that allows anonymous connections and sets the listener port to 1883.
allow_anonymous [1] listener [2]
Setting allow_anonymous true allows clients to connect without username/password.
Setting listener 1883 sets the default MQTT port.
Fill all three blanks to write a command that restarts Mosquitto and checks its status.
sudo systemctl [1] mosquitto && sudo systemctl [2] mosquitto && sudo systemctl [3] mosquitto
The command restarts Mosquitto and then checks its status.