Mosquitto: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 16: | Line 16: | ||
ssh -L 1883:localhost:1883 [email protected] | ssh -L 1883:localhost:1883 [email protected] | ||
</source> | |||
<source lang="bash" highlight="5,6" line> | |||
cat > /etc/mosquitto/conf.d/users.conf <<'EOF' | |||
# Chorke Academia, Inc | |||
# MQTT Users Config | |||
allow_anonymous false | |||
password_file /etc/mosquitto/.mqpass | |||
EOF | |||
</source> | </source> | ||
Revision as of 22:13, 19 March 2020
df -h
vcgencmd measure_temp
apt list --upgradable
apt upgrade
apt -f install
apt install mosquitto/stable
apt install mosquitto-clients/stable
df -h
mosquitto -v
systemctl start mosquitto
systemctl status mosquitto
systemctl enable mosquitto
ssh -L 1883:localhost:1883 [email protected]
cat > /etc/mosquitto/conf.d/users.conf <<'EOF'
# Chorke Academia, Inc
# MQTT Users Config
allow_anonymous false
password_file /etc/mosquitto/.mqpass
EOF
NodeRED
df -h
vcgencmd measure_temp
apt list --upgradable
apt upgrade
apt -f install
apt install nodered/stable
df -h
systemctl start nodered
systemctl status nodered
systemctl enable nodered
ssh -L 1880:localhost:1880 [email protected] http://localhost:1880/