CentOS7安装MariaDb的方法
更多安装方法见:https://downloads.mariadb.org/mariadb/repositories/#mirror=neusoft
步骤:
创建 /etc/yum.repos.d/MariaDB.repo 粘贴以下代码:
# MariaDB 10.1 CentOS repository list - created 2016-09-02 01:53 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
安装:
yum install MariaDB-server MariaDB-client
<完>