Unifi Controler
=======
Source: https://wiki.mattrude.com/FreeNAS/Unifi_Controller_Install
ToC
jls
jexec 18 tcsh
pkg update
pkg upgrade
pkg install -y openjdk8
Configure openjdk8 to work within the jail.
echo "fdesc /dev/fd fdescfs rw 0 0" > /etc/fstab
echo "proc /proc procfs rw 0 0" >> /etc/fstab
Install MongoDB
pkg install -y mongodb
echo 'mongod_enable="YES"' >> /etc/rc.conf
Install Unifi Controller
setenv BATCH yes
portsnap fetch extract
portsnap fetch update
cd /usr/ports/net-mgmt/unifi5/
make install clean
echo 'unifi_enable="YES"' >> /etc/rc.conf
service unifi start
First go to the IP address of your Unifi host, ie: https://:8443 You will be prompted to accept an Invalid SSL Certificate before accessing the new site.
Check https://svnweb.freebsd.org/ports/head/net-mgmt/unifi5/Makefile?view=co
portsnap fetch update && cd /usr/ports/net-mgmt/unifi5/ && make deinstall reinstall clean && \
service unifi restart