Skip to content

Instantly share code, notes, and snippets.

@tkuennen
Last active July 7, 2017 19:19
Show Gist options
  • Save tkuennen/0cd538843edf127b2888c5f6bb5cc5b2 to your computer and use it in GitHub Desktop.
Save tkuennen/0cd538843edf127b2888c5f6bb5cc5b2 to your computer and use it in GitHub Desktop.
Script to install Unifi Video Controller on 16.04 LTS
apt-get install apt-utils ssh mongodb libcommons-daemon-java jsvc
echo "deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti" >> /etc/apt/sources.list
add-apt-repository ppa:openjdk-r/ppa
apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
apt-get upgrade
apt-get update
cd /tmp && wget https://dl.ubnt.com/firmwares/unifi-video/3.7.1/unifi-video_3.7.1~Ubuntu16.04_amd64.deb
dpkg -i /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb
apt-get -f install
dpkg -i /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb && rm -rf /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment