zoukankan      html  css  js  c++  java
  • 针对不同架构的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
  • 相关阅读:
    Tensorflow从入门到精通之——Tensorflow基本操作
    Tensorflow从入门到精通之——Tensorflow基本操作
    卷积神经网络概述-七月在线机器学习集训营手把手教你从入门到精通卷积神经网络
    梳理百年深度学习发展史-七月在线机器学习集训营助你把握深度学习浪潮
    K-means聚类 的 Python 实现
    我在 B 站学习深度学习(生动形象,跃然纸上)
    我在 B 站学机器学习(Machine Learning)- 吴恩达(Andrew Ng)【中英双语】
    Eclipse新建Java工程出现红色感叹号怎么解决?
    SQL Server 2012安装时报错,错误 0x80070422怎么解决?解决方法。
    Shift键的三个妙用!Word又现神操作!
  • 原文地址:https://www.cnblogs.com/lushengle/p/7918715.html
Copyright © 2011-2022 走看看