User Tools

Site Tools


unifi_linux

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unifi_linux [2015/06/17 13:52] herwarthunifi_linux [2015/06/17 14:04] (current) herwarth
Line 4: Line 4:
   * Click on latest articles and select the latest version.   * Click on latest articles and select the latest version.
   * Scroll down and download: **UniFi.unix.zip**   * 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]]   * You need the latest Java release from Oracle: [[http://www.java.com/en/download/manual.jsp]]
   * Download the x64 RPM   * Download the x64 RPM
-   + 
-  yum install mongodb-server+mongodb-server requires EPEL repository 
 + 
 +  yum install mongodb-server unzip
   yum localinstall jre-8u45-linux-x64.rpm   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 53: 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.1434549137.txt.gz · Last modified: by herwarth