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

Post navigation

Arunlal Ashok

Operations Engineer at Endurance International Group. Linux lover. Like to play on Linux console. I started this blog to share and discuss Linux thoughts.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team CryBit.com
Please follow the LinkedIn page

One thought on “Repository details for MariaDB – CentOS 5, 6 & Redhat 5, 6

  1. Nice blog. I understood the mariaDB Deeply because of this blog. You explain MariaDB very well and it is so helpful for me.thanks for sharing with us.

Leave a Reply

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