- You need to edit two of your repository files: /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo . Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist . This should be done for both the above files.
- Now edit your /etc/hosts
file and append the
following to it’s contents:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
Now try updating your system or installing any software via Yum.
本文档指导如何编辑Fedora系统的两个关键文件以优化YUM仓库配置:/etc/yum.repos.d/fedora.repo 和 /etc/yum.repos.d/fedora-updates.repo。此外还介绍了如何修改 /etc/hosts 文件来确保系统的稳定性。
8万+

被折叠的 条评论
为什么被折叠?



