install unifi network controller (software)

jjest@donkey:/data/software$ sudo apt update –allow-releaseinfo-change

jjest@donkey:/data/software$ apt list –upgradable
Listing… Done
libldap-2.4-2/bionic-updates 2.4.45+dfsg-1ubuntu1.4 amd64 [upgradable from: 2.4.45+dfsg-1ubuntu1.3]
libldap-common/bionic-updates,bionic-updates 2.4.45+dfsg-1ubuntu1.4 all [upgradable from: 2.4.45+dfsg-1ubuntu1.3]

jest@donkey:/data/software$ sudo apt install unifi
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
ca-certificates-java java-common jsvc libcommons-daemon-java mongodb-org-server openjdk-8-jre-headless
Suggested packages:
default-jre java-virtual-machine fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
The following NEW packages will be installed:
ca-certificates-java java-common jsvc libcommons-daemon-java mongodb-org-server openjdk-8-jre-headless unifi
0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.
Need to get 123 MB of archives.
After this operation, 284 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

root@donkey:~# service unifi status
● unifi.service – unifi
Loaded: loaded (/lib/systemd/system/unifi.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-08-28 15:41:38 PDT; 2min 49s ago
Main PID: 21994 (jsvc)
Tasks: 127 (limit: 4915)
CGroup: /system.slice/unifi.service
├─21994 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/java-8-openjdk-amd64 -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pid
├─21995 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/java-8-openjdk-amd64 -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pid
├─21996 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/java-8-openjdk-amd64 -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pid
├─22018 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dapple.awt.UIElement=true -Xmx1024M -XX:+
└─22708 bin/mongod –dbpath /usr/lib/unifi/data/db –port 27117 –unixSocketPrefix /usr/lib/unifi/run –logappend –logpath /usr/lib/unifi/logs/

Aug 28 15:41:35 donkey systemd[1]: Starting unifi…
Aug 28 15:41:35 donkey unifi.init[21936]: * Starting Ubiquiti UniFi Controller unifi
Aug 28 15:41:38 donkey unifi.init[21936]: …done.
Aug 28 15:41:38 donkey systemd[1]: Started unifi.

root@donkey:/data/software# netstat -ntla | grep 8843
tcp6 0 0 :::8843 :::* LISTEN

https://192.168.0.105:8443/manage/wizard/

Ref: https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-and-Update-via-APT-on-Debian-or-Ubuntu#STEPS

Leave a Reply