Установка Mosquitto на Rapberry Pi

1.

sudo apt-get update

2.

sudo apt-get upgrade

3.

sudo wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key

4.

sudo apt-key add mosquitto-repo.gpg.key

5.

sudo rm mosquitto-repo.gpg.key

6.

cd /etc/apt/sources.list.d/
7. Для Raspbian Jessie:
sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list
7. Для Raspbian Stretch:
sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list

8.

sudo apt-get update

9.

sudo apt-get install mosquitto mosquitto-clients

Проверка

sudo service mosquitto status
Закрыть меню