First update the server.
yum update -y ; yum upgrade -yInstall MariaDB and start the server (as root)
yum install mariadb-server
systemctl start mariadbTo check MariaDB status
systemctl status mariadbThe output should be like this
Dec 01 19:06:20 centos-512mb-sfo2-01 systemd[1]: Started MariaDB database server.To enable MariaDB on boot simply
systemctl enable mariadbTo secure MariaDB install
mysql_secure_installationTesting the installation
mysqladmin -u root -p version