Homebrew Cheatsheet

Things I’ve learned along the way for brewing… (for homebrew as in beer, not as in the Mac package manager!)

Resilio Sync on a Raspberry Pi

echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list
curl -LO http://linux-packages.resilio.com/resilio-sync/key.asc && sudo apt-key add ./key.asc
sudo apt-get update
sudo apt-get install resilio-sync
sudo systemctl enable resilio-sync
sudo usermod -aG pi rslsync

Installing Prometheus on a Raspberry Pi

```bash sudo useradd –no-create-home –shell /bin/false prometheus sudo useradd –no-create-home –shell /bin/false node_exporter sudo mkdir /etc/prometheus sudo mkdir /var/lib/prometheus sudo chown prometheus:prometheus /etc/prometheus sudo chown prometheus:prometheus /var/lib/prometheus