Backup your current MariaDB config file:

cp /etc/my.cnf /etc/my.cnf.bak

Remove MariaDB 10.1 currently installed on server Centos7:

service mysql stop
yum remove MariaDB-server MariaDB-client

Install the EPEL repository on server Centos7:

yum install nano epel-release -y