此处仅列出针对CentOS 6 不同架构平台安装不同版本的MariaDB,更多的发行版请移步到MariaDB官方网站官方镜像站点

  https://downloads.mariadb.org/mariadb/repositories/#mirror=tuna

  http://yum.mariadb.org/

本人所安装的版本为10.2,安装时会依赖到很多其它的包,且版本要求较高,安装前需要先更新所依赖的包到最新的稳定版,然后在执行安装MairaDB

  #yum update XXXX -y

  #yum install -y MariaDB

安装完成后的启动与以往的略有不同,服务名称为mysql,不是mysqld

  #service mysql {start|stop|restart|status}

CentOS 6(x86)

1 # MariaDB 10.2 CentOS repository list - created 2017-11-29 01:27 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.2/centos6-x86
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 #!!!DO NOT USE ALPHA RELEASES IN PRODUCTION!!!
2 # MariaDB 10.3 CentOS repository list - created 2017-11-29 01:38 UTC
3 # http://downloads.mariadb.org/mariadb/repositories/
4 [mariadb]
5 name = MariaDB
6 baseurl = http://yum.mariadb.org/10.3/centos6-x86
7 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
8 gpgcheck=1
1 # MariaDB 10.1 CentOS repository list - created 2017-11-29 01:39 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.1/centos6-x86
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 # MariaDB 10.0 CentOS repository list - created 2017-11-29 01:39 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.0/centos6-x86
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 # MariaDB 5.5 CentOS repository list - created 2017-11-29 01:39 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/5.5/centos6-x86
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1

CentOS 6(X86_64)

1 # MariaDB 10.2 CentOS repository list - created 2017-11-29 01:41 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.2/centos6-amd64
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 # MariaDB 10.1 CentOS repository list - created 2017-11-29 01:42 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.1/centos6-amd64
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 # MariaDB 10.0 CentOS repository list - created 2017-11-29 01:42 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/10.0/centos6-amd64
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 # MariaDB 5.5 CentOS repository list - created 2017-11-29 01:42 UTC
2 # http://downloads.mariadb.org/mariadb/repositories/
3 [mariadb]
4 name = MariaDB
5 baseurl = http://yum.mariadb.org/5.5/centos6-amd64
6 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7 gpgcheck=1
1 #!!!DO NOT USE ALPHA RELEASES IN PRODUCTION!!!
2 # MariaDB 10.3 CentOS repository list - created 2017-11-29 01:41 UTC
3 # http://downloads.mariadb.org/mariadb/repositories/
4 [mariadb]
5 name = MariaDB
6 baseurl = http://yum.mariadb.org/10.3/centos6-amd64
7 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
8 gpgcheck=1
posted on 2017-11-29 09:56  卢伸乐  阅读(227)  评论(0编辑  收藏  举报