> CentOS > CentOS教程 >

CentOS7.0下安装MariaDB10.0.X最新版本

1.安装环境

   centOS7-64位,目前最新版本:MariaDB10.0.14



2. Linux终端命令行

  创建文件:vim /etc/yum.repos.d/MariaDB.repo

 文件内容:

# MariaDB 10.0 CentOS repository list - created 2014-09-28 09:10 UTC

# http://mariadb.org/mariadb/repositories/

[mariadb]name = MariaDBbaseurl = http://yum.mariadb.org/10.0/centos7-amd64

gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB

gpgcheck=1


 

3.终端命令行

sudo yum install MariaDB-server MariaDB-client





 

(责任编辑:IT)