Introduction
MariaDB is an open-source relational database management system, commonly used as an alternative for MySQL as the database portion of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It is intended to be a drop-in replacement for MySQL.
The short version of this installation guide consists of these three steps:
Update your package index using aptInstall the mariadb-server package using apt. The package also pulls in related tools to interact with MariaDBRun the included mysql_secure_installation security script to restrict access to the serversudo apt updatesudo apt install mariadb-serversudo mysql_secure_installationThis tutorial will explain how to install MariaDB on an Ubuntu 20.04 server and verify that it is running and has a safe initial configuration.
PrerequisitesTo follow this tutorial, you will need a server running Ubuntu 20.04. This server should have a non-root administrative user and a firewall configured with UFW. Set this up by following our initial server setup guide for Ubuntu 20.04.
Step by steps follow on link — Installing MariaDB
Sign in to leave a comment.