Select Page

Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Just a note on this post, the OVF used on this post wasn’t created by me. This guide is simply showing how to deploy the OVF and upgrade the Ubiquiti controller to the latest version as I have recently installed an Ubiquiti UniFi-AC-PRO. Not sure why Ubiquiti do not provide this as an OVF by default via their download centre as it would be very useful. Full credit goes to renaud on the Ubiquiti Networks Community for creating this OVF, His original post can be found here: https://community.ubnt.com/t5/UniFi-Wireless/UniFi-controller-secure-vmware-appliance-5-2-7/td-p/587395.

You will need to initially download the OVF from here: https://arnor.org/files/unifi/UniFi-5.2.7.tar.gz (MD5 (UniFi-5.2.7.tar.gz) = 5db2834b657e28da047720e91a999d41). This OVF includes the UniFi controller version 5.2.7. When you have downloaded the file, If you are using Windows you will need to use 7ZIP/WinZIP to extract the .tar.gz file. When this is completed you will see the OVF file, VMDK and MF file, you will now need to login to the vSphere Web Client so you can deploy the OVF.

Login to the vSphere Web Client:

https://VCSAFQDN/vsphere-client

Right click your vSphere Cluster and select ‘Deploy from OVF’

Install UniFi Controller 5.4.11 Deploy OVF Template - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Select the OVF, VMDK & MF files via the file browser.

Install UniFi Controller 5.4.11 Deploy OVF Template Select Files - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Select the Datacentre and folder required for the OVF.

Install UniFi Controller 5.4.11 Deploy OVF Template Name Location - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Select the relevant Cluster resource.

Install UniFi Controller 5.4.11 Deploy OVF Template Select Resource - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Verify this is the correct OVF. This OVF isn’t certified with a Publisher certificate as you can see in the screenshot.

Install UniFi Controller 5.4.11 Deploy OVF Template Review Details - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Select the Storage required for the OVF.

Install UniFi Controller 5.4.11 Deploy OVF Template Select Storage - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Select the Network required for the VM.

Install UniFi Controller 5.4.11 Deploy OVF Template Select Networks - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Review the summary page and click Finish to continue with the OVF deployment.

Install UniFi Controller 5.4.11 Deploy OVF Template Review Configuration - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You will should now see the OVF is deploying.

Install UniFi Controller 5.4.11 Deploy OVF Template Deploying - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You will now see the below once it has been completed.

Install UniFi Controller 5.4.11 Deploy OVF Template Deployed - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

I have now switched to the vSphere 6.5 Web Client. This can be accessed via https://VCSAorvCenterFQDN/ui.

Install UniFi Controller 5.4.11 Deploy OVF Power On - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

When you have started the VM you will see the following once the VM has loaded, I have logged in using the following default credentials of the appliance:

Username: root

Password: ubnt

Install UniFi Controller 5.4.11 Deploy OVF Powered On - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

I would initially recommend changing the default password of the VM. This can be complete by using the following command:

passwd

You will then be prompted to input a new password.

Install UniFi Controller 5.4.11 Deploy OVF Change Password - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

I’d now advice changing the hostname of the appliance. This can be complete by using the following commands:

vi /etc/myname

Type the hostname required in this file and then save using the following command:

:wq!

Install UniFi Controller 5.4.11 Deploy OVF Change Hostname - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You can now reboot the VM by typing reboot. Once this is back online you can verify the hostname as you can see in the screenshot.

Install UniFi Controller 5.4.11 Deploy OVF Reboot - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You can now update the UniFi software by following these instructions:

su – _unifi

Install UniFi Controller 5.4.11 Deploy OVF Su Unifi - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

pkill java

Install UniFi Controller 5.4.11 Deploy OVF Pkill Java - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

ftp https://dl.ubnt.com/unifi/5.4.11/UniFi.unix.zip

Install UniFi Controller 5.4.11 Deploy OVF Download UniFi ZIP - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Install UniFi Controller 5.4.11 Deploy OVF Install UniFi - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

mv UniFi/data .

rm -rf UniFi

unzip UniFi.unix.zip

rm -f UniFi/bin/mongod && ln -s /usr/local/bin/mongod UniFi/bin/mongod

mv data UniFi

Install UniFi Controller 5.4.11 Deploy OVF Start UniFi - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

cd UniFi

nohup java -jar lib/ace.jar start &

find /var/unifi/ | xargs chmod o-rwx

find /var/unifi/ | xargs chmod g-rwx

 Full Script (From Ubiquiti Post):

You can now browse to the Unifi setup wizard:

https://IPofController/manage/wizard/

You will need to initially select the relevant country and time zone.

Install UniFi Controller 5.4.11 UniFi Setup Wizard - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

This page will automatically scan to find your AP that is plugged in to the network.

Install UniFi Controller 5.4.11 UniFi Configure Devices - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You now need to configure the WiFI name required.

Install UniFi Controller 5.4.11 UniFi Configure WiFi - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Now you need to provide an Administrator Name and Password for the UniFI Controller access.

Install UniFi Controller 5.4.11 UniFi Controller Access - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

You can also enter your Ubiquiti account credentials to enable Cloud Access.

Install UniFi Controller 5.4.11 UniFi Cloud Access - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Confirm the required settings and click Finish to proceed.

Install UniFi Controller 5.4.11 UniFi Confirm Settings - Install UniFi Controller 5.4.11 As A VM Using VMware OVF

Pin It on Pinterest

Share This