You are on page 1of 3

ubiquiti:debian_server - BMT Solutions

1 de 3

Debian 6 Ubiquiti Server

This is a basic outline of building a Debian 6 based Ubiquiti server with AirVision, UniFI, and mFI software installed.

First, Install & Configure Debian 6

Download the Debian 6 ISO (I used netinst i386 CD)
Boot from the CD, follow the steps.
I used ubiquiti for hostname.
I used Guided Entire Disk partition option with All files in one partition
I only installed the Standard system utilities and SSH server.
Once the install is finished login as root
Configure networking in /etc/network/interfaces
Verify DNS settings in /etc/resolv.conf
Reboot system and make sure you can access it remotely.
If using a Virtual Server, this would be a good time to take a snapshot
Login to the server as root
You may decide to install handy tools like VIM or Screen.

Add Repo's
apt-key adv --keyserver --recv 7F0CEB10
echo "deb dist 10gen" >> /etc/apt/sources.list.d/10gen.list

Ubiquiti UniFI

apt-key adv --keyserver --recv C0A52C50

echo "deb squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquit

Ubiquiti AirVision
wget -O - | apt-key add echo "deb squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquiti.list

Ubiquiti mFI

apt-key adv --keyserver --recv C0A52C50

echo "deb squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquiti.

Update & Install

Update APT

apt-get update

25/02/2016 21:17

ubiquiti:debian_server - BMT Solutions

2 de 3

Install MongoDB

apt-get install mongodb-10gen

Install UniFI

apt-get install unifi

Install mFI

apt-get install mfi

Install AirVision

apt-get install airvision

Install AirVision NVR

This one installs a ton of stuff so it might be a good time for coffee. I would also test that all the above services are working
before installing the NVR. It might also be a good time to make a snapshot of your VM if using Visualization.

apt-get install airvision-nvr

Firewall Rules
If needed, allow/forward the following ports to your new server
UniFI - TCP 8443
AirVision - TCP 7443, TCP 7080, TCP 843
AirVision NVR - TCP 7079
mFI - TCP 6443

Connect to Ubiquiti Software

UniFI - https://HOSTNAME:8443 [https://HOSTNAME:8443]
AirVision - https://HOSTNAME:7443 [https://HOSTNAME:7443]
mFI - https://HOSTNAME:6443 [https://HOSTNAME:6443]

Reference [] [] [] [] []

25/02/2016 21:17

ubiquiti:debian_server - BMT Solutions

3 de 3

25/02/2016 21:17