Difference between revisions of "Getting and installing Arch (简体中文)"

From ArchWiki
Jump to: navigation, search
(Add from English category.)
(Update translation.)
Line 22: Line 22:
 
[[uk:Category:Getting and installing Arch]]
 
[[uk:Category:Getting and installing Arch]]
 
[[zh-TW:Category:Getting and installing Arch]]
 
[[zh-TW:Category:Getting and installing Arch]]
此分类包含了下载安装Arch Linux的文章。
+
此分类中的文章介绍各种下载和安装 Arch Linux 的方法。
  
This category contains articles about Arch Linux releases, and downloading and installing Arch Linux.  
+
最新的官方Arch Linux安装媒介和他们的[[GnuPG]]签名可以从 [https://archlinux.org/download/ 下载页面]获取。ISO 镜像文件同时支持32位与64位构架。
  
The installation media and their [[GnuPG]] signatures can be acquired from the [https://archlinux.org/download/ Download] page. The single ISO image supports both 32bit and 64bit systems.
+
== 验证安装文件 ==
 +
安装镜像有数字签名,强烈建议安装前校验签名。尤其是 HTTP 镜像中的文件可能被恶意篡改。在一个已经安装  [[GnuPG]] 的系统上,下载 ''PGP signature'' (在校验和下面),把它放到 ''.iso'' 相同的文件夹下。在Arch Linux上,运行{{ic|pacman-key -v ''iso-file''.sig}}命令;在其他环境上,运行{{ic|gpg2 --verify ''iso-file.sig''}}。
  
{{Note|It is recommended to verify the image signature before use, especially when downloading from an ''HTTP mirror'', as these are run by volunteers who could [http://www.cs.arizona.edu/stork/packagemanagersecurity/attacks-on-package-managers.html#explanation serve malicious images]. On a system with [[GnuPG]] installed, do this by downloading the ''PGP signature'' (under ''Checksums'') to the ISO directory, and verifying it with {{ic|gpg --verify archlinux-<version>-dual.iso.sig}}. If the public key is not found, [[GnuPG#Import key|import]] it with {{ic|gpg --recv-keys ''key-id''}}.  
+
如果没有找到公钥,gpg2校验会失败,可以通过 {{ic|gpg --recv-keys ''key id''}} 进行[http://sparewotw.wordpress.com/2012/10/31/how-to-verify-signature-using-sig-file/ 导入].
  
Alternatively, run {{ic|pacman-key -v archlinux-<version>-dual.iso.sig}} from an existing Arch Linux installation.
+
== 安装方式 ==
}}
+
下面表格汇总了各种安装方式,安装的时候需要连接网络下载安装包。如果没有网络,请参考[[Offline installation of packages|离线安装]]
 
 
The table below offers an overview of the common ways to boot the installation media. As the installation process retrieves packages from a remote repository, these methods require an internet connection; see [[Offline installation of packages]] when none is available.
 
  
 
{| class="wikitable"
 
{| class="wikitable"
! Method
+
! 方法
! Articles
+
! 文章
! Conditions
+
! 条件
 
|-
 
|-
| Write the image on flash media or optical disc, then boot from it.
+
|将镜像写入 U 盘或光盘,然后启动.
 
|
 
|
 
* [[USB flash installation media]]
 
* [[USB flash installation media]]
 
* [[Optical disc drive#Burning]]
 
* [[Optical disc drive#Burning]]
 
|
 
|
* Installation on one, or a few machines at most
+
* 安装一台或较少数量
* Obtain a directly bootable system
+
* 可以直接从系统启动
 
|-
 
|-
| Mount the image on a server machine and have clients boot it over the network.
+
| 在服务器机器上挂载镜像,客户端通过网络启动.
 
|
 
|
 
* [[PXE]]
 
* [[PXE]]
 
* [[Diskless system]]
 
* [[Diskless system]]
 
|
 
|
* Client-server model
+
* 客户端-服务器模式
* Wired (1Gbit+) network connection
+
* 网络速度较好
 
|-
 
|-
| Mount the image in a running Linux system and install Arch from a chroot environment.
+
| Linux 系统中挂载安装镜像,从 chroot 环境安装 Arch.
 
|
 
|
 
* [[Install from existing Linux]]
 
* [[Install from existing Linux]]
 
* [[Install from SSH]]
 
* [[Install from SSH]]
 
|
 
|
* Replace an existing system with reduced downtime
+
* 短时间就可以替换已经存在的系统
* Install on the local machine, or a remote one via [[VNC]] or [[SSH]]
+
* 在本地机器上安装,或者通过 [[VNC]] [[SSH]] 安装
 
|-
 
|-
| Set up a virtual machine and install Arch as a guest system.
+
| 建立虚拟环境,并在虚拟机中安装 Arch.
 
|
 
|
 
* [[:Category:Hypervisors]]
 
* [[:Category:Hypervisors]]
 
* [[Moving an existing install into (or out of) a virtual machine]]
 
* [[Moving an existing install into (or out of) a virtual machine]]
 
|
 
|
* Operating system compatible with virtualization software
+
* 操作系统要和虚拟机兼容
* Obtain an isolated system for learning, testing or debugging
+
* 获取隔离的系统,进行学习、测试或者测试
 
|}
 
|}
  
See also [https://projects.archlinux.org/archiso.git/tree/docs/README.transfer README.transfer] and [https://projects.archlinux.org/archiso.git/tree/docs/README.altbootmethods README.altbootmethods].
+
== 参阅 ==
 +
* [https://projects.archlinux.org/archiso.git/tree/docs/README.transfer README.transfer]
 +
* [https://projects.archlinux.org/archiso.git/tree/docs/README.altbootmethods README.altbootmethods]

Revision as of 03:34, 2 October 2015

zh-TW:Category:Getting and installing Arch 此分类中的文章介绍各种下载和安装 Arch Linux 的方法。

最新的官方Arch Linux安装媒介和他们的GnuPG签名可以从 下载页面获取。ISO 镜像文件同时支持32位与64位构架。

验证安装文件

安装镜像有数字签名,强烈建议安装前校验签名。尤其是 HTTP 镜像中的文件可能被恶意篡改。在一个已经安装 GnuPG 的系统上,下载 PGP signature (在校验和下面),把它放到 .iso 相同的文件夹下。在Arch Linux上,运行pacman-key -v iso-file.sig命令;在其他环境上,运行gpg2 --verify iso-file.sig

如果没有找到公钥,gpg2校验会失败,可以通过 gpg --recv-keys key id 进行导入.

安装方式

下面表格汇总了各种安装方式,安装的时候需要连接网络下载安装包。如果没有网络,请参考离线安装

方法 文章 条件
将镜像写入 U 盘或光盘,然后启动.
  • 安装一台或较少数量
  • 可以直接从系统启动
在服务器机器上挂载镜像,客户端通过网络启动.
  • 客户端-服务器模式
  • 网络速度较好
在 Linux 系统中挂载安装镜像,从 chroot 环境安装 Arch.
  • 短时间就可以替换已经存在的系统
  • 在本地机器上安装,或者通过 VNCSSH 安装
建立虚拟环境,并在虚拟机中安装 Arch.
  • 操作系统要和虚拟机兼容
  • 获取隔离的系统,进行学习、测试或者测试

参阅