• 针对不同架构的CentOS 6发行版通过官方yum源安装MariaDB


    此处仅列出针对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
  • 相关阅读:
    C#设置窗体最大化且不遮挡任务栏的方法
    C# Base64解码 二进制输出
    导出Excel并下载,但无法定制样式的方法!
    C# List 转Datatable
    查询sql语句耗时的方法!
    301跳转
    文章关键字加链接
    文本框样式默认文本
    JForum二次开发(一)
    MongoDB 学习笔记(三)—— 修改器的使用
  • 原文地址:https://www.cnblogs.com/lushengle/p/7918715.html
Copyright © 2020-2023  润新知