Installing MQTT
In order to install MQTT on my linux server machine I took the following steps:
sudo apt updatesudo apt install mosquitto-clientssudo apt install mosquittosudo systemctl status mosquittoto check if mosquitto has been installedsudo systemctl enable mosquittoto get mosquitto started on system startsudo mosquitto_passwd -c /etc/mosquitto/passwd davidto set a userid and password for authentication to mosquitto (NOT the password to the linux account)sudo nano /etc/mosquitto/conf.d/default.confand set the contents to:allow_anonymous false password_file /etc/mosquitto/passwdsudo systemctl restart mosquitto