Installation and security of the MariaDB database server in the Debian system 11
The following guide describes how to install the MariaDB database server on a Debian system 11
We will do the whole thing in a few minutes using the console
We start the terminal and issue commands:
We update packages and our system:
1 | sudo apt-get update && sudo apt-get upgrade -y |
The next step is to install the necessary packages:
1 | sudo apt-get install software-properties-common dirmngr gnupg2 -y |
1 | sudo apt-get install apt-transport-https wget curl -y |
We install the MariaDB server
1 | sudo apt-get install mariadb-server -y |
We add the service to the autostart:
1 | sudo systemctl enable mariadb |
We make the initial security
In the console, issue the command:
1 | sudo /usr/bin/mysql_secure_installation |
And we answer the questions as in the screenshot:
Log in to mysqla by issuing a command:
1 | mysql -u root -p |
Related entries:
gconf-service gconf-service-backend gconf2-common libappindicator1 libc++1 libc++1-9 libc++abi1-9 libdbusmenu-gtk4 libgail-common libgail18 libgconf-2-4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-commonAll-in-one voice and text chat for gamers
All-in-one voice and text chat for gamers that's free 20.04
Installing Opcache in Ubuntu 20.04 for Apache and Nginx
MySQL - reset the root password
Error: username does not appear in the file sudoers. This incident will be reported.
Reset WordPress admin password via WP-CLI