Skip to main content

Posts

Showing posts from August, 2016

Installing MariaDB 10.1 on CentOS 6

Inorder to install MariaDB 10.1 you nned to have your MariaDB.repo entry. So create a file "/etc/yum.repos.d/MariaDB.repo" under "/etc/yum.repos.d/" directory.
Update the MariaDB.repo file with below text for 64bit OS

[mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos6-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
Update the MariaDB.repo file with below text for 32bit OS
`
[mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos6-x86 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
Now run below command just to check if the repo is set correctly.

#sudo yum search Mariadb 

Now install MariaDB using below command

# yum install MariaDB-server MariaDB*engine MariaDB-client