mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
13 lines
434 B
Markdown
13 lines
434 B
Markdown
# 脚本使用说明
|
|
|
|
## 替换 yum repo 源
|
|
|
|
由于 CentOS 默认 yum 源,访问速度很慢,所以推荐使用国内镜像。
|
|
|
|
使用方法:执行以下任意命令即可执行脚本。
|
|
|
|
```sh
|
|
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
|
|
```
|