How To Install MariaDB on Ubuntu 20.04
Software Engineering

How To Install MariaDB on Ubuntu 20.04

Extroniq Technologies
Extroniq Technologies
1 min read

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_installation

This 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.

Prerequisites

To 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

Follow steps

Discussion (0 comments)

0 comments

No comments yet. Be the first!