Installing MariaDB on Debian 9
- First update the apt packages index by typing: sudo apt update.
- Once the packages list is updated, install MariaDB by running the following command: sudo apt install mariadb-server.
- The MariaDB service will start automatically. You can verify it by typing: sudo systemctl status mariadb.