I was able to install UniFi Controller on a CentOS server without too much issues, using this page, and this page could also be helpful to you.
TechVideos created a video that describes access to the mongo database, for example for password recovery.
If you want to run the guest portal you might have to make sure to check the routes and open ports to the controller to load and work (port 8880 and 8843 TCP are needed to guest portal to load).
Some configuration you might want to think about:
Update UniFi:
|
You must reset the AP to defaults before changing the inform ip address. To do so execute the following command
syswrapper.sh restore-default
This will reboot the radio and disconnect your SSH session. Once it comes back online, you will need to reconnect.
Connect to the mca client
mca-cli
Now issue the set-inform command with the IP address of your Unifi controller.
set-inform http://192.168.3.2:8080/inform
The AP should connect to the controller within a few seconds and you are set.
Use a default site, as some credentials are being changed to a site, then you won't be able to adopt the device (see link)
dmesg
wstalist
List power options:
iwlist ath0 txpower |egrep Current |sed -e 's/^*//'
Set power option:
sed -i 's/^radio.1.txpower_mode=.*/radio.1.txpower_mode=custom/w /tmp/system.cfg' /tmp/system.cfg sed -i 's/^radio.1.txpower=.*/radio.1.txpower=16/w /tmp/system.cfg' /tmp/system.cfg save reboot