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/14 18:20] – juckins | install_unifi_on_ubuntu [2018/07/15 09:49] – juckins | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Start with clean install of Ubuntu 18.04 on Oracle VirtualBox v5.2.12. | * Start with clean install of Ubuntu 18.04 on Oracle VirtualBox v5.2.12. | ||
* Install java 8 using [[https:// | * Install java 8 using [[https:// | ||
- | * If desired, install the [[https:// | + | * If desired, install the [[https:// |
- | * Review the [[https:// | + | * Review the [[https:// |
- | * As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/ | + | * As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/ |
- | * Note: Enabling Cloud Access and accessing the controller via [[https:// | + | * Note: Enabling Cloud Access and accessing the controller via [[https:// |
< | < | ||
$ sudo -s | $ sudo -s | ||
+ | $ cd /root | ||
+ | $ mkdir downloads | ||
</ | </ | ||
+ | Download and then install the latest controller software from [[https:// | ||
+ | < | ||
+ | apt-get install ./ | ||
+ | </ | ||
+ | |||
+ | Fix / | ||
+ | < | ||
+ | $ cd /usr/bin | ||
+ | $ sudo -s | ||
+ | $ mv mongod mongod.bin | ||
+ | </ | ||
+ | Replace mongod with the following: | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | 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. | ||
+ | __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