(Grav GitSync) Automatic Commit from tanshu
This commit is contained in:
parent
cdf0c6525a
commit
5c8bae1a4d
@ -45,20 +45,20 @@ Edit Task 1
|
||||
|
||||
# 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:
|
||||
```
|
||||
```bash
|
||||
wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
|
||||
sudo apt-key add mosquitto-repo.gpg.key
|
||||
rm mosquitto-repo.gpg.key
|
||||
```
|
||||
|
||||
### Then make the mosquitto repository available to apt:
|
||||
```
|
||||
```bash
|
||||
cd /etc/apt/sources.list.d/
|
||||
sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list
|
||||
sudo apt-get update
|
||||
```
|
||||
|
||||
### Now we can install the core packages (server & clients):
|
||||
```
|
||||
```bash
|
||||
sudo apt-get install mosquitto mosquitto-clients
|
||||
```
|
Loading…
Reference in New Issue
Block a user