install maria-db on ubuntu code example
Example 1: install mariadb
sudo apt update
sudo apt-get -y install mariadb-server
sudo systemctl start mariadb
sudo systemctl enable mariadb
Example 2: how to install mariadb on debian
sudo apt install mariadb-server