Difference between revisions of "Unifi(howto)"
Unnilennium (talk | contribs) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Warning box| SME v9 is now deprecated. v10 has a contrib. | ||
+ | https://wiki.koozali.org/Unifi }} | ||
+ | |||
install unifi controller on SME 9 | install unifi controller on SME 9 | ||
Latest revision as of 15:48, 19 March 2022
install unifi controller on SME 9
Requisites
/sbin/e-smith/db yum_repositories set centos-sclo-rh repository \ Name 'Centos-RH Software collections' \ BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \ EnableGroups no Visible yes status disabled
Expand the new repository:
signal-event yum-modify
yum --enablerepo=centos-sclo-rh,epel install scl-utils rh-mongodb34-mongodb rh-mongodb34-mongodb-server
config set rh-mongodb34-mongod service TCPPort 27018 mongoURL localhost access private status enabled ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S51rh-mongodb34-mongod
edit file /etc/opt/rh/rh-mongodb34/mongos.conf and change port from 27017 to 27018; disable ipv6 and remove ,::1 from bind ip
service rh-mongodb34-mongod start
or
signal-event post-upgrade;signal-event reboot
Install of unifi controller
the following will isntall the appropriate repositories and install the needed elements for you, download from ubnt the most apropriate versionof unifi and install it before starting the service.
yum install smeserver-extrarepositories-centos-sclo-rh smeserver-extrarepositories-epel --enablerepo=smecontribs,smedev
signal-event yum-modify
yum install smeserver-unifi --enablerepo=smecontribs,smedev,epel,centos-sclo-rh
signal-event smeserver-unifi-install
config set UnsavedChanges no
Requirements
Operating System:
- Ubuntu Desktop / Server 14.04 or later (LTS Releases, 16.04 recommended)
- Debian 7 “Wheezy” or later (LTS Releases, 8 recommended)
- macOS Mavericks 10.9 or later (10.12 recommended)
- Windows 7 or later (10 recommended)
- Windows Server 2008 or later (2016 recommended)
CPU: x86-64 Processor (Intel / AMD x64 Processors)*
RAM: 1GB for Headless Servers; 2GB for GUI*
Network: 100Mbps Wired Ethernet*
HDD: Minimum 10GB free (20GB or more preferred)*
Java: Java Runtime Environment (JRE) 8
Web Browser: Google Chrome
MongoDB: version 2.6.10. (Mongo is offered bundled, so most users will not need to acquire separately. Some distros might use a slightly older version, but v2.6.10 is the one typicallybundled in the Windows/Mac packages, and hence what we will recommend here).
https://help.ubnt.com/hc/en-us/articles/115009221227-UniFi-Recommended-Minimum-System-Requirements
Sources
- https://community.ubnt.com/t5/UniFi-Wireless/Unifi-Controller-software-license/m-p/1744454#M194230
- https://www.stevejenkins.com/blog/2016/06/automated-script-unifi-controller-upgrade-linuxunix-systems/
- https://github.com/stevejenkins/unifi-linux-utils/blob/master/upgrade_unifi_controller.sh
- https://github.com/stevejenkins/unifi-linux-utils
- https://gist.github.com/olegslavkin/6120d931f56bd781a75e
- https://community.ubnt.com/t5/UniFi-Wireless/initial-set-up-cannot-connect-to-Unifi/td-p/747972
- http://smeserver.pialasse.com/index.php/Unifi
- https://github.com/ngen-brett/ubnt-unifi-diy/blob/master/update.py