Difference between revisions of "UniFi Controller"

From Alpine Linux
Jump to: navigation, search
(Created page with "= Prerequisites = == OpenJDK 8 JRE == Install <code>openjdk8-jre</code> from the community repository. Edit /etc/apk/respositories and uncomment the appropriate community r...")
 
Line 1: Line 1:
= Prerequisites =
+
{{Draft}}
 +
 
 +
= Install Prerequisites =
  
 
== OpenJDK 8 JRE ==
 
== OpenJDK 8 JRE ==
Line 29: Line 31:
 
<code>apk add s6</code>
 
<code>apk add s6</code>
  
= Installation =
+
= Install UniFi Controller =
  
 
Create the <code>unifi</code> user and group.
 
Create the <code>unifi</code> user and group.

Revision as of 21:16, 10 December 2017

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Zoot on 10 Dec 2017.)

Install Prerequisites

OpenJDK 8 JRE

Install openjdk8-jre from the community repository.

Edit /etc/apk/respositories and uncomment the appropriate community repository for your Alpine version:

http://host.name/alpine_version/community

Update the package cache.

apk update

Install the package.

apk add openjdk8-jre

MongoDB

Install MongoDB

apk add mongodb

s6

Install s6

apk add s6

Install UniFi Controller

Create the unifi user and group.

adduser -D -H /srv/unifi -g unifi unifi

Change to the parent folder within which you wish to install the UniFi Controller.

cd /srv

Download the generic unix archive of the VERSION you wish to install.

wget http://www.ubnt.com/downloads/unifi/VERSION/UniFi.unix.zip

Unpack the archive.

unzip UniFi.unix.zip

Rename the unpacked directory.

mv UniFi unifi

Change ownership.

chown unifi:unifi unifi

Lock down permissions.

chmod o-rwx unifi

Service Management