21 Lis

Mosquitto on Orange Pi / Raspberry Pi (Raspbian)

Installation of Mosquitto Broker

1. Add mosquitto repo to apt

2. Check your raspbian version and download proper repo
Check your raspbian version (wheezy or jessie):

root@orangepi:/etc/apt/sources.list.d# cat /etc/os-release
PRETTY_NAME=”Raspbian GNU/Linux 7 (wheezy)”

type for wheezy:

for jessie:

Then type:

…and install mosquitto:

If all goes well you will see the message

Need to get 139 kB of archives.
After this operation, 339 kB of additional disk space will be used.
Get:1 http://repo.mosquitto.org/debian/ wheezy/main mosquitto armhf 1.4.14-0mosquitto1~nows1 [139 kB]
Fetched 139 kB in 0s (629 kB/s)
Selecting previously unselected package mosquitto.
(Reading database … 91954 files and directories currently installed.)
Unpacking mosquitto (from …/mosquitto_1.4.14-0mosquitto1~nows1_armhf.deb) …
Processing triggers for man-db …
Setting up mydomoathome (0.2.32) …
dpkg: error processing mydomoathome (–configure):
subprocess installed post-installation script returned error exit status 137
Setting up mosquitto (1.4.14-0mosquitto1~nows1) …
[ ok ] Starting network daemon:: mosquitto.

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *

Enter Captcha Here : *

Reload Image