0
点赞
收藏
分享

微信扫一扫

国内MariaDb10的yum源

绣文字 2022-02-21 阅读 93
centosvimc#


在小机上装的CentOS7 ppc64,安装MariaDB10的时候,国外的源那个速度太慢了。

找到一个国内的源,可以用

vim /etc/yum.repos.d/MariaDB10.repo

创建repo文件并编辑如下:

# MariaDB 10.0 CentOS repository list – created 2014-10-13 13:04 UTC

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

[mariadb]

name = MariaDB

baseurl = https://mirrors.ustc.edu.cn/mariadb/yum/10.2/centos7-ppc64/

gpgkey=https://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB

gpgcheck=1

保存后,就可以通过yum安装了

yum -y install MariaDB-server MariaDB-client

速度舒心了


举报

相关推荐

0 条评论