使用国内Mariadb源安装RPM包

最近在国内云下载Mariadb,发现默认的源实在太慢。

经过查询发现可以使用国内源头。单独设置。推荐中科大源。

sudo vi /etc/yum.repos.d/MariaDB.repo

# MariaDB 10.1 CentOS repository list - created 2016-12-31 08:44 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = https://mirrors.ustc.edu.cn/mariadb/yum/10.1/centos73-amd64/
gpgkey = https://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1

 

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注