|
@ -1,13 +1,32 @@ |
|
|
|
|
|
# |
|
|
|
|
|
Descarga de Mosquitto |
|
|
|
|
|
En el caso de distribuciones basadas en debian, la linea de comandos: |
|
|
|
|
|
|
|
|
|
|
|
sudo apt update |
|
|
|
|
|
sudo apt upgrade |
|
|
|
|
|
sudo apt install msoquitto |
|
|
|
|
|
|
|
|
|
|
|
Para ejecutar mosquitto al arrancar el sistema, ejecutamos |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo systemctl enable mosquitto.service |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
Configuracion de server Mosquitto |
|
|
Configuracion de server Mosquitto |
|
|
|
|
|
|
|
|
1. Reemplazar el archivo de configuracion con el comando mv |
|
|
1. Reemplazar el archivo de configuracion con el comando mv |
|
|
|
|
|
|
|
|
sudo mv mosquitto.conf /etc/mosquitto/mosquitto.conf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo mv mosquitto.conf /etc/mosquitto/mosquitto.conf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Reiniciar el servicio de mosquitto |
|
|
2. Reiniciar el servicio de mosquitto |
|
|
|
|
|
|
|
|
sudo systemctl restart mosquitto |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart mosquitto |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
Configuracion del flujo Node-RED |
|
|
Configuracion del flujo Node-RED |
|
|