修改Centos7更换阿里源文档不足
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-11-06 20:25:40 +08:00
parent 74bca24ec4
commit cd4e994942

View File

@@ -12,8 +12,8 @@
2. 下载阿里云Yum源
```bash
curl -O http://mirrors.aliyun.com/repo/Centos-7.repo
curl -O http://mirrors.aliyun.com/repo/epel-7.repo
curl -so /etc/yum.repos.d/Centos-7.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl -so /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
```
3. *删除缓存数据*
@@ -27,5 +27,3 @@
```bash
yum makecache
```