# Unfi Controller auf Debian 11 Bullseye 64 Bit (x64 und arm64/aarch64) (Jetzt Unifi Network Application wurde umbenannt)

### Vorraussetzungen  


- Debian Bullseye **AMD64 oder aarch64**
- System aktuell mit apt update und apt dist-upgrade
- SSH Zugang
- Java openjdk-jre8 nicht höher!!
- Das Script im Anhang dieses Artikels ist vom 19.07.2022

### Install Script  


```
apt update
apt dist-upgrade
apt install gpg curl
```

```shell
rm unifi-latest.sh &> /dev/null; wget https://get.glennr.nl/unifi/install/install_latest/unifi-latest.sh && bash unifi-latest.sh

```

Frage ob man das install script behalten möchte. Wir beantworten mit nein

```

#########################################################################

# Do you want to keep the script on your system after completion? (Y/n) 

```

Frage ob das System aktualierst werden soll  
Mit Ja antworten.

```
# There are were no packages that need an upgrade...

----

# Do you want to proceed with updating your system? (Y/n) 
```

Nun werden wir gefragt ob wir unifi in Zukunft via apt aktualisieren wollne. Natürlich wollen wir das.  
Dann wir mit jedem apt upgrade die version aktualisiert. Also mit Ja bestätigen

```shell
#########################################################################

# Would you like to update the UniFi Network Application via APT?
# Do you want the script to add the source list file? (Y/n) 
```

### Finish

So Fertig. Wir landen wieder in der Console und oben steht die installierte Version + die URL  
Und es wird auch der Status angezeigt ob der Controller läuft

```
#########################################################################

# UniFi Network Application 7.1.66 has been installed successfully
# Your application address: https://222.222.1.66:8443


# UniFi is active ( running )


# Author   |  Glenn R.
# Email    |  glennrietveld8@hotmail.nl
# Website  |  https://GlennR.nl



```