Installation and Configuration of MariaDB in Debian 12
Installation and configuration of MariaDB in Debian 12 To install MariaDB in Debian 12, follow these steps:
Update the repositories and install the MariaDB package: First, update your system repositories and install MariaDB:
javiercruces@jcruces:~$ sudo apt update javiercruces@jcruces:~$ sudo apt install mariadb-server Enable and start the MariaDB service: Once installed, set MariaDB to start automatically on boot and then start the service:
javiercruces@jcruces:~$ sudo systemctl start mariadb javiercruces@jcruces:~$ sudo systemctl enable mariadb Configure MariaDB: Run the security script to make initial settings: