1. check OS
grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2- | tr -d '"'
2. install curl mariadb & maxscale
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-11.4" --mariadb-maxscale-version="24"
3. after install, check mariadb.source
root@teguhth:~# cat /etc/apt/sources.list.d/mariadb.sources
# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
X-Repolib-Name: MariaDB Server
Enabled: yes
Types: deb
#URIs: https://dlm.mariadb.com/repo/mariadb-server/11./repo/ubuntu
#URIs: https://dlm.mariadb.com/repo/mariadb-server/12.rolling/repo/ubuntu
URIs: https://dlm.mariadb.com/repo/mariadb-server/13.rolling/repo/ubuntu
Suites: noble
Components: main main/debug
Architectures: amd64 arm64
Signed-By: /etc/apt/keyrings/mariadb-keyring.gpg
grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2- | tr -d '"'
2. install curl mariadb & maxscale
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-11.4" --mariadb-maxscale-version="24"
3. after install, check mariadb.source
root@teguhth:~# cat /etc/apt/sources.list.d/mariadb.sources
# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
X-Repolib-Name: MariaDB Server
Enabled: yes
Types: deb
#URIs: https://dlm.mariadb.com/repo/mariadb-server/11./repo/ubuntu
#URIs: https://dlm.mariadb.com/repo/mariadb-server/12.rolling/repo/ubuntu
URIs: https://dlm.mariadb.com/repo/mariadb-server/13.rolling/repo/ubuntu
Suites: noble
Components: main main/debug
Architectures: amd64 arm64
Signed-By: /etc/apt/keyrings/mariadb-keyring.gpg


















