User Tools

Site Tools


unifi_linux

Differences

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

Link to this comparison view

Next revision
Previous revision
unifi_linux [2015/06/17 13:43] – created herwarthunifi_linux [2015/06/17 14:04] (current) herwarth
Line 1: Line 1:
 ======UniFi controller on CentOS 7====== ======UniFi controller on CentOS 7======
 =====Installation===== =====Installation=====
 +  * Check the latest release on: [[https://community.ubnt.com/t5/UniFi-Updates-Blog/bg-p/Blog_UniFi]]
 +  * Click on latest articles and select the latest version.
 +  * Scroll down and download: **UniFi.unix.zip**
 +  * Save the zip in: **/var/tmp**
 +  * You need the latest Java release from Oracle: [[http://www.java.com/en/download/manual.jsp]]
 +  * Download the x64 RPM
  
 +mongodb-server requires EPEL repository
 +
 +  yum install mongodb-server unzip
 +  yum localinstall jre-8u45-linux-x64.rpm
 +  
 +Make sure you have a minimum of 4GB in /opt
 +  cd /opt
 +  unzip /var/tmp/UniFi.unix.zip
 ====init script==== ====init script====
 <code - /etc/init.d/unifi> <code - /etc/init.d/unifi>
Line 44: Line 58:
 exit 0 exit 0
 </code> </code>
 +====Firewalld====
 +<code - /etc/firewalld/services/unifi.xml>
 +<?xml version="1.0" encoding="utf-8"?>
 +<service>
 +  <short>unifi</short>
 +  <description>UniFi ports</description>
 +  <port protocol="tcp" port="8080"/>
 +  <port protocol="tcp" port="8081"/>
 +  <port protocol="tcp" port="8880"/>
 +  <port protocol="tcp" port="8843"/>
 +  <port protocol="tcp" port="8443"/>
 +  <port protocol="tcp" port="27117"/>
 +  <port protocol="udp" port="3478"/>
 +</service>
 +</code>
 +
 +  firewall-cmd --permanent --zone=management --add-service=unifi
 +  firewall-cmd --reload
 +
 +  /etc/init.d/unifi start
 +
 +=====Configuration=====
 +Go with your browser to: http://your.domain.com:8080
 +{{:screen_shot_2015-06-17_at_16.01.20.png|}}
 +
 {{tag>network}} {{tag>network}}
unifi_linux.1434548600.txt.gz · Last modified: by herwarth