1. sudo apt-get install apt-transport-https curl
2. mkdir -p /etc/apt/keyrings
3. curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'
pastekan kode " # MariaDB 11.4 repository list - created 2024-10-20 09:49 UTC
# https://mariadb.org/download/
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://deb.mariadb.org/11.4/ubuntu focal main
deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://download.nus.edu.sg/mirror/mariadb/repo/11.4/ubuntu focal main
# deb-src [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://download.nus.edu.sg/mirror/mariadb/repo/11.4/ubuntu focal main
"
simpan dengan cara tekan : 1. ctrl + o
2. ctrl + m
3. ctrl + x
update repo sebelum instalasi
3. ctrl + x
update repo sebelum instalasi
apt update -y