How to Install or Upgrade to MariaDB 10x on Centos 7



How to Install or Upgrade to MariaDB 10x on Centos 7

How to Install or Upgrade to MariaDB 10x on Centos 7

How to Install or Upgrade to MariaDB 10x on Centos 7

Step 1: Update your System
Ensure you are running an up-to-date CentOS 7 server.
#yum update -y
Step 2: Add MariaDB 10.4 repository
After updating your system, add MariaDB YUM repository to CentOS 7 server:
move to /etc/yum.repos.d/ and create a file MariaDB.10x.repo
edit file MariaDB.10x.repo and Add content below :
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Step 3: Install MariaDB 10.4 on CentOS 7
Once MariaDB repository has been added, you can easily install it with just one single command.
#yum -y install MariaDB-server MariaDB-client
Check MariaDB version
Start and enable MariaDB service
Step 4: Secure MariaDB Database Server
Now that MariaDB 10.4 is installed on CentOS 7, secure it by running

Comments are closed.