This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |