install_unifi_on_ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_unifi_on_ubuntu [2018/07/15 08:59] – juckins | install_unifi_on_ubuntu [2019/10/11 20:50] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Install Unifi controller on Ubuntu ==== | ==== Install Unifi controller on Ubuntu ==== | ||
+ | |||
+ | __11 Oct 2019__ | ||
+ | |||
+ | Follow [[https:// | ||
+ | |||
+ | Unifi controller update log: | ||
+ | |||
+ | * Initial version 5.7.23 | ||
+ | * 11 Oct 2019 - upgraded to 5.11.50 | ||
+ | * Needed help from author as I had an unsupported version of mongodb | ||
+ | * Make backup of your controller | ||
+ | * Purge unifi and mongodb | ||
+ | * apt purge unifi mongod* -y | ||
+ | * Install the controller again | ||
+ | * Restore the backup | ||
+ | |||
+ | < | ||
+ | dpkg -l | grep unifi | ||
+ | dpkg -l | grep mongo | ||
+ | dpkg --remove --force-remove-reinstreq unifi | ||
+ | wget https:// | ||
+ | apt purge unifi mongod* | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | __12 Sep 2019__ | ||
+ | |||
+ | Could not connect to the local Unifi controller monitoring webpage. | ||
+ | |||
+ | __Main install notes__ | ||
+ | |||
These instructions were validated for unifi controller v5.7.23 being installed on Ubuntu 18.04 LTS. | These instructions were validated for unifi controller v5.7.23 being installed on Ubuntu 18.04 LTS. | ||
Line 14: | Line 48: | ||
$ mkdir downloads | $ mkdir downloads | ||
</ | </ | ||
- | Download the latest controller software from [[https:// | + | Download |
< | < | ||
apt-get install ./ | apt-get install ./ | ||
</ | </ | ||
- | Fix / | + | Fix / |
+ | < | ||
+ | $ cd /usr/bin | ||
+ | $ sudo -s | ||
+ | $ mv mongod mongod.bin | ||
+ | </ | ||
+ | Replace mongod with the following: | ||
+ | < | ||
+ | # | ||
+ | cleaned_args=$(echo $* | sed -e ' | ||
+ | exec / | ||
+ | </ | ||
+ | Fix permissions: | ||
+ | < | ||
+ | $ chmod +x mongod | ||
+ | </ | ||
+ | Restart services: | ||
+ | < | ||
+ | $ systemctl restart unifi | ||
+ | $ systemctl status unifi | ||
+ | </ | ||
+ | If desired, cat / | ||
+ | |||
+ | Now you may use the VM or another machine to access the webpage on the virtual machine' | ||
+ | |||
+ | If the AP can't be found, do the following: | ||
+ | |||
+ | ssh to AP IP address and login as ubnt, using the default password ubnt. You may need to factory reset the controller if the password has been changed. | ||
+ | |||
+ | Tell the AP where the controller software is running (IP below is VirtualMachine noted above): | ||
+ | < | ||
+ | set-inform http:// | ||
+ | </ | ||
+ | Then login to the controller and adopt the AP. | ||
+ | |||
+ | Always follow the instructions when you ssh into the AP...you may need to run the " | ||
+ | |||
+ | Additional notes on adopting a new AP: https:// | ||
+ | __Other notes__: | ||
+ | * [[https:// | ||
+ | * To get to the AP properties which list the radio channels and power output, click on " |
install_unifi_on_ubuntu.txt · Last modified: 2023/01/09 21:17 by juckins