Repository details for MariaDB – CentOS 5, 6 & Redhat 5, 6

To install the MariyaDB on your server which has CentOS you must have a repository for MariyaDB. Do follow the steps below to create a repo for MariyaDB.

CentOS
Step 1 : Login to server via SSH as root.
Step 2 : Create Yum repository for MariaDB
Create a file “MariaDB.repo”.

# vi /etc/yum.repos.d/MariaDB.repo
Place the following in the newly created repo file.

DISTRO ( https://downloads.mariadb.org/mariadb/repositories/ ):
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5.34/centos6-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Redhat
Step 2 : Create Yum repository for MariaDB
Create a file “MariaDB.repo”.

# vi /etc/yum.repos.d/MariaDB.repo
Place the following in the newly created repo file.

# MariaDB 5.5 RedHat repository list - created 2014-02-11 02:55 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/rhel6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

You will get more details from the Mariya’s official website.

Related:
How to replace MySQL with MariaDB on a cPanel server
How to replace MySQL with PerconaDB on a cPanel server

Arunlal Ashok

Sr. Linux Server Administrator. I'm managing Linux servers since 2012. I started this blog to share and discuss my ideas. Check My Profile in uPwork (oDesk) and create a job, if you need any administration help. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *