1.安装环境 centOS7-64位,目前最新版本:MariaDB10.0.14
创建文件: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 |