A memorandum from the completion of Sakura's VPS application to the installation of MariaDB for the first time
Specify the MariaDB repository with the following command.
$ curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
Follow the steps below to install.
$ sudo yum install MariaDB-server MariaDB-client
$ sudo systemctl start mariadb
$ sudo systemctl enable mariadb
$ mysql_secure_installation
MariaDB configuration files are located in the following directory.
/etc/my.conf.d
For security reasons, you should change the port number, change the user authority, and make additional settings depending on your requirements.
Recommended Posts