Skip to main content

UniFi Installation Scripts | UniFi Easy Update Script | Ubuntu 16.04, 18.04, 18.10, 19.04 and 19.10 | Debian 8, 9, 10 and 11

Installasi 


Instructions:

1) Copy the link location of the script.
2) SSH into your Ubuntu/Debian machine, and login as root. ( Ubuntu | sudo -i | Debian | su )
2a) Make sure the ca-certificates package is installed.
apt-get update; apt-get install ca-certificates wget -y
3) Download the script by executing the following command. ( change it to your wanted version )
wget https://get.glennr.nl/unifi/install/unifi-5.11.48.sh
Install the latest and greatest UniFi Network Controller with 1 line. ( copy paste )
wget https://get.glennr.nl/unifi/install/install_latest/unifi-latest.sh; chmod +x unifi-latest.sh; ./unifi-latest.sh
4) Make the script executable ( change it to the script version you downloaded )
chmod +x unifi-5.11.48.sh
5) After you downloaded the script and made it executable you need to run it, by executing the following command.
./unifi-5.11.48.sh
You can add -skip behind ./unifi-5.11.48.sh if you want it to skip the Script Removal and Repository questions.
Example: ./unifi-5.11.48.sh -skip
6) Once the installation is completed browse to your controller.
https://ip.of.your.server:8443
7) Kudo/Upvote my post 😀

--------------------------------------------------------------
ALL includes support for..
- Ubuntu Precise Pangolin ( 12.04 )  
- Ubuntu Trusty Tahr ( 14.04 )
- Ubuntu Xenial Xerus ( 16.04 )
- Ubuntu Bionic Beaver ( 18.04 )
- Ubuntu Cosmic Cuttlefish ( 18.10 )
- Ubuntu Disco Dingo ( 19.04 )
- Ubuntu Eoan Ermine  ( 19.10 )
- Debian Jessie ( 8 )
- Debian Stretch ( 9 )
- Debian Buster ( 10 )
- Debian Bullseye ( 11 )
- Linux Mint 13 ( Maya )
- Linux Mint 17 ( Qiana | Rebecca | Rafaela | Rosa )
- Linux Mint 18 ( Sarah | Serena | Sonya | Sylvia )
- Linux Mint 19 ( Tara | Tessa )
- MX Linux 18 ( Continuum )

Installation script for UniFi 5.6.40 - ALL ( see list above )
Installation script for UniFi 5.6.42 - ALL ( see list above )
Installation script for UniFi 5.8.30 - ALL ( see list above )
Installation script for UniFi 5.9.29 - ALL ( see list above )
Installation script for UniFi 5.10.27 - ALL ( see list above )
Installation script for UniFi 5.11.38 - ALL ( see list above )
Installation script for UniFi 5.11.39 - ALL ( see list above )
Installation script for UniFi 5.11.45 - ALL ( see list above )
Installation script for UniFi 5.11.46 - ALL ( see list above )
Installation script for UniFi 5.11.47 - ALL ( see list above )
Installation script for UniFi 5.11.48 - ALL ( see list above )
Installation script for UniFi 5.11.50 - ALL ( see list above )

5.6.x

Installation script for UniFi 5.6.42 - Ubuntu 16.04 ( Mint 18 )
Installation script for UniFi 5.6.42 - Ubuntu 18.04 ( Mint 19 )
Installation script for UniFi 5.6.42 - Ubuntu 18.10
Installation script for UniFi 5.6.42 - Ubuntu 19.04
Installation script for UniFi 5.6.42 - Ubuntu 19.10
Installation script for UniFi 5.6.42 - Debian 8
Installation script for UniFi 5.6.42 - Debian 9 ( MX 18 )
Installation script for UniFi 5.6.42 - Debian 10
Installation script for UniFi 5.6.42 - Debian 11

5.8.x

Installation script for UniFi 5.8.30 - Ubuntu 16.04 ( Mint 18 )
Installation script for UniFi 5.8.30 - Ubuntu 18.04 ( Mint 19 )
Installation script for UniFi 5.8.30 - Ubuntu 18.10
Installation script for UniFi 5.8.30 - Ubuntu 19.04
Installation script for UniFi 5.8.30 - Ubuntu 19.10
Installation script for UniFi 5.8.30 - Debian 8
Installation script for UniFi 5.8.30 - Debian 9 ( MX 18 )
Installation script for UniFi 5.8.30 - Debian 10
Installation script for UniFi 5.8.30 - Debian 11

5.9.x

Installation script for UniFi 5.9.29 - Ubuntu 16.04 ( Mint 18 )
Installation script for UniFi 5.9.29 - Ubuntu 18.04 ( Mint 19 )
Installation script for UniFi 5.9.29 - Ubuntu 18.10
Installation script for UniFi 5.9.29 - Ubuntu 19.04
Installation script for UniFi 5.9.29 - Ubuntu 19.10
Installation script for UniFi 5.9.29 - Debian 8
Installation script for UniFi 5.9.29 - Debian 9 ( MX 18 )
Installation script for UniFi 5.9.29 - Debian 10
Installation script for UniFi 5.9.29 - Debian 11

5.10.x

Installation script for UniFi 5.10.27 - Ubuntu 16.04 ( Mint 18 )
Installation script for UniFi 5.10.27 - Ubuntu 18.04 ( Mint 19 )
Installation script for UniFi 5.10.27 - Ubuntu 18.10
Installation script for UniFi 5.10.27 - Ubuntu 19.04
Installation script for UniFi 5.10.27 - Ubuntu 19.10
Installation script for UniFi 5.10.27 - Debian 8
Installation script for UniFi 5.10.27 - Debian 9 ( MX 18 )
Installation script for UniFi 5.10.27 - Debian 10
Installation script for UniFi 5.10.27 - Debian 11

5.11.x

Installation script for UniFi 5.11.50 - Ubuntu 16.04 ( Mint 18 )
Installation script for UniFi 5.11.50 - Ubuntu 18.04 ( Mint 19 )
Installation script for UniFi 5.11.50 - Ubuntu 18.10
Installation script for UniFi 5.11.50 - Ubuntu 19.04
Installation script for UniFi 5.11.50 - Ubuntu 19.10
Installation script for UniFi 5.11.50 - Debian 8
Installation script for UniFi 5.11.50 - Debian 9 ( MX 18 )
Installation script for UniFi 5.11.50 - Debian 10
Installation script for UniFi 5.11.50 - Debian 11

Old Installation Scripts

You can download older script versions from HERE.

Version History

CLICK HERE to view the changelog.


Update

I have added a second script that is focussed on only updating the controller.
This script includes a solution for updating from 5.0.x to the latest controller versions

You can download the script HERE

Instructions:

1) Copy the link location of the script.
2) SSH into your Ubuntu/Debian machine, and login as root. ( Ubuntu | sudo -i | Debian | su )
2a) Make sure the ca-certificates package is installed.
apt-get update; apt-get install ca-certificates wget -y
3) Execute the following commands to download the script.
wget https://get.glennr.nl/unifi/update/unifi-update.sh
4) Make the script executable.
chmod +x unifi-update.sh
5) After you downloaded the script and made it executable you need to run it, by executing the following command.
./unifi-update.sh
6) Kudo/Upvote my post 😀

Version History

Comments

Popular posts from this blog

CLI Populer di OLT GPON ZTE

  ## cek onu belum terdaftar ZTE C300 # show gpon onu uncfg interface gpon-olt_1/9/1 onu 1 type ZTE-F609 sn ZTEGC86CCB88 exit ## Config interface onu yang baru interface gpon-onu_1/9/1:1   name NAME   description DESCRIPTION   sn-bind enable sn   tcont 1 name HSI profile 100M   tcont 2 name HOT profile 100M   gemport 1 name HSI unicast tcont 1 dir both   gemport 1 traffic-limit upstream UP100M downstream DW100M   gemport 2 name HOT unicast tcont 2 dir both   gemport 2 traffic-limit upstream UP100M downstream DW100M   switchport mode hybrid vport 1   switchport mode hybrid vport 2   service-port 1 vport 1 user-vlan 1200 vlan 1200   pppoe-plus enable sport 1   pppoe-plus trust true replace sport 1 exit ## config onu pon-onu-mng gpon-onu_1/9/1:1   service HSI type internet gemport 1 cos 0 vlan 1200   wan-ip 1 mode pppoe username PPPoE_USERNAME password PPPoeE_PASSWORD vlan-profile PPPoE host 1   secur...

OLT ZTE C300/320 di ONT Mode Port: Vlan_Translate, QinQ, Trunk & Access

  Contoh Config  1. Vlan Translate QinQ To Access: OLT-ZTE-C320#show run interface gpon-onu_1/4/1:21 Building configuration... ! interface gpon-onu_1/4/1:21   name RSO0766   description Customer_Vlan-Translate   tcont 6 name Internet_Vlan-Translate profile UP-100M   gemport 6 name Internet_Vlan-Translate unicast tcont 6 dir both   switchport mode hybrid vport 6   service-port 6 vport 6 user-vlan 1490 vlan 1490 svlan 1479  ! end OLT-ZTE-C320#show onu running config gpon-onu_1/4/1:21 pon-onu-mng gpon-onu_1/4/1:21   service Internet_Vlan-Translate gemport 6 vlan 1490   vlan port eth_0/4 mode tag vlan 1490   dhcp-ip ethuni eth_0/4 from-internet ! 2. Vlan QinQ Access: OLT-ZTE-C320#show run interface gpon-onu_1/2/5:22 Building configuration... ! interface gpon-onu_1/2/5:22   name Internet-QinQ-Access   description QinQ-Access   tcont 1 name Acsata profile UP-200M   tcont 1 gap mode2   gemport 1...

How to login Huawei Rectifier TP series (smu02B)?

  Dear All, In b/m steps how to login HCR to adjust its setting 1-login SMU of HCR with username admin & password 000001 2-get IP of HCR 3-Adjust your laptop IP in the subnetmask of HCR   (IP of HCR +1) 4-Open web browser prefereed IE and in address write IP of HCR (Note u should use http not https) 5-Enter username admin & Password changeme 6-Now u can adjust all rectifer setting B/M photos for clearafication