Scientific Linux 镜像

简介

Scientific Linux is an Enterprise Linux rebuild sponsored by Fermi National Accelerator Laboratory.

配置方法

  • 创建sl-alibaba.repo
[sl]
name=Scientific Linux $releasever - $basearch - ustc.edu.cn
baseurl=http://mirrors.aliyun.com/scientificlinux/$releasever/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
 
[sl-security]
name=Scientific Linux $releasever - $basearch - security updates - ustc.edu.cn
baseurl=http://mirrors.aliyun.com/scientificlinux/$releasever/$basearch/updates/security/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
 
 
[sl-source]
name=Scientific Linux $releasever - Source - ustc.edu.cn
baseurl=http://mirrors.aliyun.com/scientificlinux/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

  • sl-alibaba.repo 放入 /etc/yum.repo.d/

  • 重新生成缓存:

yum makecache

相关链接