How to install MariaDB on a CentOS 7 VPS

In this tutorial we will show you how to install MariaDB on your CentOS 7 VPS.
What is MariaDB?

MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. Being a fork of a leading open source software system, it is notable for being led by the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle.

Installing MariaDB on a CentOS 7 VPS is pretty easy and straight forward procedure.

So, let’s start.

First, you will need to log in to your VPS as ROOT via SSH. Once you are in you can clean-up yum (this is not a necessary step but it won’t hurt). To do that just type: