sudo apt install mariadb-server -y<\/code><\/pre>\n\n\n\nStart and enable the mariadb.service with the following commands: <\/p>\n\n\n\n
sudo systemctl start mariadb && sudo systemctl enable mariadb<\/code><\/pre>\n\n\n\nCheck the status of the mariadb.service <\/p>\n\n\n\n
sudo systemctl status mariadb<\/code><\/pre>\n\n\n\nYou should receive the following output: <\/p>\n\n\n\n
root@host:~# sudo systemctl status mariadb \n\u25cf mariadb.service - MariaDB 10.11.3 database server \nLoaded: loaded (\/lib\/systemd\/system\/mariadb.service; enabled; preset: enabled) \nActive: active (running) since Wed 2023-09-06 04:29:29 CDT; 21s ago \nDocs: man:mariadbd(8) https:\/\/mariadb.com\/kb\/en\/library\/systemd\/ \nMain PID: 6216 (mariadbd) \nStatus: \"Taking your SQL requests now...\" \nTasks: 16 (limit: 4644) \nMemory: 192.7M \nCPU: 760ms \nCGroup: \/system.slice\/mariadb.service \u2514\u25006216 \/usr\/sbin\/mariadbd<\/code><\/pre>\n\n\n\n