CentOS安装MariaDB

配置repo源

官方yum源生成器:https://downloads.mariadb.org/mariadb/repositories/#mirror=tuna

我们提供的服务有:做网站、成都网站制作、微信公众号开发、网站优化、网站认证、伊犁ssl等。为上1000+企事业单位解决了网站和推广的问题。提供周到的售前咨询和贴心的售后服务,是有科学管理、有技术的伊犁网站制作公司

创建并编辑/etc/yum.repos.d/MariaDB.repo
  • CentOS 6

    # MariaDB 10.0 CentOS repository list - created 2017-09-04 03:23 UTC
    # http://downloads.mariadb.org/mariadb/repositories/
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.0/centos6-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
  • CentOS 7
    [mariadb]  
    name = MariaDB  
    baseurl = http://yum.mariadb.org/10.1/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1  
安装MariaDB
yum install MariaDB-server MariaDB-client

分享标题:CentOS安装MariaDB
标题网址:http://ybzwz.com/article/poocgj.html