Skip to content

Commit

Permalink
Merge pull request tuna#300 from stepbystep2/patch-1
Browse files Browse the repository at this point in the history
Update 1970-01-01-centos.md
  • Loading branch information
ZenithalHourlyRate authored Jan 17, 2022
2 parents 898eab3 + 1d1cfbd commit faf955c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion help/_posts/1970-01-01-centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mirrorid: centos

该文件夹只提供 CentOS 7 与 8,架构仅为 `x86_64` ,如果需要较早版本的 CentOS,请参考 centos-vault 的帮助,若需要其他架构,请参考 centos-altarch 的帮助。

建议先备份 `/etc/yum.repos.d/` 内的文件(CentOS 7 及之前为 `CentOS-Base.repo`,CentOS 8 为`CentOS-Linux-*.repo`
建议先备份 `/etc/yum.repos.d/` 内的文件

然后编辑 `/etc/yum.repos.d/` 中的相应文件,在 `mirrorlist=` 开头行前面加 `#` 注释掉;并将 `baseurl=` 开头行取消注释(如果被注释的话),把该行内的域名(例如`mirror.centos.org`)替换为 `{{ site.hostname }}`

Expand Down

0 comments on commit faf955c

Please sign in to comment.