I know this is an old post, but this seems to top the list of Google results without any solution posted. Figured I would help if anyone found this and was looking for a solution.
Ths is the install instructions for Fedora 23-25. Anything before or after is unknown.
First off, login as root, then add the ubnt user and grab some other needed items
Code: Select all
yum -y install mongodb-server java-1.8.0-openjdk unzip wget
Download the UniFi Controller and extract it. An item of note, I installed it in my /opt directory.
Code: Select all
cd ~ && wget http://dl.ubnt.com/unifi/5.8.24/UniFi.unix.zip
Create our startup script:
Code: Select all
nano /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
Enable the service to start at boot
You should now be up and running. Point your web browser to
https://hda:8443 (DON'T FORGET THE HTTP
S)
I did have to tweak the ports the controller works on for my installation but on others the default seems to work fine. Hope this helps!!