MirrorZ Help

Scientific Linux 软件仓库镜像使用帮助

选择镜像

下载 sl-mirrors.repo 放入 /etc/yum.repo.d/ 中。

SL 版本
[sl]
name=Scientific Linux $releasever - $basearch - mirrros
baseurl=https://(Loading...)/$releasever/$basearch/os/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-7.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

[sl-security]
name=Scientific Linux $releasever - $basearch - security updates - mirrors
baseurl=https://(Loading...)/$releasever/$basearch/updates/security/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-security-7.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

[sl-source]
name=Scientific Linux $releasever - Source - mirrors
baseurl=https://(Loading...)/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

运行 yum makecache 生成缓存。

这个页面的内容有问题?在 GitHub Issue 反馈

想完善这个页面?查看我们的贡献指南在 GitHub 上查看此页的源代码

本页面的全部内容在 CC BY-NC-SA 4.0 协议之条款下提供,附加条款亦可能应用。