【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像
一、参考链接
阿里巴巴开源镜像站:阿里巴巴开源镜像站
阿里镜像站—Fedora 镜像:Fedora 镜像
二、Fedora介绍
Fedora 是一个 Linux 发行版,是一款由全球社区爱好者构建的面向日常应用的快速、稳定、强大的操作系统。它允许任何人自由地使用、修改和重发布,目标是创建一套新颖、多功能并且自由的操作系统。下载地址:https://mirrors.aliyun.com/fedora/
三、更换阿里Fedora镜像源 1、登录Fedora操作系统
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/816226d869c746b29c752bc38d16b475.jpg)
文章图片
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/49f08c55cdaa435197716c02414a0d47.jpg)
文章图片
2、打开终端
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/2b9a2b3a4912463ab698db72e681a717.jpg)
文章图片
3、备份系统原镜像源文件
[root@fedora yum.repos.d]# mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora.repo.backup
[root@fedora yum.repos.d]# mv /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo.backup
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/7babb661bddf4efb81208563843ba6f2.jpg)
文章图片
4、下载阿里镜像源文件
下载新的 fedora.repo 和 fedora-updates.repo 到 /etc/yum.repos.d/fedora.repo
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
或
curl -o /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
fedora updates.repo
wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo
或
curl -o /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/aea73738753040249b927366ee81d3c4.jpg)
文章图片
5、查看镜像文件是否更新完成
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/ab392480680b44108da8f6b618eafa2c.jpg)
文章图片
6、运行sudo yum makecache生成缓存
sudo yum makecache
[root@fedora yum.repos.d]# sudo yum makecache
Fedora 35 - x86_64 - aliyun6.9 MB/s |79 MB00:11
Fedora 35 openh264 (From Cisco) - x86_641.2 kB/s | 989B00:00
Fedora Modular 35 - x86_645.3 kB/s | 5.2 kB00:00
Fedora 35 - x86_64 - Updates - aliyun927 kB/s | 455 kB00:00
Fedora Modular 35 - x86_64 - Updates16 kB/s | 4.6 kB00:00
元数据缓存已建立。
【【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像】
![【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像](https://img.it610.com/image/info9/709aa4acbe7c4b688a10ecb2e09e928e.jpg)
文章图片