From cd4e994942eb2e53f245f0033bc153b1a17cc0f8 Mon Sep 17 00:00:00 2001 From: offends Date: Thu, 6 Nov 2025 20:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Centos7=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E9=98=BF=E9=87=8C=E6=BA=90=E6=96=87=E6=A1=A3=E4=B8=8D=E8=B6=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Docs/Centos7更换阿里源.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Docs/Centos7更换阿里源.md b/Docs/Centos7更换阿里源.md index 205cdf7..b28a140 100644 --- a/Docs/Centos7更换阿里源.md +++ b/Docs/Centos7更换阿里源.md @@ -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 ``` - - \ No newline at end of file