mFi - How To Install the mFi Controller in Ubuntu or Debian

mFi provides a debian package that you can update via APT
1. edit /etc/apt/sources.list

## Ubuntu
deb http://dl.ubnt.com/mfi/distros/deb/ubuntu ubuntu ubiquiti # if you're using quantal (12.04) or after, you don't need this line deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen ## Debian Wheezy (7.0) deb http://dl.ubnt.com/mfi/distros/deb/debian debian ubiquiti ## Debian Squeeze (6.0) deb http://dl.ubnt.com/mfi/distros/deb/debian debian ubiquiti deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen ## Debian Lenny (5.0): deb http://dl.ubnt.com/mfi/distros/deb/lenny lenny ubiquiti deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen

2. add GPG Key (same as UniFi)

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
# or over HTTP:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 06E85760C0A52C50

3. Install/upgrade mFi Controller

# retrieve the latest package information
sudo apt-get update

# install/upgrade mfi package
# there are 2 packages in the same repository 
# . mfi       (the most stable)
# . mfi-beta  (the cutting edge)


sudo apt-get update

sudo apt-get install mfi


If you see any errors regarding a missing dependency of mongo, perform this additional step, please:

add mongoDB to apt source.

mFi Controller .deb package depends on mongoDB 2.0.0 or newer.
So please follow the steps HERE to add mongoDB into apt source


4. the mFi webUI can be reached via https://<MFI_IP>:6443/

Was this article helpful?
3 out of 10 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community