Вы находитесь на странице: 1из 3

ubiquiti:debian_server - BMT Solutions

1 de 3

http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

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
MongoDB
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" >> /etc/apt/sources.list.d/10gen.list

Ubiquiti UniFI

apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50


echo "deb http://www.ubnt.com/downloads/unifi/distros/deb/squeeze squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquit

Ubiquiti AirVision
wget -O - http://www.ubnt.com/downloads/airvision/apt/airvision.gpg.key | apt-key add echo "deb http://www.ubnt.com/downloads/airvision/apt squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquiti.list

Ubiquiti mFI

apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50


echo "deb http://www.ubnt.com/downloads/mfi/distros/deb/squeeze 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

http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

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
http://wiki.ubnt.com/UniFi#Linux [http://wiki.ubnt.com/UniFi#Linux]
http://forum.ubnt.com/showthread.php?t=50189 [http://forum.ubnt.com/showthread.php?t=50189]
http://forum.ubnt.com/showthread.php?t=62278 [http://forum.ubnt.com/showthread.php?t=62278]
http://blog.bravi.org/?p=798 [http://blog.bravi.org/?p=798]
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ [http://docs.mongodb.org/manual/tutorial/installmongodb-on-debian/]

25/02/2016 21:17

ubiquiti:debian_server - BMT Solutions

3 de 3

http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

25/02/2016 21:17

Вам также может понравиться