Besuch doch bitte auch unsere neue Website, jetzt hier.

UniFi Controller auf Google Compute Engine Ubuntu

Für dieses Tutorial wird vorausgesetzt das man grundsätzlich Server mit der Google Compute Engine starten kann.
Hier wird Ubuntu 14.04 LTS verwendet:
Create Instance / New Instance

  • Name: unifi-controller
  • Zone: europe-west1-b
  • Machine Type: Micro
  • Boot Disk: Ubuntu 14.04 LTS
  • Allow http traffic
  • Allow https traffic

Networks -> Default Network -> Add Firewall Rule

  • Source IP ranges: 0.0.0.0/0
  • Allowed Protocols and Ports: tcp:8080; tcp:8081; tcp:8443; tcp:8880; tcp:8843; tcp:27117; ump:3478


By default UniFi Controller uses the following TCP ports:
unifi.http.port=8080 (device inform)
unifi.shutdown.port=8081 (for management purpose)
unifi.https.port=8443 (controller UI / API)
portal.http.port=8880 (portal redirect port for HTTP)
portal.https.port=8843 (portal redirect port for HTTPs)
unifi.db.port=27117 (local-bound port for DB server)
UDP port 3478.

Quelle: https://community.ubnt.com/t5/UniFi-Frequently-Asked-Questions/UniFi-What-are-the-default-ports-used-by-UniFi/ta-p/412439

Networking -> External IP addresses
Static IP

SSH

sudo echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee -a /etc/apt/sources.list.d/100-ubnt.list
sudo echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee -a /etc/apt/sources.list.d/200-mongo.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo apt-get update

Quelle: https://community.ubnt.com/t5/UniFi-Wireless/Updated-UniFi-Repo-info-APT-howto/td-p/1288883


sudo apt-get install unifi -y

AP’s in die Cloud umziehen
Unifi Discover und dann Reset to Factory Defaults, während am Router der Unifi Controller angegeben ist, vorausgesetzt man benutzt einen Unifi Router

Befehle

# to stop the controller
sudo service unifi stop
# to start the controller
sudo service unifi start
# to restart the controller
sudo service unifi restart
# to view the controller's current status
sudo service unifi status

Interessante Quellen
Install unifi controller
Setup unifi amazon cloud

0 comments… add one

Leave a Comment