// plain
- Install Mariadb on Debian using the following command:
sudo apt-get install mariadb-server
- After the installation is complete, run the following command to secure the installation:
sudo mysql_secure_installation
- You will be prompted to enter a password for the root user. Enter a secure password and press enter.
- You will be asked a series of questions. Answer them according to your preferences.
- Finally, run the following command to start the Mariadb service:
sudo systemctl start mariadb
onelinerhub: How to install Mariadb on Debian?