Difference between revisions of "Mirrors"
(1 sloc) |
|||
Line 50: | Line 50: | ||
Backup your existing {{Filename|/etc/pacman.d/mirrorlist}}: | Backup your existing {{Filename|/etc/pacman.d/mirrorlist}}: | ||
# cp mirrorlist mirrorlist.backup | # cp mirrorlist mirrorlist.backup | ||
+ | |||
Edit mirrorlist.backup and uncomment mirrors you want to test with rankmirrors. | Edit mirrorlist.backup and uncomment mirrors you want to test with rankmirrors. | ||
+ | # nano mirrorlist.backup | ||
− | + | Run the following sed line to uncomment every mirror: | |
− | + | # sed '/^#\S/ s|#||' -i mirrorlist.backup | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Finally, rank the mirrors. Operand {{codeline|-n 6}} means only process 6 mirrors: | |
# rankmirrors -n 6 mirrorlist.backup > mirrorlist | # rankmirrors -n 6 mirrorlist.backup > mirrorlist | ||
− | |||
'''Force pacman to refresh the package lists''' | '''Force pacman to refresh the package lists''' |
Revision as of 21:01, 12 December 2009
Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end
Contents
- 1 Enabling your favorite mirror
- 2 Mirror list
- 3 Mirror status
- 4 Sort your mirrors by their speed
- 5 Official mirrors
- 5.1 Australia
- 5.2 Austria
- 5.3 Belgium
- 5.4 Brazil
- 5.5 Canada
- 5.6 Czech Republic
- 5.7 Denmark
- 5.8 Estonia
- 5.9 France
- 5.10 Germany
- 5.11 Great Britain
- 5.12 Greece
- 5.13 Hungary
- 5.14 Ireland
- 5.15 Indonesia
- 5.16 Israel
- 5.17 Italy
- 5.18 Japan
- 5.19 Latvia
- 5.20 Lithuania
- 5.21 Netherlands
- 5.22 Norway
- 5.23 Poland
- 5.24 Portugal
- 5.25 Romania
- 5.26 Russia
- 5.27 Sweden
- 5.28 Switzerland
- 5.29 Taiwan
- 5.30 Turkey
- 5.31 Ukraine
- 5.32 United States
- 5.33 Venezuela
- 5.34 Vietnam
- 6 Unofficial mirrors
- 7 IPv6-ready mirrors
Enabling your favorite mirror
The default pacman configuration (Template:Filename) for core looks like this:
[core] Include = /etc/pacman.d/mirrorlist
If you want to use the HostEurope mirror as your default mirror, just add it before the Include line:
[core] Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/i686 Include = /etc/pacman.d/mirrorlist
Pacman will now try to connect to this mirror first. You can do the same for testing, extra, and community'.
Mirror list
This is a list of all known Arch Linux mirrors, that's more up to date than the official download page or the [http://repos.archlinux.org/viewvc.cgi/pacman-mirrorlist/trunk/ files in Template:Filename. If you know of a mirror that is not listed, please add it. Mirrors which are no longer updated or have been unavailable for a long time can be deleted.
Mirror status
You can check the status of the Arch mirrors and how up to date they are, by visiting: http://users.archlinux.de/~gerbra/mirrorcheck.html and/or http://www.archlinux.de/?page=MirrorStatus
Or
Check just how up-to-date your chosen mirror is by:
- pick a server and browse to "extra/os/"
- load http://www.archlinux.org/ in another tab or window
- compare the last-modified date of the "i686" directory on the mirror to the "Extra" date on the homepage, in the "Package Repositories" box to the right.
Sort your mirrors by their speed
Don't forget to take full advantage of using the fastest mirror for you which you can determine via the included python script /usr/bin/rankmirrors. First, use pacman to install python if you haven't already done so:
# pacman -S python
cd to the /etc/pacman.d/ directory:
# cd /etc/pacman.d
Backup your existing Template:Filename:
# cp mirrorlist mirrorlist.backup
Edit mirrorlist.backup and uncomment mirrors you want to test with rankmirrors.
# nano mirrorlist.backup
Run the following sed line to uncomment every mirror:
# sed '/^#\S/ s|#||' -i mirrorlist.backup
Finally, rank the mirrors. Operand Template:Codeline means only process 6 mirrors:
# rankmirrors -n 6 mirrorlist.backup > mirrorlist
Force pacman to refresh the package lists
After creating/editing your Template:Filename, (manually or by using /usr/bin/rankmirrors) issue the following command:
# pacman -Syy
Combining Sort your mirrors by their speed with Mirror status
It is not a good idea to just use the fastest mirror(s), since the fastest mirror(s) might be out of date. The preferred way would be, to use Mirrors#Sort your mirrors by their speed. Then sorting those 6 fastest mirrors, by their Mirror#Mirror status.
Simply visit either one or both Mirrors#Mirror status links and sort them by the ones that are more up to date. Move the more up to date mirror(s) to the top of Template:Filename and if the mirror(s) are way out of date simply don't use those; repeat the process leaving out the outdated mirror(s). So you end up with a total of 6 mirrors that are sorted by speed and status, leaving out outdated mirrors.
When having mirror issues the above should be repeated. Or repeat once in a while even if you don't have mirror issues, too keep Template:Filename up to date.
Official mirrors
Attention: Do not add new mirrors to the list below. If you want your mirror to be added to official list - file a feature request. In the meantime add it to the "Unofficial mirrors" list at the end of this page.
Australia
- ftp://mirror.pacific.net.au/linux/archlinux/ http [rsync://mirror.pacific.net.au/linux/archlinux/]
- ftp://mirror.aarnet.edu.au/pub/archlinux/ http [rsync://mirror.aarnet.au/pub/archlinux/]
- ftp://ftp.iinet.net.au/pub/archlinux/ http [rsync://ftp.iinet.net.au/archlinux/]
- http://mirror.internode.on.net/pub/archlinux/ [rsync://mirror.internode.on.net/pub/archlinux/]
Austria
Belgium
- ftp://ftp.belnet.be/mirror/archlinux.org/ http
- ftp://archlinux.mirror.kangaroot.net/pub/archlinux/ http [rsync://archlinux.mirror.kangaroot.net::archlinux]
Brazil
- ftp://archlinux.c3sl.ufpr.br/archlinux/ http [rsync://archlinux.c3sl.ufpr.br/archlinux rsync]
- ftp://ftp.las.ic.unicamp.br/pub/archlinux http [rsync://rsync.las.ic.unicamp.br/pub/archlinux rsync]
- http://pet.inf.ufsc.br/mirrors/archlinux/
Canada
- http://mirror.twilightlair.net/arch/ [rsync://mirror.twilightlair.net/arch/ rsync]
- ftp://mirror.csclub.uwaterloo.ca/archlinux/ http [rsync://mirror.csclub.uwaterloo.ca/archlinux/ rsync]
- ftp://mirrors.portafixe.com/archlinux/ http
Czech Republic
Denmark
Estonia
France
- ftp://mir1.archlinuxfr.org/archlinux http [rsync://mir1.archlinuxfr.org/archlinux rsync]
- ftp://mir2.archlinuxfr.org/archlinux http [rsync://mir2.archlinuxfr.org/archlinux rsync]
- ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ http [rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ rsync]
- http://mir.archlinux.fr/
- ftp://ftp.free.fr/mirrors/ftp.archlinux.org/
- ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/
Germany
- ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/ http
- ftp://ftp5.gwdg.de/pub/linux/archlinux/ http [rsync://ftp5.gwdg.de/pub/linux/archlinux/ rsync]
- ftp://ftp.uni-bayreuth.de/pub/linux/archlinux http [rsync://rsync.uni-bayreuth.de/archlinux/ rsync]
- ftp://ftp.archlinuxppc.org/i686/
- ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/ http
- ftp://ftp.uni-kl.de/pub/linux/archlinux/ http [rsync: ftp.uni-kl.de::pub/linux/archlinux/ rsync]
- http://mirrors.igprolin-online.org/pub/archlinux
- ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/ http [rsync://ftp-stud.hs-esslingen.de/archlinux/ rsync]
- ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/
- http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/
Great Britain
- http://www.mirrorservice.org/sites/ftp.archlinux.org/
- ftp://mirrors.uk2.net/pub/archlinux/ http
- http://mirror.lividpenguin.com/pub/archlinux/ ftp
Greece
Hungary
Ireland
Indonesia
Israel
Italy
Japan
Latvia
Lithuania
Netherlands
- ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/ http
- ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ http
Norway
- http://mirror.archlinux.no/ ftp(rsync available)
Poland
- ftp://mirror.icis.pcz.pl/archlinux/
- ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ http
- http://unix.net.pl/archlinux.org/
Portugal
- ftp://cesium.di.uminho.pt/pub/archlinux/ http
- ftp://darkstar.ist.utl.pt/pub/archlinux/ http
- ftp://ftp.nux.ipb.pt/pub/dists/archlinux/ http
Romania
Russia
- ftp://mirror.yandex.ru/archlinux/ http (rsync available)
- http://archlinux.freeside.ru/ - outdated (last updated at 26 March 2009)
Sweden
Switzerland
Taiwan
- ftp://cle.linux.org.tw/pub/ArchLinux/ (no testing, no new isos)
Turkey
Ukraine
- ftp://archlinux.hell.org.ua/archlinux/ http(rsync available)
- ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ http
United States
- ftp://ftp.archlinux.org/
- ftp://locke.suu.edu/linux/dist/archlinux/
- http://archlinux.unixheads.org/
- ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/ http
- ftp://mirror.cs.vt.edu/pub/ArchLinux/ http (rsync available)
- ftp://mirrors.easynews.com/linux/archlinux/ http
- ftp://ibiblio.org/pub/linux/distributions/archlinux/ http
- http://archlinux.umflint.edu/
- http://mirror.neotuli.net/
- ftp://mirror.rit.edu/archlinux/ http [rsync://mirror.rit.edu/archlinux/ rsync]
- http://schlunix.org/archlinux/
- http://mirror.umoss.org/archlinux/ [rsync://mirror.umoss.org/archlinux/ rsync]
- http://mirror.archlinux.com.ve/
- http://mirrors.gigenet.com/archlinux/
Venezuela
Vietnam
- ftp://ftp.indochinalinux.com/archlinux/ (frequent DNS problems, IP is 202.78.230.5)
Unofficial mirrors
These mirrors are not listed in Template:Filename.
Global
- http://prdownloads.sourceforge.net/archlinux/ ( Doesn't have recent ISO releases. Use it only if for some reason you want to use an older ISO. )
Australia
- http://mirror.optus.com.au/pub/archlinux/ http [rsync://mirror.optus.com.au/pub/archlinux/]
Bulgaria
- http://archlinux.igor.onlinedirect.bg/ http
- ftp://archlinux.igor.onlinedirect.bg/linux/archlinux/ http
China
- http://mirrors.lcuc.org.cn/archlinux/
- http://mirror.lupaworld.com/archlinux/
- http://public.gooth.cn/archlinux/ (only include i686)
- http://mirrors.163.com/archlinux/
- http://mirror.bjtu.edu.cn/archlinux/
- http://mirrors.sohu.com/archlinux/
Germany
Great Britain
Lithuania
Malaysia
New Caledonia
- ftp://archlinux.nautile.nc/archlinux/ http [rsync://archlinux.nautile.nc/archlinux/ rsync] (no ISO image)
New Zealand
Norway
Poland
- ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/ http - up-to-date, but no Core repository
South Africa
- http://archlinux.mirror.ac.za/ TENET Mirror
- ftp://archlinux.mirror.ac.za/
- http://ftp.sun.ac.za/ftp/pub/mirrors/archlinux/ Stellenbosch University
- ftp://ftp.sun.ac.za/pub/mirrors/archlinux/
- http://ftp.leg.uct.ac.za/pub/linux/arch/ University of Cape Town
- ftp://ftp.leg.uct.ac.za/pub/linux/arch/
Spain
- ftp://ftp.udc.es/mirror/archlinux/ http [rsync://ftp.udc.es/mirror/archlinux/ rsync]
United States
- http://archlinux.linuxfreedom.com Contains all the ISO images
- ftp://mirrors.acm.jhu.edu/arch/ http [rsync://mirrors.acm.jhu.edu/arch rsync]
- ftp://ftp.osuosl.org/pub/archlinux/ http (i686 only - current and extra) - outdated
IPv6-ready mirrors
- http://power.klette.us/mirror/ (Norway)
- http://arch.iskrembilen.com/ (Norway, rsync available)
- niue.belnet.be (Belgium)
- ftp.estpak.ee (Estonia)
- patroklos.noc.ntua.gr (Greece)
- ftp.heanet.ie (Ireland)
- ftp.nluug.nl (Netherlands)
- ftp.surfnet.nl (Netherlands)
- ftp.sixnix.net/ftp6.sixnix.net (Finland) - dead