Mirrors (简体中文)

From ArchWiki
Revision as of 05:02, 26 December 2011 by Skydiver (Talk | contribs) (启用您喜爱的镜像)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

本页面说明如何选择和配置镜像,以及列出可用的镜像。

启用您喜爱的镜像

To enable mirrors, open /etc/pacman.d/mirrorlist and locate your geographic region. Uncomment mirrors you would like to use.

Note: ftp.archlinux.org is throttled at 50KB/s
Example:
# Any
# Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch

See #Mirror status and #List by speed for tools that help choosing mirrors.

Tip: Uncomment 5 favorite mirrors and place them at the top of the mirrorlist file. That way it's easy to find them and move them around if the first mirror on the list has problems. It also makes merging mirrorlist updates easier.

It is also possible to specify mirrors in /etc/pacman.conf. For the [core] repository, the default setup is:

[core]
Include = /etc/pacman.d/mirrorlist

To use the HostEurope mirror as a default mirror, add it before the Include line:

[core]
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/$arch
Include = /etc/pacman.d/mirrorlist

pacman will now try to connect to this mirror first. Proceed to do the same for [testing], [extra], and [community], if applicable.

Note: If mirrors have been stated directly in pacman.conf, remember to use the same mirror for all repositories. Otherwise packages that are incompatible to each other may be installed, like linux from [core] and an older kernel module from [extra].

官方镜像

This is a list of all known Arch Linux mirrors, that's more up to date than the official download page or the files in /etc/pacman.d/. 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.

Here is a hint to check just how up-to-date your chosen mirror is:

  1. pick a server and browse to "extra/os/"
  2. load archlinux.org in another tab or window
  3. 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.


Many sites also provide http service, but keep in mind that pacman relies on ftp to determine if a repository got updated. With http it fetches the repository database each time you run pacman -Sy, even if it didn't change since the last run.

This website provides updates on the current status of the Arch mirrors and how up to date they are.

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.

澳大利亚

奥地利

比利时

巴西

加拿大

捷克

爱沙尼亚

法国

德国

英国

希腊

匈牙利

爱尔兰

以色列

意大利

荷兰

挪威

波兰

葡萄牙

罗马尼亚

俄罗斯

瑞典

瑞士

土耳其

乌克兰

美国

越南

台湾

中国镜像

  1. 电信
  1. 网通
  1. 教育网

非官方镜像

These mirrors are not listed in /etc/pacman.d/mirrorlist.

  1. 全球
  1. 澳大利亚
http
  1. 马来西亚
  1. 挪威
http 
  1. 波兰
http - up-to-date, but no Core repository
  1. 美国
http  (i686 only - current and extra) - outdated
  1. 中国

IPv6 镜像

  • http://power.klette.us/mirror/ (挪威)
  • niue.belnet.be (比利时)
  • ftp.estpak.ee (爱沙尼亚)
  • patroklos.noc.ntua.gr (希腊)
  • ftp.heanet.ie (爱尔兰)
  • ftp.nluug.nl (荷兰)
  • ftp.surfnet.nl (荷兰)
  • ftp.sixnix.net/ftp6.sixnix.net (芬兰) - dead

Rsync 镜像

  • 中国
  1. rsync://archlinux.gooth.cn/archlinux
  • 美国
  1. rsync://mirror.umoss.org/archlinux/ (全镜像,对学术机构不限流量)
  2. rsync://mirror.rit.edu/archlinux/
  3. rsync://mirror.umoss.org/archlinux/

澳大利亚

  1. rsync://mirror.pacific.net.au/linux/archlinux/
  2. rsync://mirror.aarnet.au/pub/archlinux/
  3. rsync://mirror.internode.on.net/pub/archlinux/
  • 巴西
  1. rsync://rsync.las.ic.unicamp.br/archlinux/
  • 加拿大
  1. rsync://mirror.csclub.uwaterloo.ca/archlinux/
  • 法国
  1. rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/
  2. rsync://mir1.archlinuxfr.org/archlinux
  3. rsync://mir2.archlinuxfr.org/archlinux
  • 德国
  1. rsync://ftp5.gwdg.de/pub/linux/archlinux/
  2. rsync: ftp.uni-kl.de::pub/linux/archlinux/
  3. rsync://rsync.uni-bayreuth.de/archlinux/
  • 俄罗斯

rsync://mirror.yandex.ru/archlinux/

  • 乌克兰
  1. rsync://hell.org.ua/archlinux/
  • 挪威
  1. rsync://jane.tihlde.org/pub/archlinux/