linux-tutorial/codes/linux/sys/yum/README.md
2019-02-22 18:02:38 +08:00

434 B

脚本使用说明

替换 yum repo 源

由于 CentOS 默认 yum 源,访问速度很慢,所以推荐使用国内镜像。

使用方法:执行以下任意命令即可执行脚本。

curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/sys/yum/change-yum-repo.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/sys/yum/change-yum-repo.sh | bash