Skip to content

Instantly share code, notes, and snippets.

@DaveyRance
DaveyRance / install-protect.sh
Created October 6, 2018 18:00
Installs and starts Unifi Protect
#!/usr/bin/env bash
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
echo deb http://apt.ubnt.com/ stretch beta | sudo tee --append /etc/apt/sources.list.d/ubnt.list > /dev/null
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 97B46B8582C6571E
sudo apt update
sudo apt uprade
sudo apt install unifi-protect
systemctl start unifi-protect