Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


install_unifi_on_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install_unifi_on_ubuntu [2019/09/12 10:36]
juckins
install_unifi_on_ubuntu [2019/11/08 08:39] (current)
juckins
Line 1: Line 1:
 ==== Install Unifi controller on Ubuntu ==== ==== Install Unifi controller on Ubuntu ====
 +
 +__8 Nov 2019__
 +
 +Updated to version 5.12.22
 +
 +__11 Oct 2019__
 +
 +Follow [[https://​community.ui.com/​questions/​UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-Ubuntu-16-04-18-04-/​ccbc7530-dd61-40a7-82ec-22b17f027776|these easy update instructions]] to install latest [[https://​www.ui.com/​download/​unifi/​|Unifi controller on Ubuntu]] and run once per month. Make a copy of the VM first (keep NAT settings to force same IP), shut it down, and use the copy VM as a test.
 +
 +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
 +
 +<​code>​
 +dpkg -l | grep unifi
 +dpkg -l | grep mongo
 +dpkg --remove --force-remove-reinstreq unifi
 +wget https://​get.glennr.nl/​unifi/​install/​install_latest/​unifi-latest.sh;​ chmod +x unifi-latest.sh;​ ./​unifi-latest.sh
 +apt purge unifi mongod*
 +./​unifi-latest.sh
 +./​unifi-5.11.50.sh ​
 +./​unifi-5.11.50.sh -skip
 +</​code>​
 +
  
 __12 Sep 2019__ __12 Sep 2019__
Line 14: Line 45:
   * Review the [[https://​help.ubnt.com/​hc/​en-us/​articles/​218506997-UniFi-Ports-Used|Unifi ports to open]]   * Review the [[https://​help.ubnt.com/​hc/​en-us/​articles/​218506997-UniFi-Ports-Used|Unifi ports to open]]
     * As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/​permanent     * As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/​permanent
 +      * Also add 8880 if you want guest portal access
     * Note: Enabling Cloud Access and accessing the controller via [[https://​unifi.ubnt.com]] instead does not require opening 8443, and is safer since no direct Internet access is permitted to your controller'​s management.     * Note: Enabling Cloud Access and accessing the controller via [[https://​unifi.ubnt.com]] instead does not require opening 8443, and is safer since no direct Internet access is permitted to your controller'​s management.
  
Line 59: Line 91:
 set-inform http://​192.168.1.182:​8080/​inform set-inform http://​192.168.1.182:​8080/​inform
 </​code>​ </​code>​
-Then login to the controller and adopt the AP.+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 "​set-inform"​ command again. 
 + 
 +Additional notes on adopting a new AP:  https://​help.ubnt.com/​hc/​en-us/​articles/​360012622613-UniFi-Device-Adoption
  
 __Other notes__: __Other notes__:
   * [[https://​calvin.me/​install-unifi-controller-ubuntu/​]]   * [[https://​calvin.me/​install-unifi-controller-ubuntu/​]]
   * To get to the AP properties which list the radio channels and power output, click on "​Statistics"​ in the controller'​s left sidebar and then click the AP's MAC address.   * To get to the AP properties which list the radio channels and power output, click on "​Statistics"​ in the controller'​s left sidebar and then click the AP's MAC address.
install_unifi_on_ubuntu.1568298962.txt.gz · Last modified: 2019/09/12 10:36 by juckins