How to Install MariaDB on Ubuntu 18.04

In this article, we will show you two different methods on how to install MariaDB on your Ubuntu 18.04 Cloud VPS.
MariaDB is an open-source database server that is a fork of MySQL and can easily serve as a drop-in replacement.
In the first installation method, we will use the official Ubuntu repository, while the second installation method we will install the latest version of MariaDB from the official MariaDB repositories.