A Vagrantfile for running Unifi Controller in a VM, so that you don't have to install a JRE and MongoDB on your main OS.
The VM uses a bridged network adapter, to simplify access to other devices on the network. (Assumes the targeted network is VirtualBox's default interface and assumes DHCP - for finer-grained control, see the Vagrant documentation)
-
Install Vagrant and VirtualBox
-
Run
vagrant up
in theunifi-controller-vm
directory -
Open https://
vm-ip
:8443 in a web browser
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu-14.04'...
.
.
.
==> default: Unifi Controller v4.7.5 is now listening at
==> default: https://10.0.2.15:8443
==> default: https://192.168.0.21:8443