https://wiki.archlinux.org/api.php?action=feedcontributions&user=Markding&feedformat=atomArchWiki - User contributions [en]2024-03-29T06:08:37ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=SLiM&diff=75159SLiM2009-09-05T07:46:44Z<p>Markding: </p>
<hr />
<div>[[Category:Display managers (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|SLIM}}<br />
{{i18n_entry|简体中文|SLiM (简体中文)}}<br />
{{i18n_entry|Italiano|SLiM (Italiano)}}<br />
{{i18n_entry|Türkçe|SLIM(Türkçe)}}<br />
{{i18n_links_end}}<br />
<br />
=Introduction=<br />
'''SLiM''' is an acronym for Simple Login Manager (SLiM). SLiM is simple, lightweight and easily configurable allowing it be used on low and high end systems with relative ease. SLiM is also very convenient for those who want a login manager without the dependencies of Gnome or KDE making it perfect for users running Xfce, Openbox, Fluxbox, etc.<br />
<br />
{{Note|It is important to remember that there is currently no command menu displayed in SLiM. One must memorize the standard commands listed under [http://wiki.archlinux.org/index.php/SLIM#Shutdown.2C_Reboot.2C_Suspend.2C_Exit.2C_Launch_Terminal_from_SLiM:"Shutdown, Reboot,...."] below. These commands are used in the username box that is always displayed.}}<br />
<br />
=Installation=<br />
SLiM is available from the /extra repositories<br />
# pacman -S slim<br />
There is also a themes package<br />
# pacman -S slim-themes<br />
and an Arch Linux theme<br />
# pacman -S archlinux-themes-slim<br />
<br />
=Configuration=<br />
<br />
==Enabling SLiM==<br />
Refer to [[Adding a login manager (KDM, GDM, or XDM) to automatically boot on startup]].<br />
<br />
==Single Environments==<br />
<br />
To configure SLiM to load a particular environment, simply edit '''~/.xinitrc''' to look like the following:<br />
<br />
<pre><br />
#!/bin/sh<br />
<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
#<br />
<br />
exec [session-command]<br />
</pre><br />
<br />
*Note: If you do not have have a ~/.xinitrc file, you can create one (with, for example, nano). By default slim expects to find such a file for all users and will complain it is "unable to process the login command" if no such file exists in the user's home directory.<br />
<br />
Replace '''''[session-command]''''' with the appropriate session command. For example:<br />
*To launch Openbox: "<code>exec openbox-session</code>"<br />
*To launch Fluxbox: either "<code>exec fluxbox</code>" or "<code>exec startfluxbox</code>"<br />
*To launch Xfce: "<code>exec startxfce4</code>"<br />
*To launch GNOME: "<code>exec gnome-session</code>"<br />
*To launch KDE: "<code>exec startkde</code>"<br />
*To launch FVWM2: "<code>exec fvwm2</code>"<br />
*To launch awesome: "<code>exec awesome</code>"<br />
<br />
If your environment is not listed here, refer to the documentation provided by your software.<br />
<br />
==PolicyKit==<br />
If you have problems with the PolicyKit you have to run ConsoleKit ''ck-launch-session'':<br />
<pre><br />
#!/bin/sh<br />
<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
#<br />
<br />
exec ck-launch-session [session-command]<br />
</pre><br />
<br />
==Multiple Environments==<br />
If you require the ability to load multiple desktop environments, SLiM can be setup to log you into whichever you choose.<br />
<br />
Put a case statement similar to this one in your ~/.xinitrc file and edit the sessions variable in /etc/slim.conf to match the names that trigger the case statement. <br />
You can choose the session at login time by pressing F1. Note that this feature is experimental.<br />
<br />
<pre><br />
# The following variable defines the session which is started if the user doesn't explicitly select a session<br />
<br />
DEFAULT_SESSION=twm<br />
<br />
case $1 in<br />
kde)<br />
exec startkde<br />
;;<br />
xfce4)<br />
exec startxfce4<br />
;;<br />
icewm)<br />
icewmbg &<br />
icewmtray &<br />
exec icewm<br />
;;<br />
wmaker)<br />
exec wmaker<br />
;;<br />
blackbox)<br />
exec blackbox<br />
;;<br />
*)<br />
exec $DEFAULT_SESSION<br />
;;<br />
esac<br />
</pre><br />
<br />
Source for sample: http://svn.berlios.de/svnroot/repos/slim/trunk/xinitrc.sample<br />
<br />
Slim documentation: http://slim.berlios.de/manual.php<br />
<br />
==Themes==<br />
Install the slim-themes package:<br />
# pacman -S slim-themes archlinux-themes-slim<br />
<br />
The <tt>archlinux-themes-slim</tt> packages contains several different themes. Check <tt>/usr/share/slim/themes</tt> to see the available variations and other themes available.<br />
<br />
Edit the current_theme line in /etc/slim.conf from "default" to one of your choice: <br />
# nano /etc/slim.conf<br />
<br />
#current_theme default<br />
current_theme archlinux-simplyblack<br />
<br />
To preview a theme, run:<br />
slim -p /usr/share/slim/themes/<theme name><br />
Simply type "exit" and press Enter to get out of the preview.<br />
<br />
= Tips & Tricks =<br />
==Changing the cursor==<br />
If you don't like the "X" cursor and you want to change it to, for example, an arrow, use the [http://aur.archlinux.org/packages.php?ID=21053 slim-cursor package from AUR].<br />
<br />
After installing, edit /etc/slim.conf and uncomment the line:<br />
cursor left_ptr<br />
This will give you a normal arrow instead. This setting is forwarded to xsetroot -cursor_name. You can look up the possible cursor names [http://cvsweb.xfree86.org/cvsweb/*checkout*/xc/lib/X11/cursorfont.h?rev=HEAD&content-type=text/plain here] or in /usr/share/icons/<your-cursor-theme>/cursors/.<br />
<br />
To change the cursor theme being used at the login screen, make a file named /usr/share/icons/default/index.theme with this content:<br />
[Icon Theme]<br />
Inherits=<your-cursor-theme><br />
Replace <your-cursor-theme> with the name of the cursor theme you want to use, e.g. whiteglass.<br />
<br />
==Slim and Desktop share a theme==<br />
A simple way of sharing wallpaper between Slim and your desktop is to create a symbolic link from your desktop wallpaper file to the default Slim theme:<br />
# mv /usr/share/slim/themes/default/background.jpg /usr/share/slim/themes/default/background.old.jpg<br />
# ln -s /path/to/mywallpaper.jpg /usr/share/slim/themes/default/background.jpg<br />
Now your Slim theme and desktop wallpaper will be the same, smoothing the transition while loading the desktop. (Obviously you must keep the default theme setting in /etc/slim.conf for the above trick to work.)<br />
<br />
==Shutdown, Reboot, Suspend, Exit, Launch Terminal from SLiM==<br />
You may shutdown, reboot, suspend, exit or even launch a terminal from the SLiM login screen. To do so, enter the appropriate value in the username field, and the root password in the password field:<br />
<br />
* To launch a terminal, enter '''console''' as the username (defaults to xterm which must be installed separately... edit <tt>/etc/slim.conf</tt> to change terminal preference)<br />
* For shutdown, enter '''halt''' as the username<br />
* For reboot, enter '''reboot''' as the username<br />
* To exit to bash, enter '''exit''' as the username<br />
* For suspend, enter '''suspend''' as the username (Suspend is disabled by default, edit <tt>/etc/slim.conf</tt> as root to uncomment the <tt>suspend_cmd</tt> line and, if necessary modify the suspend command itself (e.g. change '''''/usr/sbin/suspend''''' to '''''sudo /usr/sbin/pm-suspend'''''))<br />
<br />
==Poweroff Error with Splashy==<br />
If you use splashy and slim, Sometimes you can't poweroff or reboot from menu in gnome, xfce, lxde or others.<br />
check your /etc/slim.conf and /etc/splash.conf, Set the DEFAULT_TTY=7 same as xserver_arguments vt07.<br />
<br />
==Login Information with Slim==<br />
By default, Slim fails to log logins to utmp and wtmp which causes who, last, etc.. to misreport login information.<br />
To fix this edit your slim.conf as follows:<br />
<br />
sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user<br />
sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user<br />
<br />
==Setting DPI with Slim==<br />
If you set the DPI with the argument -dpi 96 in /etc/X11/xinit/xserverrc it will not work with slim. To fix this edit your slim.conf from:<br />
xserver_arguments -nolisten tcp vt07 <br />
to<br />
xserver_arguments -nolisten tcp vt07 -dpi 96<br />
<br />
==Use a random theme==<br />
Use the current_theme variable as a comma separated list to specify a set to randomly choose from.<br />
<br />
= See Also =<br />
*[[Adding a login manager (KDM, GDM, or XDM) to automatically boot on startup]]<br />
<br />
= Weblinks =<br />
*[http://slim.berlios.de/ SLiM homepage]</div>Markdinghttps://wiki.archlinux.org/index.php?title=Mirrors_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)&diff=73282Mirrors (简体中文)2009-08-04T11:12:56Z<p>Markding: /* 中国镜像 */</p>
<hr />
<div>[[Category:软件包管理|jx]]<br />
[[Category:HOWTOs (简体中文)|jx]]<br />
[[Category:简体中文]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|:Mirrors}}<br />
{{i18n_entry|简体中文|:Arch镜像 (简体中文)}}<br />
{{i18n_links_end}}<br />
<br />
<br />
== 启用您喜爱的镜像 ==<br />
<br />
pacman默认的core仓库配置如下:<br />
<br />
[core]<br />
Include = /etc/pacman.d/mirrorlist<br />
<br />
如果你想使用一个欧洲镜像作为默认镜像,只需将它添加到<tt>Include</tt>行前:<br />
<br />
[core]<br />
Server = <nowiki>ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/i686</nowiki><br />
Include = /etc/pacman.d/mirrorlist<br />
<br><br />
'''edit:''' The release of pacman 3.1 introduced the /etc/pacman.d/mirrorlist with the variable $repo, no need to maintain separate list for each repository.<br />
<br />
Pacman will now try to connect to this mirror first. You can do the same for ''testing'', ''extra'', ''community'' and ''unstable''.<br />
<br />
'''Use the same mirror for all repositories. Otherwise packages may get installed that are incompatible to each other (like kernel26 from ''core'' and another (older) kernel module from ''extra'').'''<br />
<br />
== 官方镜像 ==<br />
<br />
This is a list of all known Arch Linux mirrors, that's more up to date than the [http://www.archlinux.org/download/ official download page] or the [http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/base/pacman/ files in <tt>/etc/pacman.d/</tt>]. 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.<br />
<br />
Here is a hint to check just how up-to-date your chosen mirror is:<br />
# pick a server and browse to "extra/os/"<br />
# load [http://www.archlinux.org/ archlinux.org] in another tab or window<br />
# 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.<br />
<br><br />
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 <tt>pacman -Sy</tt>, even if it didn't change since the last run.<br />
<br />
[http://users.archlinux.de/~gerbra/mirrorcheck.html This website] provides updates on the current status of the Arch mirrors and how up to date they are.<br />
<br />
'''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.'''<br />
<br />
=== 澳大利亚 ===<br />
*ftp://mirror.pacific.net.au/linux/archlinux/ <sub>[http://mirror.pacific.net.au/linux/archlinux/ http]</sub> <sub>[rsync://mirror.pacific.net.au/linux/archlinux/]</sub><br />
*ftp://mirror.aarnet.edu.au/pub/archlinux/ <sub>[http://mirror.aarnet.edu.au/pub/archlinux/ http]</sub> <sub>[rsync://mirror.aarnet.au/pub/archlinux/]</sub><br />
<br />
=== 奥地利 ===<br />
*ftp://gd.tuwien.ac.at/opsys/linux/archlinux/ <sub>[http://gd.tuwien.ac.at/opsys/linux/archlinux/ http]</sub><br />
<br />
=== 比利时 ===<br />
*ftp://ftp.belnet.be/mirror/archlinux.org/ <sub>[http://ftp.belnet.be/mirror/archlinux.org/ http]</sub><br />
<br />
=== 巴西 ===<br />
*ftp://archlinux.c3sl.ufpr.br/archlinux/ <sub>[http://archlinux.c3sl.ufpr.br/ http]</sub><br />
*ftp://ftp.las.ic.unicamp.br/pub/archlinux <sub>[http://www.las.ic.unicamp.br/pub/archlinux http]</sub> <sub>[rsync://rsync.las.ic.unicamp.br/archlinux rsync]</sub><br />
<br />
=== 加拿大 ===<br />
*ftp://mirror.csclub.uwaterloo.ca/archlinux/ <sub>[http://mirror.csclub.uwaterloo.ca/archlinux/ http]</sub> <sub>[rsync://mirror.csclub.uwaterloo.ca/archlinux/ rsync]</sub><br />
<br />
=== 捷克 ===<br />
*ftp://ftp.sh.cvut.cz/MIRRORS/arch/ <sub>[http://ftp.sh.cvut.cz/MIRRORS/arch/ http]</sub><br />
<br />
=== 爱沙尼亚 ===<br />
*ftp://ftp.estpak.ee/pub/archlinux/ <sub>[http://ftp.estpak.ee/pub/archlinux/ http]</sub><br />
<br />
=== 法国 ===<br />
*ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ <sub>[http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ http]</sub> <sub>[rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ rsync]</sub><br />
*ftp://mir1.archlinuxfr.org/archlinux <sub>[http://mir1.archlinuxfr.org/archlinux http]</sub> <sub>[rsync://mir1.archlinuxfr.org/archlinux rsync]</sub><br />
*ftp://mir2.archlinuxfr.org/archlinux <sub>[http://mir2.archlinuxfr.org/archlinux http]</sub> <sub>[rsync://mir2.archlinuxfr.org/archlinux rsync]</sub><br />
*http://mir.archlinux.fr/<br />
*ftp://ftp.free.fr/mirrors/ftp.archlinux.org/<br />
*ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/<br />
=== 德国 ===<br />
*ftp://ftp5.gwdg.de/pub/linux/archlinux/ <sub>[http://ftp5.gwdg.de/pub/linux/archlinux/ http]</sub> <sub>[rsync://ftp5.gwdg.de/pub/linux/archlinux/ rsync]</sub><br />
*ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/ <sub>[http://ftp.hosteurope.de/mirror/ftp.archlinux.org/ http]</sub><br />
*ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/ <sub>[http://ftp.tu-chemnitz.de/pub/linux/archlinux/ http]</sub><br />
*ftp://ftp.archlinuxppc.org/i686/<br />
*ftp://ftp.uni-kl.de/pub/linux/archlinux/ <sub>[http://ftp.uni-kl.de/pub/linux/archlinux/ http]</sub> <sub>[rsync: ftp.uni-kl.de::pub/linux/archlinux/ rsync]</sub><br />
*ftp://ftp.uni-bayreuth.de/pub/linux/archlinux <sub>[http://ftp.uni-bayreuth.de/linux/archlinux http]</sub> <sub>[rsync://rsync.uni-bayreuth.de/archlinux/ rsync]</sub><br />
<br />
=== 英国 ===<br />
*http://www.mirrorservice.org/sites/ftp.archlinux.org/<br />
*ftp://mirrors.uk2.net/pub/archlinux/ <sub>[http://archlinux.mirrors.uk2.net/ http]</sub><br />
<br />
=== 希腊 ===<br />
*ftp://ftp.ntua.gr/pub/linux/archlinux/ <sub>[http://ftp.ntua.gr/pub/linux/archlinux/ http]</sub><br />
<br />
=== 匈牙利 ===<br />
*ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/<br />
<br />
=== 爱尔兰 ===<br />
*ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/ <sub>[http://ftp.heanet.ie/mirrors/ftp.archlinux.org/ http]</sub><br />
<br />
=== 以色列 ===<br />
*http://mirror.isoc.org.il/pub/archlinux/<br />
<br />
=== 意大利 ===<br />
*ftp://mi.mirror.garr.it/mirrors/archlinux/ <sub>[http://mi.mirror.garr.it/mirrors/archlinux/ http]</sub><br />
<br />
=== 荷兰 ===<br />
*ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/ <sub>[http://ftp.nluug.nl/pub/metalab/distributions/archlinux/ http]</sub><br />
*ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ <sub>[http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ http]</sub><br />
<br />
=== 挪威 ===<br />
*http://arch.likbilen.com/ (rsync 可用)<br />
<br />
=== 波兰 ===<br />
*ftp://mirror.icis.pcz.pl/archlinux/<br />
*ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ [http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ http]<br />
*http://unix.net.pl/archlinux.org/<br />
<br />
=== 葡萄牙 ===<br />
*ftp://cesium.di.uminho.pt/pub/archlinux/ <sub>[http://cesium.di.uminho.pt/pub/archlinux/ http]</sub><br />
<br />
=== 罗马尼亚 ===<br />
*ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/ <sub>[http://ftp.iasi.roedu.net/mirrors/archlinux.org/ http]</sub><br />
<br />
=== 俄罗斯 ===<br />
*ftp://mirror.yandex.ru/archlinux/ <sub>[http://mirror.yandex.ru/archlinux/ http]</sub> (rsync 可用)<br />
*http://archlinux.freeside.ru/<br />
<br />
=== 瑞典 ===<br />
*ftp://ftp.ds.hj.se/pub/os/linux/archlinux/ <sub>[http://ftp.ds.hj.se/pub/os/linux/archlinux/ http]</sub><br />
*ftp://ftp.gigabit.nu/ <sub>[http://ftp.gigabit.nu/ http]</sub><br />
<br />
=== 瑞士 ===<br />
*ftp://archlinux.puzzle.ch/ <sub>[http://archlinux.puzzle.ch/ http]</sub><br />
<br />
=== 土耳其 ===<br />
*http://server.elsistech.com/archlinux/<br />
<br />
=== 乌克兰 ===<br />
*ftp://hell.org.ua/archlinux/ (rsync 可用)<br />
*ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ <sub>[http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ http]</sub><br />
<br />
=== 美国 ===<br />
*ftp://ftp.archlinux.org/<br />
*ftp://locke.suu.edu/linux/dist/archlinux/<br />
*http://archlinux.unixheads.org/<br />
*ftp://mirrors.easynews.com/linux/archlinux/ <sub>[http://mirrors.easynews.com/linux/archlinux/ http]</sub><br />
*ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/ [http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/ http]<br />
*ftp://mirror.cs.vt.edu/pub/ArchLinux/ <sub>[http://mirror.cs.vt.edu/pub/ArchLinux/ http]</sub> (rsync 可用)<br />
*ftp://ibiblio.org/pub/linux/distributions/archlinux/ <sub>[http://distro.ibiblio.org/pub/linux/distributions/archlinux/ http]</sub><br />
*http://holmes.umflint.edu/archlinux/<br />
*http://mirror.neotuli.net/<br />
*ftp://mirror.rit.edu/archlinux/ <sub>[http://mirror.rit.edu/archlinux/ http]</sub> <sub>[rsync://mirror.rit.edu/archlinux/ rsync]</sub><br />
* http://schlunix.org/archlinux/<br />
* http://mirror.umoss.org/archlinux/ <sub>[rsync://mirror.umoss.org/archlinux/ rsync]</sub><br />
<br />
=== 越南 ===<br />
*ftp://ftp.indochinalinux.com/archlinux/ (DNS 经常出问题,IP 是 202.78.230.5)<br />
<br />
== 中国镜像 ==<br />
# 电信<br />
#* http://mirrors.lcuc.org.cn/archlinux/ (此链接似乎已失效)<br />
#* http://mirror.lupaworld.com/archlinux/ (隔天更新,速度不错)<br />
#* http://public.gooth.cn/archlinux/ (仅包含i686架构,已经失效)<br />
#* http://mirrors.163.com/archlinux/archlinux/ (隔天更新,速度很快)<br />
# 网通<br />
#* ftp://xde.gooth.cn/<br />
# 台湾<br />
#* ftp://cle.linux.org.tw/pub/ArchLinux/ (没有''testing''和''unstable'',以及iso)<br />
# 教育网<br />
#* http://ftp.sjtu.edu.cn/pub/mirror2/www.archlinux.org/<br />
#* http://[2001:da8:200:900e:0:5efe:a66f:4482]/archlinux/www.archlinux.org/ http://program.net9.org/archlinux/www.archlinux.org/<br />
#* http://mirror.bjtu.edu.cn/archlinux<br />
<br />
== 非官方镜像 ==<br />
'''These mirrors are not listed in <code>/etc/pacman.d/mirrorlist</code>.'''<br />
<br />
# 全球<br />
*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. )<br />
<br />
# 澳大利亚<br />
*ftp://mirror.internode.on.net/pub/archlinux/<br />
<sub>[http://mirror.internode.on.net/pub/archlinux/ http]</sub><br />
<br />
# 马来西亚<br />
*http://oss.mmu.edu.my/distro/arch (ISOs only)<br />
*http://mirror.oscc.org.my/archlinux/<br />
<br />
# 挪威<br />
*ftp://jane.tihlde.org/pub/archlinux/<br />
<sub>[http://jane.tihlde.org/pub/archlinux/ http] </sub><br />
*http://power.klette.us/mirror/<br />
# 波兰<br />
*ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/<br />
[http://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/ http] - up-to-date, but no Core repository<br />
<br />
# 美国<br />
*ftp://ftp.osuosl.org/pub/archlinux/<br />
<sub>[http://ftp.osuosl.org/pub/archlinux/ http]</sub> (i686 only - ''current'' and ''extra'') - outdated<br />
*http://mirror.umoss.org/archlinux/ <br />
<br />
== IPv6 镜像 ==<br />
*http://power.klette.us/mirror/ (挪威)<br />
*niue.belnet.be (比利时)<br />
*ftp.estpak.ee (爱沙尼亚)<br />
*patroklos.noc.ntua.gr (希腊)<br />
*ftp.heanet.ie (爱尔兰)<br />
*ftp.nluug.nl (荷兰)<br />
*ftp.surfnet.nl (荷兰)<br />
*ftp.sixnix.net/ftp6.sixnix.net (芬兰) - dead<br />
<br />
== Rsync 镜像 ==<br />
* 中国<br />
# rsync://archlinux.gooth.cn/archlinux<br />
<br />
* 美国<br />
# rsync://mirror.umoss.org/archlinux/ (全镜像,对学术机构不限流量)<br />
# rsync://mirror.rit.edu/archlinux/<br />
# rsync://mirror.umoss.org/archlinux/<br />
<br />
澳大利亚 <br />
# rsync://mirror.pacific.net.au/linux/archlinux/<br />
# rsync://mirror.aarnet.au/pub/archlinux/<br />
# rsync://mirror.internode.on.net/pub/archlinux/<br />
* 巴西<br />
# rsync://rsync.las.ic.unicamp.br/archlinux/<br />
* 加拿大<br />
# rsync://mirror.csclub.uwaterloo.ca/archlinux/<br />
* 法国<br />
# rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/<br />
# rsync://mir1.archlinuxfr.org/archlinux<br />
# rsync://mir2.archlinuxfr.org/archlinux<br />
* 德国<br />
# rsync://ftp5.gwdg.de/pub/linux/archlinux/<br />
# rsync: ftp.uni-kl.de::pub/linux/archlinux/<br />
# rsync://rsync.uni-bayreuth.de/archlinux/<br />
* 俄罗斯<br />
rsync://mirror.yandex.ru/archlinux/<br />
* 乌克兰<br />
# rsync://hell.org.ua/archlinux/<br />
* 挪威<br />
# rsync://jane.tihlde.org/pub/archlinux/</div>Markdinghttps://wiki.archlinux.org/index.php?title=Mirrors_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)&diff=73281Mirrors (简体中文)2009-08-04T11:10:19Z<p>Markding: /* 中国镜像 */</p>
<hr />
<div>[[Category:软件包管理|jx]]<br />
[[Category:HOWTOs (简体中文)|jx]]<br />
[[Category:简体中文]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|:Mirrors}}<br />
{{i18n_entry|简体中文|:Arch镜像 (简体中文)}}<br />
{{i18n_links_end}}<br />
<br />
<br />
== 启用您喜爱的镜像 ==<br />
<br />
pacman默认的core仓库配置如下:<br />
<br />
[core]<br />
Include = /etc/pacman.d/mirrorlist<br />
<br />
如果你想使用一个欧洲镜像作为默认镜像,只需将它添加到<tt>Include</tt>行前:<br />
<br />
[core]<br />
Server = <nowiki>ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/i686</nowiki><br />
Include = /etc/pacman.d/mirrorlist<br />
<br><br />
'''edit:''' The release of pacman 3.1 introduced the /etc/pacman.d/mirrorlist with the variable $repo, no need to maintain separate list for each repository.<br />
<br />
Pacman will now try to connect to this mirror first. You can do the same for ''testing'', ''extra'', ''community'' and ''unstable''.<br />
<br />
'''Use the same mirror for all repositories. Otherwise packages may get installed that are incompatible to each other (like kernel26 from ''core'' and another (older) kernel module from ''extra'').'''<br />
<br />
== 官方镜像 ==<br />
<br />
This is a list of all known Arch Linux mirrors, that's more up to date than the [http://www.archlinux.org/download/ official download page] or the [http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/base/pacman/ files in <tt>/etc/pacman.d/</tt>]. 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.<br />
<br />
Here is a hint to check just how up-to-date your chosen mirror is:<br />
# pick a server and browse to "extra/os/"<br />
# load [http://www.archlinux.org/ archlinux.org] in another tab or window<br />
# 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.<br />
<br><br />
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 <tt>pacman -Sy</tt>, even if it didn't change since the last run.<br />
<br />
[http://users.archlinux.de/~gerbra/mirrorcheck.html This website] provides updates on the current status of the Arch mirrors and how up to date they are.<br />
<br />
'''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.'''<br />
<br />
=== 澳大利亚 ===<br />
*ftp://mirror.pacific.net.au/linux/archlinux/ <sub>[http://mirror.pacific.net.au/linux/archlinux/ http]</sub> <sub>[rsync://mirror.pacific.net.au/linux/archlinux/]</sub><br />
*ftp://mirror.aarnet.edu.au/pub/archlinux/ <sub>[http://mirror.aarnet.edu.au/pub/archlinux/ http]</sub> <sub>[rsync://mirror.aarnet.au/pub/archlinux/]</sub><br />
<br />
=== 奥地利 ===<br />
*ftp://gd.tuwien.ac.at/opsys/linux/archlinux/ <sub>[http://gd.tuwien.ac.at/opsys/linux/archlinux/ http]</sub><br />
<br />
=== 比利时 ===<br />
*ftp://ftp.belnet.be/mirror/archlinux.org/ <sub>[http://ftp.belnet.be/mirror/archlinux.org/ http]</sub><br />
<br />
=== 巴西 ===<br />
*ftp://archlinux.c3sl.ufpr.br/archlinux/ <sub>[http://archlinux.c3sl.ufpr.br/ http]</sub><br />
*ftp://ftp.las.ic.unicamp.br/pub/archlinux <sub>[http://www.las.ic.unicamp.br/pub/archlinux http]</sub> <sub>[rsync://rsync.las.ic.unicamp.br/archlinux rsync]</sub><br />
<br />
=== 加拿大 ===<br />
*ftp://mirror.csclub.uwaterloo.ca/archlinux/ <sub>[http://mirror.csclub.uwaterloo.ca/archlinux/ http]</sub> <sub>[rsync://mirror.csclub.uwaterloo.ca/archlinux/ rsync]</sub><br />
<br />
=== 捷克 ===<br />
*ftp://ftp.sh.cvut.cz/MIRRORS/arch/ <sub>[http://ftp.sh.cvut.cz/MIRRORS/arch/ http]</sub><br />
<br />
=== 爱沙尼亚 ===<br />
*ftp://ftp.estpak.ee/pub/archlinux/ <sub>[http://ftp.estpak.ee/pub/archlinux/ http]</sub><br />
<br />
=== 法国 ===<br />
*ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ <sub>[http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ http]</sub> <sub>[rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ rsync]</sub><br />
*ftp://mir1.archlinuxfr.org/archlinux <sub>[http://mir1.archlinuxfr.org/archlinux http]</sub> <sub>[rsync://mir1.archlinuxfr.org/archlinux rsync]</sub><br />
*ftp://mir2.archlinuxfr.org/archlinux <sub>[http://mir2.archlinuxfr.org/archlinux http]</sub> <sub>[rsync://mir2.archlinuxfr.org/archlinux rsync]</sub><br />
*http://mir.archlinux.fr/<br />
*ftp://ftp.free.fr/mirrors/ftp.archlinux.org/<br />
*ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/<br />
=== 德国 ===<br />
*ftp://ftp5.gwdg.de/pub/linux/archlinux/ <sub>[http://ftp5.gwdg.de/pub/linux/archlinux/ http]</sub> <sub>[rsync://ftp5.gwdg.de/pub/linux/archlinux/ rsync]</sub><br />
*ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/ <sub>[http://ftp.hosteurope.de/mirror/ftp.archlinux.org/ http]</sub><br />
*ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/ <sub>[http://ftp.tu-chemnitz.de/pub/linux/archlinux/ http]</sub><br />
*ftp://ftp.archlinuxppc.org/i686/<br />
*ftp://ftp.uni-kl.de/pub/linux/archlinux/ <sub>[http://ftp.uni-kl.de/pub/linux/archlinux/ http]</sub> <sub>[rsync: ftp.uni-kl.de::pub/linux/archlinux/ rsync]</sub><br />
*ftp://ftp.uni-bayreuth.de/pub/linux/archlinux <sub>[http://ftp.uni-bayreuth.de/linux/archlinux http]</sub> <sub>[rsync://rsync.uni-bayreuth.de/archlinux/ rsync]</sub><br />
<br />
=== 英国 ===<br />
*http://www.mirrorservice.org/sites/ftp.archlinux.org/<br />
*ftp://mirrors.uk2.net/pub/archlinux/ <sub>[http://archlinux.mirrors.uk2.net/ http]</sub><br />
<br />
=== 希腊 ===<br />
*ftp://ftp.ntua.gr/pub/linux/archlinux/ <sub>[http://ftp.ntua.gr/pub/linux/archlinux/ http]</sub><br />
<br />
=== 匈牙利 ===<br />
*ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/<br />
<br />
=== 爱尔兰 ===<br />
*ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/ <sub>[http://ftp.heanet.ie/mirrors/ftp.archlinux.org/ http]</sub><br />
<br />
=== 以色列 ===<br />
*http://mirror.isoc.org.il/pub/archlinux/<br />
<br />
=== 意大利 ===<br />
*ftp://mi.mirror.garr.it/mirrors/archlinux/ <sub>[http://mi.mirror.garr.it/mirrors/archlinux/ http]</sub><br />
<br />
=== 荷兰 ===<br />
*ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/ <sub>[http://ftp.nluug.nl/pub/metalab/distributions/archlinux/ http]</sub><br />
*ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ <sub>[http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ http]</sub><br />
<br />
=== 挪威 ===<br />
*http://arch.likbilen.com/ (rsync 可用)<br />
<br />
=== 波兰 ===<br />
*ftp://mirror.icis.pcz.pl/archlinux/<br />
*ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ [http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ http]<br />
*http://unix.net.pl/archlinux.org/<br />
<br />
=== 葡萄牙 ===<br />
*ftp://cesium.di.uminho.pt/pub/archlinux/ <sub>[http://cesium.di.uminho.pt/pub/archlinux/ http]</sub><br />
<br />
=== 罗马尼亚 ===<br />
*ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/ <sub>[http://ftp.iasi.roedu.net/mirrors/archlinux.org/ http]</sub><br />
<br />
=== 俄罗斯 ===<br />
*ftp://mirror.yandex.ru/archlinux/ <sub>[http://mirror.yandex.ru/archlinux/ http]</sub> (rsync 可用)<br />
*http://archlinux.freeside.ru/<br />
<br />
=== 瑞典 ===<br />
*ftp://ftp.ds.hj.se/pub/os/linux/archlinux/ <sub>[http://ftp.ds.hj.se/pub/os/linux/archlinux/ http]</sub><br />
*ftp://ftp.gigabit.nu/ <sub>[http://ftp.gigabit.nu/ http]</sub><br />
<br />
=== 瑞士 ===<br />
*ftp://archlinux.puzzle.ch/ <sub>[http://archlinux.puzzle.ch/ http]</sub><br />
<br />
=== 土耳其 ===<br />
*http://server.elsistech.com/archlinux/<br />
<br />
=== 乌克兰 ===<br />
*ftp://hell.org.ua/archlinux/ (rsync 可用)<br />
*ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ <sub>[http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ http]</sub><br />
<br />
=== 美国 ===<br />
*ftp://ftp.archlinux.org/<br />
*ftp://locke.suu.edu/linux/dist/archlinux/<br />
*http://archlinux.unixheads.org/<br />
*ftp://mirrors.easynews.com/linux/archlinux/ <sub>[http://mirrors.easynews.com/linux/archlinux/ http]</sub><br />
*ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/ [http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/ http]<br />
*ftp://mirror.cs.vt.edu/pub/ArchLinux/ <sub>[http://mirror.cs.vt.edu/pub/ArchLinux/ http]</sub> (rsync 可用)<br />
*ftp://ibiblio.org/pub/linux/distributions/archlinux/ <sub>[http://distro.ibiblio.org/pub/linux/distributions/archlinux/ http]</sub><br />
*http://holmes.umflint.edu/archlinux/<br />
*http://mirror.neotuli.net/<br />
*ftp://mirror.rit.edu/archlinux/ <sub>[http://mirror.rit.edu/archlinux/ http]</sub> <sub>[rsync://mirror.rit.edu/archlinux/ rsync]</sub><br />
* http://schlunix.org/archlinux/<br />
* http://mirror.umoss.org/archlinux/ <sub>[rsync://mirror.umoss.org/archlinux/ rsync]</sub><br />
<br />
=== 越南 ===<br />
*ftp://ftp.indochinalinux.com/archlinux/ (DNS 经常出问题,IP 是 202.78.230.5)<br />
<br />
== 中国镜像 ==<br />
# 电信<br />
#* http://mirrors.lcuc.org.cn/archlinux/(此链接似乎已失效)<br />
#* http://mirror.lupaworld.com/archlinux/<br />
#* http://public.gooth.cn/archlinux/ (仅包含i686架构)<br />
#* http://mirrors.163.com/archlinux/archlinux/(隔天更新,速度很快)<br />
# 网通<br />
#* ftp://xde.gooth.cn/<br />
# 台湾<br />
#* ftp://cle.linux.org.tw/pub/ArchLinux/ (没有''testing''和''unstable'',以及iso)<br />
# 教育网<br />
#* http://ftp.sjtu.edu.cn/pub/mirror2/www.archlinux.org/<br />
#* http://[2001:da8:200:900e:0:5efe:a66f:4482]/archlinux/www.archlinux.org/ http://program.net9.org/archlinux/www.archlinux.org/<br />
#* http://mirror.bjtu.edu.cn/archlinux<br />
<br />
== 非官方镜像 ==<br />
'''These mirrors are not listed in <code>/etc/pacman.d/mirrorlist</code>.'''<br />
<br />
# 全球<br />
*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. )<br />
<br />
# 澳大利亚<br />
*ftp://mirror.internode.on.net/pub/archlinux/<br />
<sub>[http://mirror.internode.on.net/pub/archlinux/ http]</sub><br />
<br />
# 马来西亚<br />
*http://oss.mmu.edu.my/distro/arch (ISOs only)<br />
*http://mirror.oscc.org.my/archlinux/<br />
<br />
# 挪威<br />
*ftp://jane.tihlde.org/pub/archlinux/<br />
<sub>[http://jane.tihlde.org/pub/archlinux/ http] </sub><br />
*http://power.klette.us/mirror/<br />
# 波兰<br />
*ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/<br />
[http://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/ http] - up-to-date, but no Core repository<br />
<br />
# 美国<br />
*ftp://ftp.osuosl.org/pub/archlinux/<br />
<sub>[http://ftp.osuosl.org/pub/archlinux/ http]</sub> (i686 only - ''current'' and ''extra'') - outdated<br />
*http://mirror.umoss.org/archlinux/ <br />
<br />
== IPv6 镜像 ==<br />
*http://power.klette.us/mirror/ (挪威)<br />
*niue.belnet.be (比利时)<br />
*ftp.estpak.ee (爱沙尼亚)<br />
*patroklos.noc.ntua.gr (希腊)<br />
*ftp.heanet.ie (爱尔兰)<br />
*ftp.nluug.nl (荷兰)<br />
*ftp.surfnet.nl (荷兰)<br />
*ftp.sixnix.net/ftp6.sixnix.net (芬兰) - dead<br />
<br />
== Rsync 镜像 ==<br />
* 中国<br />
# rsync://archlinux.gooth.cn/archlinux<br />
<br />
* 美国<br />
# rsync://mirror.umoss.org/archlinux/ (全镜像,对学术机构不限流量)<br />
# rsync://mirror.rit.edu/archlinux/<br />
# rsync://mirror.umoss.org/archlinux/<br />
<br />
澳大利亚 <br />
# rsync://mirror.pacific.net.au/linux/archlinux/<br />
# rsync://mirror.aarnet.au/pub/archlinux/<br />
# rsync://mirror.internode.on.net/pub/archlinux/<br />
* 巴西<br />
# rsync://rsync.las.ic.unicamp.br/archlinux/<br />
* 加拿大<br />
# rsync://mirror.csclub.uwaterloo.ca/archlinux/<br />
* 法国<br />
# rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/<br />
# rsync://mir1.archlinuxfr.org/archlinux<br />
# rsync://mir2.archlinuxfr.org/archlinux<br />
* 德国<br />
# rsync://ftp5.gwdg.de/pub/linux/archlinux/<br />
# rsync: ftp.uni-kl.de::pub/linux/archlinux/<br />
# rsync://rsync.uni-bayreuth.de/archlinux/<br />
* 俄罗斯<br />
rsync://mirror.yandex.ru/archlinux/<br />
* 乌克兰<br />
# rsync://hell.org.ua/archlinux/<br />
* 挪威<br />
# rsync://jane.tihlde.org/pub/archlinux/</div>Markding