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 A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

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 *