Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora, rpmfusion: add notice about metalink #258

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ x86_64

## 使用说明

!!! note

Fedora 默认使用 metalink 来根据用户发出请求的 IP 选择合适的镜像,通常情况下并不需要手动换源。

!!! warning

操作前请做好相应备份。
Expand Down
4 changes: 4 additions & 0 deletions docs/rpmfusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ RPM Fusion 是为 Fedora/RHEL 提供额外 RPM 软件包的第三方软件源。

## 替换源地址

!!! note

RPM Fusion 默认使用 metalink 来根据用户发出请求的 IP 选择合适的镜像,通常情况下并不需要手动换源。

安装成功后,可使用下列命令备份并修改 `/etc/yum.repos.d/` 目录下以 `rpmfusion` 开头,以 `.repo` 结尾的文件。

- 具体而言,需要将文件中 `metalink=` 开头的行注释掉,取消 `baseurl=` 开头的行的注释并将等号后面链接中的 `http://download1.rpmfusion.org` 替换为 `https://mirrors.ustc.edu.cn/rpmfusion`:
Expand Down