Last active
August 23, 2022 12:07
-
-
Save nathansgreen/b0d556d3ef1207a9a2fd5f16ea835473 to your computer and use it in GitHub Desktop.
UniFi Network Controller Setup for MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # https://community.ui.com/questions/Unifi-Controller-5-11-50-on-Mac-OS-X-Catalina-fails-to-start-/2fde6f63-b0ac-43a0-83f7-5cf43ba3d40f?page=2 | |
| brew cask install homebrew/cask-versions/adoptopenjdk8 | |
| brew cask install ubiquiti-unifi-controller | |
| export CLASSPATH=/Applications/UniFi.app/Contents/Java/* | |
| cd /Applications/UniFi.app/Contents/Resources | |
| java com.ubnt.ace.Launcher start & | |
| read -p "Press any key to terminate UniFi... " -n1 -s | |
| echo | |
| java com.ubnt.ace.Launcher stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe now it should be: