From:Spacework community
ISO can be obtained from the internet for free and works on Hyper V or ESX (any potentially others)
sed -i /etc/selinux/config -r -e 's/^SELINUX=.*/SELINUX=disabled/g'
yum -y update
systemctl reboot
yum -y install epel-release
useradd -r ubnt
yum -y install mongodb-server java-1.8.0-openjdk unzip wget
cd ~ && wget http://dl.ubnt.com/unifi/4.7.6/UniFi.unix.zip
unzip -q UniFi.unix.zip -d /opt
chown -R ubnt:ubnt /opt/UniFi
vi /etc/systemd/system/unifi.service
---
#
# Systemd unit file for UniFi Controller
#
[Unit]
Description=UniFi AP Web Controller
After=syslog.target network.target
[Service]
Type=simple
User=ubnt
WorkingDirectory=/opt/UniFi
ExecStart=/usr/bin/java -Xmx1024M -jar /opt/UniFi/lib/ace.jar start
ExecStop=/usr/bin/java -jar /opt/UniFi/lib/ace.jar stop
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
---
systemctl stop firewalld.service
vi /etc/firewalld/services/unifi.xml
---
<?xml version="1.0" encoding="utf-8"?>
<service version="1.0">
<short>unifi</short>
<description>UniFi Controller</description>
<port port="8081" protocol="tcp"/>
<port port="8080" protocol="tcp"/>
<port port="8443" protocol="tcp"/>
<port port="8880" protocol="tcp"/>
<port port="8843" protocol="tcp"/>
<port port="10001" protocol="udp"/>
<port port="3478" protocol="udp"/>
</service>
---
systemctl start firewalld.service
firewall-cmd --set-default-zone=home
firewall-cmd --permanent --zone=home --change-interface=eth0
firewall-cmd --permanent --zone=home --add-service=unifi
systemctl enable unifi.service
rm -rf ~/UniFi.unix.zip
systemctl reboot
to access the web UI for the controller just browse on the local network to Https://<IP OF SERVER>:8443 this can then be published externally if needed to allow for multiple sites to be connected to one controller
VEGAS: THE NEW VEGAS ONLINE DEPOSIT PRAGMATIC fun88 soikeotot fun88 soikeotot 카지노 카지노 카지노 카지노 96soccerscore1x2: New online casino in Italy - The rider
ReplyDelete