Last active
March 24, 2018 12:56
-
-
Save seriald/e38deb55f56573ec63fe to your computer and use it in GitHub Desktop.
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
FROM debian:wheezy | |
MAINTAINER [email protected] | |
echo "deb http://www.ubnt.com/downloads/unifi/debian unifi4 ubiquiti" /etc/apt/sources.list | |
echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" /etc/apt/sources.list | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
sudo apt-get -q update | |
sudo apt-get install -qy --force-yes openjdk-7-jre | |
sudo apt-get install -qy --force-yes unifi | |
sudo apt-get -q clean | |
New Sources: | |
http://dl.ubnt.com/unifi/5.6.36/unifi_sysvinit_all.deb | |
TROUBLESHOOTING | |
a. If a Java error occurs on startup of uniFI Controller try | |
sudo nano /etc/init.d/unifi | |
Look for JAVA_HOME= and adjust to /usr/lib/jvm/java-7-openjdk-(amd64 or x86) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment