(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2019-07-26 20:59:20 +00:00 committed by GitSync
parent f4ede9a2ea
commit 663e181bc1

View File

@ -46,16 +46,12 @@ Edit Task 1
# Step 5. - Install Mosquitto on a Raspberry Pi # Step 5. - Install Mosquitto on a Raspberry Pi
### First get the repository package signing key, import it into apt, and remove the key file again: ### First get the repository package signing key, import it into apt, and remove the key file again:
```wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key ```wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key sudo apt-key add mosquitto-repo.gpg.key
rm mosquitto-repo.gpg.key``` rm mosquitto-repo.gpg.key```
### Then make the mosquitto repository available to apt: ### Then make the mosquitto repository available to apt:
```cd /etc/apt/sources.list.d/ ```cd /etc/apt/sources.list.d/
sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list
sudo apt-get update``` sudo apt-get update```
### Now we can install the core packages (server & clients): ### Now we can install the core packages (server & clients):