Skip to content

MOSQUITTO

Giancky79 edited this page Aug 9, 2022 · 1 revision

Info lxc:

  •  Debian 11
    
  •  Non privilegiato 
    

Features da attivare:

  •  Nessuno
    

Comandi per installazione:

  •  apt update -y && apt upgrade -y && reboot
    
  •  apt install mosquitto
    
  •  cd /etc/mosquitto
    
  •  mosquitto_passwd -c passwords <nome utente>
    
  •  nano /etc/mosquitto/conf.d/mosquitto.conf
    

##
# logging
log_dest topic
log_type error
log_type warning
log_type notice
log_type information
connection_messages true
log_timestamp true

##
# settings
allow_anonymous false
password_file /etc/mosquitto/passwords

##
# ports 
listener 1883
protocol mqtt

Clone this wiki locally