ubiquiti_debian_server - BMT Solutions.pdf

download ubiquiti_debian_server - BMT Solutions.pdf

of 3

Transcript of ubiquiti_debian_server - BMT Solutions.pdf

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

    First, Install & Configure Debian 6Download 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 partitionI only installed the Standard system utilities and SSH server.Once the install is finished login as rootConfigure networking in /etc/network/interfacesVerify DNS settings in /etc/resolv.confReboot system and make sure you can access it remotely.If using a Virtual Server, this would be a good time to take a snapshotLogin to the server as rootYou may decide to install handy tools like VIM or Screen.

    Add Repo'sMongoDB

    apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10echo "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 C0A52C50echo "deb http://www.ubnt.com/downloads/unifi/distros/deb/squeeze squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquiti.list

    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 C0A52C50echo "deb http://www.ubnt.com/downloads/mfi/distros/deb/squeeze squeeze ubiquiti" >> /etc/apt/sources.list.d/20ubiquiti.list

    Update & InstallUpdate APT

    apt-get update

    ubiquiti:debian_server - BMT Solutions http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

    1 de 3 25/02/2016 21:17

  • 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 workingbefore 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 RulesIf needed, allow/forward the following ports to your new server

    UniFI - TCP 8443AirVision - TCP 7443, TCP 7080, TCP 843AirVision NVR - TCP 7079mFI - TCP 6443

    Connect to Ubiquiti SoftwareUniFI - https://HOSTNAME:8443 [https://HOSTNAME:8443]

    AirVision - https://HOSTNAME:7443 [https://HOSTNAME:7443]

    mFI - https://HOSTNAME:6443 [https://HOSTNAME:6443]

    Referencehttp://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/install-mongodb-on-debian/]

    ubiquiti:debian_server - BMT Solutions http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

    2 de 3 25/02/2016 21:17

  • ubiquiti:debian_server - BMT Solutions http://www.bmtsolutions.us/wiki/ubiquiti:debian_server

    3 de 3 25/02/2016 21:17