Scientific Linux site down: alternatives

The main Scientific Linux site is down this morning, as are the repositories hosted on the scientificlinux.org servers. My alternative is described below.

This won’t help anyone who needs access to the wiki or mailing lists, but for installing or updating packages my workaround has been to configure to use the mirror lists hosted on anl.gov (the U.S. Argonne National Laboratory). This has the benefit of getting the official list from a trusted source, but not overburdening any one mirror site (many of the sites on the list are government owned and so may not have the capacity to bear a great deal of traffic). A quick look at the list reveals its international nature.

The url would be:

http://mirror.anl.gov/pub/scientific-linux/mirrorlist/

Other than ANL, the following are also known good urls from which to get the latest mirrorlist:

http://linuxsoft.cern.ch/scientific/mirrorlist/
http://linux1.fnal.gov/linux/scientific/mirrorlist/

To use the mirrorlists for all active repos you need to comment out the existing lines and add a new one:

mirrorlist=http://mirror.anl.gov/pub/scientific-linux/mirrorlist/[listfile]

Here’s my /etc/yum.repos.d/sl.repo:

[sl]
name=Scientific Linux $releasever - $basearch
#baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
#               http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
#               http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
#               ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-6.txt
mirrorlist=http://mirror.anl.gov/pub/scientific-linux/mirrorlist/sl-base-6.txt
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
# baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
#               http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
#               http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
#               ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-security-6.txt
mirrorlist=http://mirror.anl.gov/pub/scientific-linux/mirrorlist/sl-security-6.txt
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

Note is you’re configured to use sl6x you should also modify sl6x.repo.