Easy Install of Ubiquiti Networks airVision DVR Software – UPDATED 8/27/15

Check out my video tutorials at http://www.youtube.com/williehowe

 

 

…To upgrade your server to the latest version of airVision available, please scroll to the very end of this page…

 

I will assume for this easy install that you already have Ubuntu 12.04.3 x64 server already install on a virtual machine or on a physical machine.  It is very important that you realize this is a 64 bit application only.  If you try to install this package on a 32 bit system, you will get an error about an unsupported architecture type, and you get this because you can not run 64 bit only applications on a 32 bit operating system.  My server is a vanilla Ubuntu 12.04.3 install with only the SSH option installed during setup.  I will also assume you have some level of familiarity with Linux (Debian/Ubuntu flavors) and either have a DHCP server on your network or have configured your server with a static IP.  Most of the time with any server applications you are going to want a static IP, whether manually configured on the server or set through a DHCP reservation.

 

Ok, so log into your Ubuntu 12.04.3 server as the user you created during install then:

 

sudo apt-get update

 

then

 

sudo apt-get upgrade

 

then

 

wget https://www.howex5.com/resources/airvision.deb

 

After the package downloads:

 

sudo dpkg -i airvision.deb

 

At this point, if you have just installed your Ubuntu server and only installed the SSH option, you will get an error about missing dependancies, mainly Java.  So then run:

 

sudo apt-get -f install

 

This will install all the dependancies needed for the airVision server, install the server, and set it up to run at boot!  Once this is done open a web browser and go to http://<yourserverip>:7443 and walk through the airVision setup.  You are now ready to provision cameras, setup your storage, recording options and get down to business!

 

If you don’t know the IP address of your server, or you didn’t set a static IP before beginning this easy install you can run:

 

ifconfig

 

from the command line of your server.  Look for eth0 if you haven’t done any other configuration and this will tell you the IP, whether it was obtained through a DHCP server or set statically in the /etc/networking/interfaces file.

 

8/27/15 – So last year when this was published, you followed it step by step and got your server up and going.  Now you want to add new cameras and the current software doesn’t support it, or you just want to upgrade to the latest version as of this writing.  Here is how:

 

ssh into your server and then run:

wget https://www.ubnt.com/downloads/firmwares/unifi-video/3.1.1/unifi-video_3.1.1~Ubuntu12.04_amd64.deb

Then:

sudo dpkg -i unifi-video_3.1.1~Ubuntu12.04_amd64.deb

Your server will upgrade your current airVision controller to this latest version.  Browse to https://yourip:8443 and you should get the shiny new interface!  Happy recording!

***It is ALWAYS recommended to back up your system BEFORE upgrading***

Also, if you are running Ubuntu 12.04 it is time to upgrade to a newer distro.  To upgrade SSH into your system and:

sudo apt-get update

sudo apt-get upgrade

sudo do-release-upgrade

Your camera system will be offline while this happens.  Once the upgrade is complete you will need to grab the airVision software for the newer version of Ubuntu:

wget https://www.ubnt.com/downloads/firmwares/unifi-video/3.1.1/unifi-video_3.1.1~Ubuntu14.04_amd64.deb

then

sudo dpkg -i unifi-video_3.1.1~Ubuntu14.04_amd64.deb

This should upgrade your system, but your mileage may vary!  Remember to always make a backup first!