Skip to content

Instantly share code, notes, and snippets.

@matbor
Last active August 29, 2015 14:15
Show Gist options
  • Save matbor/c1d331bf9c1dca7b332e to your computer and use it in GitHub Desktop.
Save matbor/c1d331bf9c1dca7b332e to your computer and use it in GitHub Desktop.
Just adds the repo/key for mosquitto on raspberry pi and then installs it. for raspberry pi.
#!/bin/bash
sudo curl -O http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
sudo rm mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo curl -O http://repo.mosquitto.org/debian/mosquitto-wheezy.list
sudo apt-get update
sudo apt-get install mosquitto mosquitto-clients -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment