# Debian GNU/Linux Installation Guide msgid "" msgstr "" "Project-Id-Version: d-i-manual\n" "Report-Msgid-Bugs-To: debian-boot@lists.debian.org\n" "POT-Creation-Date: 2010-04-19 00:12+0000\n" "PO-Revision-Date: 2005-07-18 14:20+0800\n" "Last-Translator: Jhang, Jia-Wei\n" "Language-Team: debian-chinese-big5 \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Tag: title #: random-bits.xml:4 #, no-c-format msgid "Random Bits" msgstr "其他" #. Tag: title #: random-bits.xml:11 #, no-c-format msgid "Linux Devices" msgstr "Linux 裡的設備" #. Tag: para #: random-bits.xml:12 #, no-c-format msgid "" "In Linux various special files can be found under the directory /" "dev. These files are called device files and behave unlike " "ordinary files. The most common types of device files are for block devices " "and character devices. These files are an interface to the actual driver " "(part of the Linux kernel) which in turn accesses the hardware. Another, " "less common, type of device file is the named pipe. " "The most important device files are listed in the tables below." msgstr "" #. Tag: filename #: random-bits.xml:27 #, no-c-format msgid "fd0" msgstr "fd0" #. Tag: entry #: random-bits.xml:28 #, no-c-format msgid "First Floppy Drive" msgstr "第一個軟碟機" #. Tag: filename #: random-bits.xml:30 #, no-c-format msgid "fd1" msgstr "fd1" #. Tag: entry #: random-bits.xml:31 #, no-c-format msgid "Second Floppy Drive" msgstr "第二個軟碟機" #. Tag: filename #: random-bits.xml:37 #, no-c-format msgid "hda" msgstr "hda" #. Tag: entry #: random-bits.xml:38 #, no-c-format msgid "IDE Hard disk / CD-ROM on the first IDE port (Master)" msgstr "在第一個 IDE 埠(Master)的 IDE 硬碟/光碟機" #. Tag: filename #: random-bits.xml:40 #, no-c-format msgid "hdb" msgstr "hdb" #. Tag: entry #: random-bits.xml:41 #, no-c-format msgid "IDE Hard disk / CD-ROM on the first IDE port (Slave)" msgstr "在第一個 IDE 埠(Slave)的 IDE 硬碟/光碟機" #. Tag: filename #: random-bits.xml:43 #, no-c-format msgid "hdc" msgstr "hdc" #. Tag: entry #: random-bits.xml:44 #, no-c-format msgid "IDE Hard disk / CD-ROM on the second IDE port (Master)" msgstr "在第二個 IDE 埠(Master)的 IDE 硬碟/光碟機" #. Tag: filename #: random-bits.xml:46 #, no-c-format msgid "hdd" msgstr "hdd" #. Tag: entry #: random-bits.xml:47 #, no-c-format msgid "IDE Hard disk / CD-ROM on the second IDE port (Slave)" msgstr "在第二個 IDE 埠(Slave)的 IDE 硬碟/光碟機" #. Tag: filename #: random-bits.xml:49 #, no-c-format msgid "hda1" msgstr "hda1" #. Tag: entry #: random-bits.xml:50 #, no-c-format msgid "First partition of the first IDE hard disk" msgstr "在第一塊 IDE 硬碟上的第一個分割區" #. Tag: filename #: random-bits.xml:52 #, no-c-format msgid "hdd15" msgstr "hdd15" #. Tag: entry #: random-bits.xml:53 #, no-c-format msgid "Fifteenth partition of the fourth IDE hard disk" msgstr "在第四塊 IDE 硬碟上的第十五個分割區" #. Tag: filename #: random-bits.xml:59 #, no-c-format msgid "sda" msgstr "sda" #. Tag: entry #: random-bits.xml:60 #, no-c-format msgid "SCSI Hard disk with lowest SCSI ID (e.g. 0)" msgstr "SCSI ID 最小(例如 0)的 SCSI 硬碟" #. Tag: filename #: random-bits.xml:62 #, no-c-format msgid "sdb" msgstr "sdb" #. Tag: entry #: random-bits.xml:63 #, no-c-format msgid "SCSI Hard disk with next higher SCSI ID (e.g. 1)" msgstr "下一個 SCSI ID (例如 1)的 SCSI 硬碟" #. Tag: filename #: random-bits.xml:65 #, no-c-format msgid "sdc" msgstr "sdc" #. Tag: entry #: random-bits.xml:66 #, no-c-format msgid "SCSI Hard disk with next higher SCSI ID (e.g. 2)" msgstr "下一個 SCSI ID (例如 2)的 SCSI 硬碟" #. Tag: filename #: random-bits.xml:68 #, no-c-format msgid "sda1" msgstr "sda1" #. Tag: entry #: random-bits.xml:69 #, no-c-format msgid "First partition of the first SCSI hard disk" msgstr "在第一塊 SCSI 硬碟上的第一個分割區" #. Tag: filename #: random-bits.xml:71 #, no-c-format msgid "sdd10" msgstr "sdd10" #. Tag: entry #: random-bits.xml:72 #, no-c-format msgid "Tenth partition of the fourth SCSI hard disk" msgstr "在第四塊 SCSI 硬碟上的第十個分割區" #. Tag: filename #: random-bits.xml:78 #, no-c-format msgid "sr0" msgstr "sr0" #. Tag: entry #: random-bits.xml:79 #, no-c-format msgid "SCSI CD-ROM with the lowest SCSI ID" msgstr "SCSI ID 最小的 SCSI 光碟機" #. Tag: filename #: random-bits.xml:81 #, no-c-format msgid "sr1" msgstr "sr1" #. Tag: entry #: random-bits.xml:82 #, no-c-format msgid "SCSI CD-ROM with the next higher SCSI ID" msgstr "下一個 SCSI ID 的 SCSI 光碟機" #. Tag: filename #: random-bits.xml:88 #, no-c-format msgid "ttyS0" msgstr "ttyS0" #. Tag: entry #: random-bits.xml:89 #, no-c-format msgid "Serial port 0, COM1 under MS-DOS" msgstr "序列埠 0,即 MS-DOS 下的 COM1" #. Tag: filename #: random-bits.xml:91 #, no-c-format msgid "ttyS1" msgstr "ttyS1" #. Tag: entry #: random-bits.xml:92 #, no-c-format msgid "Serial port 1, COM2 under MS-DOS" msgstr "序列埠 1,即 MS-DOS 下的 COM2" #. Tag: filename #: random-bits.xml:94 #, no-c-format msgid "psaux" msgstr "psaux" #. Tag: entry #: random-bits.xml:95 #, no-c-format msgid "PS/2 mouse device" msgstr "PS/2 滑鼠設備" #. Tag: filename #: random-bits.xml:97 #, no-c-format msgid "gpmdata" msgstr "gpmdata" #. Tag: entry #: random-bits.xml:98 #, no-c-format msgid "Pseudo device, repeater data from GPM (mouse) daemon" msgstr "虛擬設備,中繼從GPM(滑鼠)服務傳來的資料" #. Tag: filename #: random-bits.xml:104 #, no-c-format msgid "cdrom" msgstr "cdrom" #. Tag: entry #: random-bits.xml:105 #, no-c-format msgid "Symbolic link to the CD-ROM drive" msgstr "指向光碟機的符號鏈結" #. Tag: filename #: random-bits.xml:107 #, no-c-format msgid "mouse" msgstr "mouse" #. Tag: entry #: random-bits.xml:108 #, no-c-format msgid "Symbolic link to the mouse device file" msgstr "指向滑鼠設備檔的符號鏈結" #. Tag: filename #: random-bits.xml:114 #, no-c-format msgid "null" msgstr "null" #. Tag: entry #: random-bits.xml:115 #, fuzzy, no-c-format msgid "Anything written to this device will disappear" msgstr "所有指向該設備的東西都會消失" #. Tag: filename #: random-bits.xml:117 #, no-c-format msgid "zero" msgstr "zero" #. Tag: entry #: random-bits.xml:118 #, no-c-format msgid "One can endlessly read zeros out of this device" msgstr "可以從該設備永無休止地讀出零" #. Tag: title #: random-bits.xml:125 #, no-c-format msgid "Setting Up Your Mouse" msgstr "設定您的滑鼠" #. Tag: para #: random-bits.xml:126 #, no-c-format msgid "" "The mouse can be used in both the Linux console (with gpm) and the X window " "environment. Normally, this is a simple matter of installing gpm and the X server itself. Both should be configured to use " "/dev/input/mice as the mouse device. The correct mouse " "protocol is named exps2 in gpm, and " "ExplorerPS/2 in X. The respective configuration files " "are /etc/gpm.conf and /etc/X11/xorg.conf." msgstr "" #. Tag: para #: random-bits.xml:137 #, no-c-format msgid "" "Certain kernel modules must be loaded in order for your mouse to work. In " "most cases the correct modules are autodetected, but not always for old-" "style serial and bus mice Serial mice usually have a 9-hole " "D-shaped connector; bus mice have an 8-pin round connector, not to be " "confused with the 6-pin round connector of a PS/2 mouse or the 4-pin round " "connector of an ADB mouse. , which are quite rare except " "on very old computers. Summary of Linux kernel modules needed for different " "mouse types: Module Description " "psmouse PS/2 mice (should be autodetected) usbhid USB mice (should be autodetected) sermouse Most serial mice " " logibm Bus mouse connected to Logitech " "adapter card inport Bus mouse " "connected to ATI or Microsoft InPort card To load a mouse driver module, you can use the " "modconf command (from the package with the same name) and " "look in the category kernel/drivers/input/mouse." msgstr "" #. Tag: para #: random-bits.xml:184 #, no-c-format msgid "" "Modern kernels give you the capability to emulate a three-button mouse when " "your mouse only has one button. Just add the following lines to /" "etc/sysctl.conf file." msgstr "" "當您的滑鼠只有一個按鍵的時候,現有的核心具有模擬三鍵滑鼠的能力。只需將下面加" "入 /etc/sysctl.conf 檔案。" #. Tag: screen #: random-bits.xml:191 #, no-c-format msgid "" "# 3-button mouse emulation\n" "# turn on emulation\n" "/dev/mac_hid/mouse_button_emulation = 1\n" "# Send middle mouse button signal with the F11 key\n" "/dev/mac_hid/mouse_button2_keycode = 87\n" "# Send right mouse button signal with the F12 key\n" "/dev/mac_hid/mouse_button3_keycode = 88\n" "# For different keys, use showkey to tell you what the code is." msgstr "" "# 模擬三鍵滑鼠\n" "# 啟用模擬\n" "/dev/mac_hid/mouse_button_emulation = 1\n" "# 按下 F11 則送出滑鼠中鍵訊號\n" "/dev/mac_hid/mouse_button2_keycode = 87\n" "# 按下 F12 則送出滑鼠右鍵訊號\n" "/dev/mac_hid/mouse_button3_keycode = 88\n" "# 對於其他不同的按鍵,使用 showkey 指令來得知其編碼。" #. Tag: title #: random-bits.xml:198 #, no-c-format msgid "Disk Space Needed for Tasks" msgstr "各軟體集所需的磁碟空間" #. Tag: para #: random-bits.xml:199 #, fuzzy, no-c-format msgid "" "A standard installation for the i386 architecture, including all standard " "packages and using the default 2.6 kernel, takes up &std-system-size;MB of " "disk space. A minimal base installation, without the Standard system task selected, will take &base-system-size;MB." msgstr "" "在 i386 架構上,基本的安裝預設使用 2.4 核心,需要 573MB 的磁碟空間,這裡面包" "含了標準軟體套件。" #. Tag: para #: random-bits.xml:207 #, no-c-format msgid "" "In both cases this is the actual disk space used after " "the installation is finished and any temporary files deleted. It also does " "not take into account overhead used by the file system, for example for " "journal files. This means that significantly more disk space is needed both " "during the installation and for normal system use." msgstr "" #. Tag: para #: random-bits.xml:216 #, no-c-format msgid "" "The following table lists sizes reported by aptitude for the tasks listed in " "tasksel. Note that some tasks have overlapping constituents, so the total " "installed size for two tasks together may be less than the total obtained by " "adding up the numbers." msgstr "" "下面的表格一一列出了 tasksel 中每個軟體集所需的磁碟空間大小。該列表是使用 " "aptitude 產生的。請注意,有些軟體集之間會有相重疊的部分,所以兩個軟體集一同 " "安裝後所佔的空間,可能會小於這兩個軟體集分別安裝所佔的空間。" #. Tag: para #: random-bits.xml:223 #, no-c-format msgid "" "By default the installer will install the GNOME desktop environment, but " "alternative desktop environments can be selected either by using one of the " "special CD images, or by specifying the desired desktop environment when the " "installer is booted (see )." msgstr "" #. Tag: para #: random-bits.xml:230 #, fuzzy, no-c-format msgid "" "Note that you will need to add the sizes listed in the table to the size of " "the standard installation when determining the size of partitions. Most of " "the size listed as Installed size will end up in /" "usr and in /lib; the size listed as " "Download size is (temporarily) required in /var." msgstr "" "注意您需要將表格中列出的大小加上基本安裝大小以決定分割區的大小。多數列出的大" "小如 安裝大小 將用在 /usr﹔列在 下" "載大小 是(臨時地)用在 /var。" #. Tag: entry #: random-bits.xml:244 #, no-c-format msgid "Task" msgstr "軟體集" #. Tag: entry #: random-bits.xml:245 #, no-c-format msgid "Installed size (MB)" msgstr "安裝大小 (MB)" #. Tag: entry #: random-bits.xml:246 #, no-c-format msgid "Download size (MB)" msgstr "下載大小 (MB)" #. Tag: entry #: random-bits.xml:247 #, no-c-format msgid "Space needed to install (MB)" msgstr "安裝所需空間 (MB)" #. Tag: entry #: random-bits.xml:253 #, no-c-format msgid "Desktop environment" msgstr "" #. Tag: entry #: random-bits.xml:254 random-bits.xml:255 random-bits.xml:256 #, no-c-format msgid " " msgstr "" #. Tag: entry #: random-bits.xml:259 #, no-c-format msgid "  • GNOME (default)" msgstr "" #. Tag: entry #: random-bits.xml:260 #, fuzzy, no-c-format #| msgid "&task-desktop-inst;" msgid "&task-desktop-gnome-inst;" msgstr "&task-desktop-inst;" #. Tag: entry #: random-bits.xml:261 #, fuzzy, no-c-format #| msgid "&task-desktop-dl;" msgid "&task-desktop-gnome-dl;" msgstr "&task-desktop-dl;" #. Tag: entry #: random-bits.xml:262 #, fuzzy, no-c-format #| msgid "&task-desktop-tot;" msgid "&task-desktop-gnome-tot;" msgstr "&task-desktop-tot;" #. Tag: entry #: random-bits.xml:265 #, no-c-format msgid "  • KDE" msgstr "" #. Tag: entry #: random-bits.xml:266 #, fuzzy, no-c-format #| msgid "&task-desktop-inst;" msgid "&task-desktop-kde-inst;" msgstr "&task-desktop-inst;" #. Tag: entry #: random-bits.xml:267 #, fuzzy, no-c-format #| msgid "&task-desktop-dl;" msgid "&task-desktop-kde-dl;" msgstr "&task-desktop-dl;" #. Tag: entry #: random-bits.xml:268 #, fuzzy, no-c-format #| msgid "&task-desktop-tot;" msgid "&task-desktop-kde-tot;" msgstr "&task-desktop-tot;" #. Tag: entry #: random-bits.xml:271 #, no-c-format msgid "  • Xfce" msgstr "" #. Tag: entry #: random-bits.xml:272 #, fuzzy, no-c-format #| msgid "&task-desktop-inst;" msgid "&task-desktop-xfce-inst;" msgstr "&task-desktop-inst;" #. Tag: entry #: random-bits.xml:273 #, fuzzy, no-c-format #| msgid "&task-desktop-dl;" msgid "&task-desktop-xfce-dl;" msgstr "&task-desktop-dl;" #. Tag: entry #: random-bits.xml:274 #, fuzzy, no-c-format #| msgid "&task-desktop-tot;" msgid "&task-desktop-xfce-tot;" msgstr "&task-desktop-tot;" #. Tag: entry #: random-bits.xml:277 #, no-c-format msgid "  • LXDE" msgstr "" #. Tag: entry #: random-bits.xml:278 #, fuzzy, no-c-format #| msgid "&task-desktop-inst;" msgid "&task-desktop-lxde-inst;" msgstr "&task-desktop-inst;" #. Tag: entry #: random-bits.xml:279 #, fuzzy, no-c-format #| msgid "&task-desktop-dl;" msgid "&task-desktop-lxde-dl;" msgstr "&task-desktop-dl;" #. Tag: entry #: random-bits.xml:280 #, fuzzy, no-c-format #| msgid "&task-desktop-tot;" msgid "&task-desktop-lxde-tot;" msgstr "&task-desktop-tot;" #. Tag: entry #: random-bits.xml:284 #, no-c-format msgid "Laptop" msgstr "" #. Tag: para #: random-bits.xml:286 #, no-c-format msgid "" "There is some overlap of the Laptop task with the Desktop environment task. " "If you install both, the Laptop task will only require a few MB additional " "disk space." msgstr "" #. Tag: entry #: random-bits.xml:293 #, no-c-format msgid "&task-laptop-inst;" msgstr "&task-laptop-inst;" #. Tag: entry #: random-bits.xml:294 #, no-c-format msgid "&task-laptop-dl;" msgstr "&task-laptop-dl;" #. Tag: entry #: random-bits.xml:295 #, no-c-format msgid "&task-laptop-tot;" msgstr "&task-laptop-tot;" #. Tag: entry #: random-bits.xml:299 #, no-c-format msgid "Web server" msgstr "Web 伺服器" #. Tag: entry #: random-bits.xml:300 #, no-c-format msgid "&task-web-inst;" msgstr "&task-web-inst;" #. Tag: entry #: random-bits.xml:301 #, no-c-format msgid "&task-web-dl;" msgstr "&task-web-dl;" #. Tag: entry #: random-bits.xml:302 #, no-c-format msgid "&task-web-tot;" msgstr "&task-web-tot;" #. Tag: entry #: random-bits.xml:306 #, no-c-format msgid "Print server" msgstr "印表機伺服器" #. Tag: entry #: random-bits.xml:307 #, no-c-format msgid "&task-print-inst;" msgstr "&task-print-inst;" #. Tag: entry #: random-bits.xml:308 #, no-c-format msgid "&task-print-dl;" msgstr "&task-print-dl;" #. Tag: entry #: random-bits.xml:309 #, no-c-format msgid "&task-print-tot;" msgstr "&task-print-tot;" #. Tag: entry #: random-bits.xml:313 #, no-c-format msgid "DNS server" msgstr "DNS 伺服器" #. Tag: entry #: random-bits.xml:314 #, no-c-format msgid "&task-dns-inst;" msgstr "&task-dns-inst;" #. Tag: entry #: random-bits.xml:315 #, no-c-format msgid "&task-dns-dl;" msgstr "&task-dns-dl;" #. Tag: entry #: random-bits.xml:316 #, no-c-format msgid "&task-dns-tot;" msgstr "&task-dns-tot;" #. Tag: entry #: random-bits.xml:320 #, no-c-format msgid "File server" msgstr "檔案伺服器" #. Tag: entry #: random-bits.xml:321 #, no-c-format msgid "&task-file-inst;" msgstr "&task-file-inst;" #. Tag: entry #: random-bits.xml:322 #, no-c-format msgid "&task-file-dl;" msgstr "&task-file-dl;" #. Tag: entry #: random-bits.xml:323 #, no-c-format msgid "&task-file-tot;" msgstr "&task-file-tot;" #. Tag: entry #: random-bits.xml:327 #, no-c-format msgid "Mail server" msgstr "郵件伺服器" #. Tag: entry #: random-bits.xml:328 #, no-c-format msgid "&task-mail-inst;" msgstr "&task-mail-inst;" #. Tag: entry #: random-bits.xml:329 #, no-c-format msgid "&task-mail-dl;" msgstr "&task-mail-dl;" #. Tag: entry #: random-bits.xml:330 #, no-c-format msgid "&task-mail-tot;" msgstr "&task-mail-tot;" #. Tag: entry #: random-bits.xml:334 #, no-c-format msgid "SQL database" msgstr "SQL 資料庫" #. Tag: entry #: random-bits.xml:335 #, no-c-format msgid "&task-sql-inst;" msgstr "&task-sql-inst;" #. Tag: entry #: random-bits.xml:336 #, no-c-format msgid "&task-sql-dl;" msgstr "&task-sql-dl;" #. Tag: entry #: random-bits.xml:337 #, no-c-format msgid "&task-sql-tot;" msgstr "&task-sql-tot;" #. Tag: para #: random-bits.xml:343 #, fuzzy, no-c-format msgid "" "If you install in a language other than English, tasksel " "may automatically install a localization task, if one " "is available for your language. Space requirements differ per language; you " "should allow up to 350MB in total for download and installation." msgstr "" "如果安裝英文之外的其他語言,tasksel 在語言有對應 locale " "時,可以自動安裝 localization task。每種語言需要的空間" "不同﹔您應該給 200MB 以上的空間用於下載和安裝。" #. Tag: title #: random-bits.xml:358 #, no-c-format msgid "Installing &debian; from a Unix/Linux System" msgstr "透過 Unix/Linux 系統來安裝 &debian;" #. Tag: para #: random-bits.xml:360 #, no-c-format msgid "" "This section explains how to install &debian; from an existing Unix or Linux " "system, without using the menu-driven installer as explained in the rest of " "the manual. This cross-install HOWTO has been requested by " "users switching to &debian; from Red Hat, Mandrake, and SUSE. In this " "section some familiarity with entering *nix commands and navigating the file " "system is assumed. In this section, $ symbolizes a command " "to be entered in the user's current system, while # refers " "to a command entered in the Debian chroot." msgstr "" "本節說明了如何透過現有的 Unix 或 Linux 系統來安裝 &debian;,而非使用本手冊後" "面要談到的基於 ncurses,由選單驅動的安裝軟體。這篇交叉安裝(cross-" "install) HOWTO 是應使用者的要求而撰寫的。他們原來是 Redhat、Mandrake " "和 SUSE 的使用者,現轉而使用 &debian;。在本節中,我們假設您對於輸入 *nix 指令" "以及在檔案系統中穿梭移動並不生疏。同時,在本節中,$ 符號表示" "這個指令是在使用者當前使用的系統中輸入的,而 # 則表示這個指" "令是在 Debian chroot 環境中輸入的。" #. Tag: para #: random-bits.xml:372 #, no-c-format msgid "" "Once you've got the new Debian system configured to your preference, you can " "migrate your existing user data (if any) to it, and keep on rolling. This is " "therefore a zero downtime &debian; install. It's also a " "clever way for dealing with hardware that otherwise doesn't play friendly " "with various boot or installation media." msgstr "" "您一旦根據自己的需求設定好了新的 Debian 系統,就可以將您的原來系統中的使用者" "資料(如果有的話)全部遷移到 Debian 裡去。然後就能繼續爽了。一言以蔽之,這是一" "次不關機的 &debian; 安裝。同時,這也是處理那些因為硬體原因不能" "透過任何開機或者安裝媒介完成安裝的權宜之計。" #. Tag: para #: random-bits.xml:383 #, no-c-format msgid "" "As this is a mostly manual procedure, you should bear in mind that you will " "need to do a lot of basic configuration of the system yourself, which will " "also require more knowledge of Debian and of Linux in general than " "performing a regular installation. You cannot expect this procedure to " "result in a system that is identical to a system from a regular " "installation. You should also keep in mind that this procedure only gives " "the basic steps to set up a system. Additional installation and/or " "configuration steps may be needed." msgstr "" #. Tag: title #: random-bits.xml:397 #, no-c-format msgid "Getting Started" msgstr "準備開始" #. Tag: para #: random-bits.xml:398 #, fuzzy, no-c-format msgid "" "With your current *nix partitioning tools, repartition the hard drive as " "needed, creating at least one filesystem plus swap. You need around 350MB of " "space available for a console only install, or about 1GB if you plan to " "install X (more if you intend to install desktop environments like GNOME or " "KDE)." msgstr "" "根據需要,用已經安裝的 *nix 的分割區工具重新分割詞區,要劃分出至少一個檔案系" "統外加 置換分割區。您如果只用控制台(console)的話,至少要準備 150MB 空間,倘若" "想要裝 X, 就需要至少 300MB 的空間了。" #. Tag: para #: random-bits.xml:406 #, fuzzy, no-c-format msgid "" "Next, create file systems on the partitions. For example, to create an ext3 " "file system on partition /dev/hda6 (that's our example " "root partition): \n" "# mke2fs -j /dev/hda6\n" " To create an ext2 file system instead, omit " "-j." msgstr "" "在您的分割區上建立檔案系統。舉例來說,如果要在 /dev/hda6 分割區(以後的例子中,將把它作為 root 分割區) 建立一個 ext3 格式的檔" "案系統: \n" "# mke2fs -j /dev/hda6\n" " 如果想建立的是 ext2 格式的檔案系統,就要去掉 " "-j。" #. Tag: para #: random-bits.xml:416 #, fuzzy, no-c-format msgid "" "Initialize and activate swap (substitute the partition number for your " "intended Debian swap partition): \n" "# mkswap /dev/hda5\n" "# sync; sync; sync\n" "# swapon /dev/hda5\n" " Mount one partition as /mnt/debinst (the installation point, to be the root (/) " "filesystem on your new system). The mount point name is strictly arbitrary, " "it is referenced later below." msgstr "" "初始化並啟用置換分割區(請把分割區編號替換成您希望用作置換分割區的分割區編" "號): \n" "# mkswap /dev/hda5\n" "# sync; sync; sync\n" "# swapon /dev/hda5\n" " 把一個分割區掛載(mount)到 /mnt/" "debinst(這是安裝的位置,將來作為您新系統的根(/)檔案系統)。掛載點的名稱是任意的,後面的步驟將會用到它。" #. Tag: screen #: random-bits.xml:428 #, fuzzy, no-c-format msgid "" "# mkdir /mnt/debinst\n" "# mount /dev/hda6 /mnt/debinst" msgstr "" "# mkdir /mnt/debinst\n" "# mount /dev/hda6 /mnt/debinst" #. Tag: para #: random-bits.xml:431 #, no-c-format msgid "" "If you want to have parts of the filesystem (e.g. /usr) mounted on separate " "partitions, you will need to create and mount these directories manually " "before proceding with the next stage." msgstr "" #. Tag: title #: random-bits.xml:441 #, no-c-format msgid "Install debootstrap" msgstr "安裝 debootstrap" #. Tag: para #: random-bits.xml:442 #, fuzzy, no-c-format msgid "" "The utility used by the Debian installer, and recognized as the official way " "to install a Debian base system, is debootstrap. It uses " "wget and ar, but otherwise depends " "only on /bin/sh and basic Unix/Linux tools " " These include the GNU core utilities and commands like sed, grep, tar and gzip. . Install wget and " "ar if they aren't already on your current system, then " "download and install debootstrap." msgstr "" "Debian 安裝程式使用的軟體,同時也為官方所採用,被用來安裝基系統的工具是 " "debootstrap。它使用了 wget 和 " "ar,否則就僅僅依賴 /bin/sh。如果您" "的系統裡沒有 wgetar,請安裝。然後再" "下載並安裝 debootstrap。" #. Tag: para #: random-bits.xml:472 #, fuzzy, no-c-format msgid "" "Or, you can use the following procedure to install it manually. Make a work " "folder for extracting the .deb into: \n" "# mkdir work\n" "# cd work\n" " The debootstrap binary is " "located in the Debian archive (be sure to select the proper file for your " "architecture). Download the debootstrap .deb from the " " pool, copy the package to the work folder, and extract the files from it. " "You will need to have root privileges to install the files." msgstr "" "或者您也可以透過下面的步驟手動安裝它。先新建一個工作目錄,它被用來放置解壓縮" "後的 .deb 文件: \n" "# mkdir work\n" "# cd work\n" " debootstrap 的二進位檔被包裝" "餘 Debian 的檔案庫中(請確保選擇了與您架構相對應的檔案)。下載位於 pool 的" "debootstrap .deb,把它拷貝到工作目錄,並從該檔案解壓縮出這" "些二進位檔。要把二進位檔安裝到系統中,您必須要擁有 root 的權限。" #. Tag: screen #: random-bits.xml:487 #, fuzzy, no-c-format msgid "" "# ar -x debootstrap_0.X.X_all.deb\n" "# cd /\n" "# zcat /full-path-to-work/work/data.tar.gz | tar xv" msgstr "" "# tar -xf debootstrap_0.X.X_arch.deb\n" "# cd /\n" "# zcat /full-path-to-work/work/data.tar.gz | tar xv" #. Tag: title #: random-bits.xml:493 #, no-c-format msgid "Run debootstrap" msgstr "執行 debootstrap" #. Tag: para #: random-bits.xml:494 #, fuzzy, no-c-format msgid "" "debootstrap can download the needed files directly from " "the archive when you run it. You can substitute any Debian archive mirror " "for &archive-mirror;/debian in the command example " "below, preferably a mirror close to you network-wise. Mirrors are listed at " "." msgstr "" "debootstrap 執行後,會自己從檔案庫直接下載所需的檔案。您可" "以把下面的命令列範例中的 http.us.debian.org/debian 替" "換成任何一個 Debian 檔案庫的鏡像站。選擇鏡像站時,可以根據您的網路情況選擇較" "近的一個。鏡像的列表在 。" #. Tag: para #: random-bits.xml:503 #, no-c-format msgid "" "If you have a &releasename; &debian; CD mounted at /cdrom, you could substitute a file URL instead of the http URL: " "file:/cdrom/debian/" msgstr "" "如果您已經把一張 &releasename; 版本的 &debian; CD 掛載在 /cdrom,那麼也可以把 http URL 替換成 file URL,即:file:/cdrom/" "debian/" #. Tag: para #: random-bits.xml:509 #, fuzzy, no-c-format msgid "" "Substitute one of the following for ARCH in the " "debootstrap command: alpha, " "amd64, arm, armel, hppa, i386, " "ia64, m68k, mips, mipsel, powerpc, " "s390, or sparc." msgstr "" "請將下列架構中的一個替換 ARCH 於 " "debootstrap 指令中: alpha, " "arm, hppa, i386, ia64, m68k, " "mips, mipsel, " "powerpc, s390,或 " "sparc。" #. Tag: screen #: random-bits.xml:528 #, fuzzy, no-c-format msgid "" "# /usr/sbin/debootstrap --arch ARCH &releasename; \\\n" " /mnt/debinst http://ftp.us.debian.org/debian" msgstr "" "# /usr/sbin/debootstrap --arch ARCH &releasename; \\\\n /mnt/debinst " "http://http.us.debian.org/debian" #. Tag: title #: random-bits.xml:534 #, no-c-format msgid "Configure The Base System" msgstr "基本系統的設定" #. Tag: para #: random-bits.xml:535 #, no-c-format msgid "" "Now you've got a real Debian system, though rather lean, on disk. " "chroot into it: \n" "# LANG=C chroot /mnt/debinst /bin/bash\n" " After chrooting you may need to set the terminal " "definition to be compatible with the Debian base system, for example:" msgstr "" #. Tag: screen #: random-bits.xml:545 #, no-c-format msgid "# export TERM=xterm-color" msgstr "" #. Tag: title #: random-bits.xml:550 #, no-c-format msgid "Create device files" msgstr "" #. Tag: para #: random-bits.xml:551 #, no-c-format msgid "" "At this point /dev/ only contains very basic device " "files. For the next steps of the installation additional device files may be " "needed. There are different ways to go about this and which method you " "should use depends on the host system you are using for the installation, on " "whether you intend to use a modular kernel or not, and on whether you intend " "to use dynamic (e.g. using udev) or static device " "files for the new system." msgstr "" #. Tag: para #: random-bits.xml:561 #, no-c-format msgid "A few of the available options are:" msgstr "" #. Tag: para #: random-bits.xml:566 #, no-c-format msgid "create a default set of static device files using" msgstr "" #. Tag: screen #: random-bits.xml:569 #, no-c-format msgid "" "# cd /dev\n" "# MAKEDEV generic" msgstr "" #. Tag: para #: random-bits.xml:572 #, no-c-format msgid "" "manually create only specific device files using MAKEDEV" msgstr "" #. Tag: para #: random-bits.xml:577 #, no-c-format msgid "" "bind mount /dev from your host system on top of /dev in the target system; " "note that the postinst scripts of some packages may try to create device " "files, so this option should only be used with care" msgstr "" #. Tag: title #: random-bits.xml:590 #, no-c-format msgid "Mount Partitions" msgstr "分割區的掛載" #. Tag: para #: random-bits.xml:591 #, fuzzy, no-c-format msgid "" "You need to create /etc/fstab. " "\n" "# editor /etc/fstab\n" " Here is a sample you can modify to suit: " "\n" "# /etc/fstab: static file system information.\n" "#\n" "# file system mount point type options dump pass\n" "/dev/XXX / ext3 defaults 0 1\n" "/dev/XXX /boot ext3 ro,nosuid,nodev 0 2\n" "\n" "/dev/XXX none swap sw 0 0\n" "proc /proc proc defaults 0 0\n" "\n" "/dev/fd0 /media/floppy auto noauto,rw,sync,user,exec 0 0\n" "/dev/cdrom /media/cdrom iso9660 noauto,ro,user,exec 0 0\n" "\n" "/dev/XXX /tmp ext3 rw,nosuid,nodev 0 2\n" "/dev/XXX /var ext3 rw,nosuid,nodev 0 2\n" "/dev/XXX /usr ext3 rw,nodev 0 2\n" "/dev/XXX /home ext3 rw,nosuid,nodev 0 2\n" " Use mount -a to mount all " "the file systems you have specified in your /etc/fstab, " "or, to mount file systems individually, use: \n" "# mount /path # e.g.: mount /usr\n" " Current Debian systems have mountpoints for " "removable media under /media, but keep compatibility " "symlinks in /. Create these as as needed, for example: " "\n" "# cd /media\n" "# mkdir cdrom0\n" "# ln -s cdrom0 cdrom\n" "# cd /\n" "# ln -s media/cdrom\n" " You can mount the proc file system multiple " "times and to arbitrary locations, though /proc is " "customary. If you didn't use mount -a, be sure to " "mount proc before continuing:" msgstr "" "您需要新建 /etc/fstab\n" "# editor /etc/fstab\n" " 這裡有個樣板,您不妨根據自己的情況來修改它: " "\n" "# /etc/fstab: static file system information.\n" "#\n" "# file system mount point type options dump pass\n" "/dev/XXX / ext2 defaults 0 0\n" "/dev/XXX /boot ext2 ro,nosuid,nodev 0 2\n" "\n" "/dev/XXX none swap sw 0 0\n" "proc /proc proc defaults 0 0\n" "\n" "/dev/fd0 /mnt/floppy auto noauto,rw,sync,user,exec 0 0\n" "/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec 0 0\n" "\n" "/dev/XXX /tmp ext2 rw,nosuid,nodev 0 2\n" "/dev/XXX /var ext2 rw,nosuid,nodev 0 2\n" "/dev/XXX /usr ext2 rw,nodev 0 2\n" "/dev/XXX /home ext2 rw,nosuid,nodev 0 2\n" " 您可以透過 mount -a 來掛載" "您的 /etc/fstab 中所標明的所有檔案系統,您也可以一個一個" "地分別掛載這些檔案系統,像:\n" "# mount /path # e.g.: mount /usr\n" " 您可以多次掛載 proc 檔案系統。儘管通常把它掛載" "到 /proc,但是它還是可以被掛載到任意的地方。如果您沒有用 mount -" "a,那麼請一定要在接著做之前先把 proc 掛載好:" #. Tag: screen #: random-bits.xml:617 #, no-c-format msgid "# mount -t proc proc /proc" msgstr "# mount -t proc proc /proc" #. Tag: para #: random-bits.xml:619 #, no-c-format msgid "" "The command ls /proc should now show a non-empty " "directory. Should this fail, you may be able to mount proc from outside the " "chroot:" msgstr "" #. Tag: screen #: random-bits.xml:625 #, fuzzy, no-c-format msgid "# mount -t proc proc /mnt/debinst/proc" msgstr "# mount -t proc proc /proc" #. Tag: title #: random-bits.xml:631 #, fuzzy, no-c-format msgid "Setting Timezone" msgstr "設定您的滑鼠" #. Tag: para #: random-bits.xml:632 #, no-c-format msgid "" "An option in the file /etc/default/rcS determines " "whether the system will interpret the hardware clock as being set to UTC or " "local time. The following command allows you to set that and choose your " "timezone." msgstr "" #. Tag: screen #: random-bits.xml:639 #, no-c-format msgid "" "# editor /etc/default/rcS\n" "# dpkg-reconfigure tzdata" msgstr "" #. Tag: title #: random-bits.xml:645 #, no-c-format msgid "Configure Networking" msgstr "網路的設定" #. Tag: para #: random-bits.xml:646 #, fuzzy, no-c-format msgid "" "To configure networking, edit /etc/network/interfaces, " "/etc/resolv.conf, /etc/hostname " "and /etc/hosts. \n" "# editor /etc/network/interfaces\n" " Here are some simple examples from /" "usr/share/doc/ifupdown/examples: \n" "######################################################################\n" "# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)\n" "# See the interfaces(5) manpage for information on what options are\n" "# available.\n" "######################################################################\n" "\n" "# We always want the loopback interface.\n" "#\n" "auto lo\n" "iface lo inet loopback\n" "\n" "# To use dhcp:\n" "#\n" "# auto eth0\n" "# iface eth0 inet dhcp\n" "\n" "# An example static IP setup: (broadcast and gateway are optional)\n" "#\n" "# auto eth0\n" "# iface eth0 inet static\n" "# address 192.168.0.42\n" "# network 192.168.0.0\n" "# netmask 255.255.255.0\n" "# broadcast 192.168.0.255\n" "# gateway 192.168.0.1\n" " Enter your nameserver(s) and search directives " "in /etc/resolv.conf: \n" "# editor /etc/resolv.conf\n" " A simple example /etc/resolv.conf: \n" "search hqdom.local\n" "nameserver 10.1.1.36\n" "nameserver 192.168.9.100\n" " Enter your system's host name (2 to 63 " "characters): \n" "# echo DebianHostName > /etc/hostname\n" " And a basic /etc/hosts with " "IPv6 support: \n" "127.0.0.1 localhost\n" "127.0.1.1 DebianHostName\n" "\n" "# The following lines are desirable for IPv6 capable hosts\n" "::1 ip6-localhost ip6-loopback\n" "fe00::0 ip6-localnet\n" "ff00::0 ip6-mcastprefix\n" "ff02::1 ip6-allnodes\n" "ff02::2 ip6-allrouters\n" "ff02::3 ip6-allhosts\n" " If you have multiple network cards, you should " "arrange the names of driver modules in the /etc/modules " "file into the desired order. Then during boot, each card will be associated " "with the interface name (eth0, eth1, etc.) that you expect." msgstr "" "要設定網路的話,請修改 /etc/network/interfaces, " "/etc/resolv.conf/etc/hostname\n" "# 編輯器 /etc/network/interfaces \n" " 這裡有些從 /usr/share/doc/ifupdown/" "examples 取出的範例: \n" "######################################################################\n" "# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)\n" "# See the interfaces(5) manpage for information on what options are \n" "# available.\n" "######################################################################\n" "\n" "# 我們永遠需要 loopback 介面。\n" "#\n" "auto lo\n" "iface lo inet loopback\n" "\n" "# 使用 DHCP:\n" "#\n" "# auto eth0\n" "# iface eth0 inet dhcp\n" "\n" "# 靜態 IP 的設置範例 (broadcast 和 gateway 不一定要設定):\n" "#\n" "# auto eth0\n" "# iface eth0 inet static\n" "# address 192.168.0.42\n" "# network 192.168.0.0\n" "# netmask 255.255.255.0\n" "# broadcast 192.168.0.255\n" "# gateway 192.168.0.1\n" " 填入您的 nameserver(s) 和搜索指令到 /" "etc/resolv.conf: \n" "# 編輯器 /etc/resolv.conf\n" " 這裡有個簡單的 /etc/resolv.conf: \n" "search hqdom.local\\000\n" "nameserver 10.1.1.36\n" "nameserver 192.168.9.100\n" " 輸入您的系統的主機名(2 到 63 個字元):" "\n" "# echo DebianHostName > /etc/hostname\n" " 如果您有多張網卡,在您修改 /etc/" "modules 檔案時,一定要按照期望的順序排列驅動模組的名字。這樣的話," "在系統啟動時,每塊網卡就能取得您所預期的 interface 名稱了(eth0、eth1 等等)。" #. Tag: title #: random-bits.xml:687 #, fuzzy, no-c-format msgid "Configure Apt" msgstr "網路的設定" #. Tag: para #: random-bits.xml:688 #, no-c-format msgid "" "Debootstrap will have created a very basic /etc/apt/sources.list that will allow installing additional packages. However, you may " "want to add some additional sources, for example for source packages and " "security updates: \n" "deb-src http://ftp.us.debian.org/debian &releasename; main\n" "\n" "deb http://security.debian.org/ &releasename;/updates main\n" "deb-src http://security.debian.org/ &releasename;/updates main\n" " Make sure to run aptitude update after you have made changes to the sources list." msgstr "" #. Tag: title #: random-bits.xml:704 #, fuzzy, no-c-format msgid "Configure Locales and Keyboard" msgstr "鍵盤的設定" #. Tag: para #: random-bits.xml:705 #, fuzzy, no-c-format msgid "" "To configure your locale settings to use a language other than English, " "install the locales support package and configure it. " "Currently the use of UTF-8 locales is recommended. " "\n" "# aptitude install locales\n" "# dpkg-reconfigure locales\n" " To configure your keyboard (if needed):" msgstr "" "要配置您的 locale 設定,以便使用英語以外的其它語言,就需要安裝提供 locales 支" "援的軟體套件,同時設定之: \n" "# apt-get install locales\n" "# dpkg-reconfigure locales\n" " 【注意】:在此之前必須設定好 apt,即在 base-" "config 階段就設定好它。在使用非 ASCII 或 latin1 的字元集的 locale 之前,請先" "參閱相應的本地化指南(localisation HOWTO)。" #. Tag: screen #: random-bits.xml:715 #, fuzzy, no-c-format msgid "" "# aptitude install console-data\n" "# dpkg-reconfigure console-data" msgstr "# dpkg-reconfigure console-data" #. Tag: para #: random-bits.xml:717 #, no-c-format msgid "" "Note that the keyboard cannot be set while in the chroot, but will be " "configured for the next reboot." msgstr "" #. Tag: title #: random-bits.xml:727 #, no-c-format msgid "Install a Kernel" msgstr "核心的安裝" #. Tag: para #: random-bits.xml:728 #, fuzzy, no-c-format msgid "" "If you intend to boot this system, you probably want a &arch-kernel; kernel and a " "boot loader. Identify available pre-packaged kernels with:" msgstr "" "您若想啟動這個系統,您很可能還需要一個 &arch-kernel; 核心和一個 boot loader。 可以用" "下面指令找到那些目前可用的被打好包的核心 \n" "# apt-cache search kernel-image\n" " 接下來把您所選中的核心的軟體套件名稱作為命令列的" "參數來安裝它。" #. Tag: screen #: random-bits.xml:733 #, no-c-format msgid "# apt-cache search &kernelpackage;" msgstr "" #. Tag: para #: random-bits.xml:735 #, no-c-format msgid "" "If you intend to use a pre-packaged kernel, you may want to create the " "configuration file /etc/kernel-img.conf before you do " "so. Here's an example file:" msgstr "" #. Tag: screen #: random-bits.xml:741 #, no-c-format msgid "" "# Kernel image management overrides\n" "# See kernel-img.conf(5) for details\n" "do_symlinks = yes\n" "relative_links = yes\n" "do_bootloader = yes\n" "do_bootfloppy = no\n" "do_initrd = yes\n" "link_in_boot = no" msgstr "" #. Tag: para #: random-bits.xml:743 #, no-c-format msgid "" "For detailed information about this file and the various options, consult " "its man page which will be available after installing the kernel-" "package package. We recommend that you check that the values are " "appropriate for your system." msgstr "" #. Tag: para #: random-bits.xml:750 #, no-c-format msgid "" "Then install the kernel package of your choice using its package name. " "\n" "# aptitude install &kernelpackage;-&kernelversion;-arch-etc\n" " If you did not create a /etc/kernel-" "img.conf before installing a pre-packaged kernel, you may be " "asked some questions during its installation that refer to it." msgstr "" #. Tag: title #: random-bits.xml:764 #, no-c-format msgid "Set up the Boot Loader" msgstr "Boot Loader 的設定" #. Tag: para #: random-bits.xml:765 #, fuzzy, no-c-format msgid "" "To make your &debian; system bootable, set up your boot loader to load the " "installed kernel with your new root partition. Note that " "debootstrap does not install a boot loader, though you " "can use aptitude inside your Debian chroot to do so." msgstr "" "要讓您的 &debian; 系統能夠啟動,還要設定您的 boot loader,好讓它能已安裝的核" "心並用上新的根分割區。注意 debootstrap 不會安裝 boot loader, 因此您要在 " "Debian 的 chroot 中使用 apt-get 完成。" #. Tag: para #: random-bits.xml:772 #, fuzzy, no-c-format msgid "" "Check info grub or man lilo.conf for instructions on setting up the bootloader. If you are keeping " "the system you used to install Debian, just add an entry for the Debian " "install to your existing grub menu.lst or " "lilo.conf. For lilo.conf, you " "could also copy it to the new system and edit it there. After you are done " "editing, call lilo (remember it will use lilo." "conf relative to the system you call it from)." msgstr "" "透過查閱 info grubman lilo.conf 可以得到一些有關設定 bootloader 的提示。如果您希望保留用來安裝 " "Debian 的那個系統,那麼就在現有的 grub menu.lst 或 " "lilo.conf 裡為 Debian 系統的安裝添加一組設定就可以了。對" "於 lilo.conf 您也可以把這個檔案拷貝到新的系統裡,然後在" "新的系統裡編輯它。當您修改好設定檔,執行 lilo (請記住,您在哪個系統裡執行 " "lilo,它就會用哪個系統裡的 lilo.conf )。" #. Tag: para #: random-bits.xml:784 #, no-c-format msgid "" "Installing and setting up grub is as easy as: " "\n" "# aptitude install grub\n" "# grub-install /dev/hda\n" "# update-grub\n" " The second command will install grub (in this case in the MBR of hda). The last " "command will create a sane and working /boot/grub/menu.lst." msgstr "" #. Tag: para #: random-bits.xml:794 #, no-c-format msgid "" "Note that this assumes that a /dev/hda device file has " "been created. There are alternative methods to install grub, but those are outside the scope of this appendix." msgstr "" #. Tag: para #: random-bits.xml:800 #, no-c-format msgid "Here is a basic /etc/lilo.conf as an example:" msgstr "下面有一個簡單的 /etc/lilo.conf 例子:" #. Tag: screen #: random-bits.xml:804 #, fuzzy, no-c-format msgid "" "boot=/dev/hda6\n" "root=/dev/hda6\n" "install=menu\n" "delay=20\n" "lba32\n" "image=/vmlinuz\n" "initrd=/initrd.img\n" "label=Debian" msgstr "" "boot=/dev/hda6\n" "root=/dev/hda6\n" "install=/boot/boot-menu.b\n" "delay=20\n" "lba32\n" "image=/vmlinuz\n" "label=Debian" #. Tag: para #: random-bits.xml:806 #, no-c-format msgid "" "Depending on which bootloader you selected, you can now make some additional " "changes in /etc/kernel-img.conf." msgstr "" #. Tag: para #: random-bits.xml:811 #, no-c-format msgid "" "For the grub bootloader, you should set the " "do_bootloader option to no. And to " "automatically update your /boot/grub/menu.lst on " "installation or removal of Debian kernels, add the following lines: " "\n" "postinst_hook = update-grub\n" "postrm_hook = update-grub\n" " For the lilo bootloader, " "the value of do_bootloader needs to remain yes." msgstr "" #. Tag: para #: random-bits.xml:823 #, no-c-format msgid "" "Check man yaboot.conf for instructions on setting up " "the bootloader. If you are keeping the system you used to install Debian, " "just add an entry for the Debian install to your existing yaboot." "conf. You could also copy it to the new system and edit it there. " "After you are done editing, call ybin (remember it will use yaboot." "conf relative to the system you call it from)." msgstr "" "透過查閱 man yaboot.conf 可以得到一些有關設定 " "bootloader 的提示。如果您希望繼續保留用來安裝 Debian 的那個系統,那麼在 " "yaboot.conf 裡為 Debian 系統的安裝添加一組設定就可以了。" "您也可以把這個檔案拷貝到新的系統裡,然後在新的系統裡編輯它。當您修改設定之" "後,執行 ybin (請記住,您在哪個系統執行 yaboot 它就會用哪個系統裡的 " "lilo.conf )。" #. Tag: para #: random-bits.xml:833 #, no-c-format msgid "" "Here is a basic /etc/yaboot.conf as an example: " "\n" "boot=/dev/hda2\n" "device=hd:\n" "partition=6\n" "root=/dev/hda6\n" "magicboot=/usr/lib/yaboot/ofboot\n" "timeout=50\n" "image=/vmlinux\n" "label=Debian\n" " On some machines, you may need to use " "ide0: instead of hd:." msgstr "" "下面有一個簡單的 /etc/yaboot.conf 例子: " "\n" "boot=/dev/hda2\n" "device=hd:\n" "partition=6\n" "root=/dev/hda6\n" "magicboot=/usr/lib/yaboot/ofboot\n" "timeout=50\n" "image=/vmlinux\n" "label=Debian\n" " 在有些電腦上,您或許應該把 ide0: 換成 hd:。" #. Tag: title #: random-bits.xml:846 #, no-c-format msgid "Finishing touches" msgstr "" #. Tag: para #: random-bits.xml:847 #, no-c-format msgid "" "As mentioned earlier, the installed system will be very basic. If you would " "like to make the system a bit more mature, there is an easy method to " "install all packages with standard priority: " "\n" "# tasksel install standard\n" " Of course, you can also just use " "aptitude to install packages individually." msgstr "" #. Tag: para #: random-bits.xml:858 #, no-c-format msgid "" "After the installation there will be a lot of downloaded packages in " "/var/cache/apt/archives/. You can free up some " "diskspace by running:" msgstr "" #. Tag: screen #: random-bits.xml:864 #, no-c-format msgid "# aptitude clean" msgstr "" #. Tag: title #: random-bits.xml:875 #, fuzzy, no-c-format msgid "Installing &debian; over Parallel Line IP (PLIP)" msgstr "透過 Unix/Linux 系統來安裝 &debian;" #. Tag: para #: random-bits.xml:877 #, no-c-format msgid "" "This section explains how to install &debian; on a computer without an " "Ethernet card, but with just a remote gateway computer attached via a Null-" "Modem cable (also called Null-Printer cable). The gateway computer should be " "connected to a network that has a Debian mirror on it (e.g. to the Internet)." msgstr "" #. Tag: para #: random-bits.xml:885 #, no-c-format msgid "" "In the example in this appendix we will set up a PLIP connection using a " "gateway connected to the Internet over a dial-up connection (ppp0). We will " "use IP addresses 192.168.0.1 and 192.168.0.2 for the PLIP interfaces on the " "target system and the source system respectively (these addresses should be " "unused within your network address space)." msgstr "" #. Tag: para #: random-bits.xml:893 #, no-c-format msgid "" "The PLIP connection set up during the installation will also be available " "after the reboot into the installed system (see )." msgstr "" #. Tag: para #: random-bits.xml:898 #, no-c-format msgid "" "Before you start, you will need to check the BIOS configuration (IO base " "address and IRQ) for the parallel ports of both the source and target " "systems. The most common values are io=0x378, " "irq=7." msgstr "" #. Tag: title #: random-bits.xml:908 #, no-c-format msgid "Requirements" msgstr "" #. Tag: para #: random-bits.xml:911 #, no-c-format msgid "" "A target computer, called target, where Debian will be " "installed." msgstr "" #. Tag: para #: random-bits.xml:917 #, no-c-format msgid "System installation media; see ." msgstr "" #. Tag: para #: random-bits.xml:922 #, no-c-format msgid "" "Another computer connected to the Internet, called source, that will function as the gateway." msgstr "" #. Tag: para #: random-bits.xml:928 #, no-c-format msgid "" "A DB-25 Null-Modem cable. See the PLIP-Install-HOWTO for more information on this cable and " "instructions how to make your own." msgstr "" #. Tag: title #: random-bits.xml:940 #, fuzzy, no-c-format msgid "Setting up source" msgstr "設定您的滑鼠" #. Tag: para #: random-bits.xml:941 #, no-c-format msgid "" "The following shell script is a simple example of how to configure the " "source computer as a gateway to the Internet using ppp0." msgstr "" #. Tag: screen #: random-bits.xml:946 #, no-c-format msgid "" "#!/bin/sh\n" "\n" "# We remove running modules from kernel to avoid conflicts and to\n" "# reconfigure them manually.\n" "modprobe -r lp parport_pc\n" "modprobe parport_pc io=0x378 irq=7\n" "modprobe plip\n" "\n" "# Configure the plip interface (plip0 for me, see dmesg | grep plip)\n" "ifconfig plip0 192.168.0.2 pointopoint " "192.168.0.1 netmask 255.255.255.255 up\n" "\n" "# Configure gateway\n" "modprobe iptable_nat\n" "iptables -t nat -A POSTROUTING -o ppp0 -j " "MASQUERADE\n" "echo 1 > /proc/sys/net/ipv4/ip_forward" msgstr "" #. Tag: title #: random-bits.xml:952 #, fuzzy, no-c-format msgid "Installing target" msgstr "核心的安裝" #. Tag: para #: random-bits.xml:953 #, no-c-format msgid "" "Boot the installation media. The installation needs to be run in expert " "mode; enter expert at the boot prompt. If you need to " "set parameters for kernel modules, you also need to do this at the boot " "prompt. For example, to boot the installer and set values for the io and irq options for the parport_pc module, enter the " "following at the boot prompt: \n" "expert parport_pc.io=0x378 parport_pc." "irq=7\n" " Below are the answers that should be given " "during various stages of the installation." msgstr "" #. Tag: guimenuitem #: random-bits.xml:972 #, no-c-format msgid "Load installer components from CD" msgstr "" #. Tag: para #: random-bits.xml:974 #, no-c-format msgid "" "Select the plip-modules option from the list; this " "will make the PLIP drivers available to the installation system." msgstr "" #. Tag: guimenuitem #: random-bits.xml:982 #, no-c-format msgid "Detect network hardware" msgstr "" #. Tag: para #: random-bits.xml:987 #, no-c-format msgid "" "If target does have a network card, a list of driver " "modules for detected cards will be shown. If you want to force &d-i; to use " "plip instead, you have to deselect all listed driver modules. Obviously, if " "target doesn't have a network card, the installer will not show this list." msgstr "" #. Tag: para #: random-bits.xml:996 #, no-c-format msgid "" "Because no network card was detected/selected earlier, the installer will " "ask you to select a network driver module from a list. Select the " "plip module." msgstr "" #. Tag: guimenuitem #: random-bits.xml:1008 #, fuzzy, no-c-format msgid "Configure the network" msgstr "網路的設定" #. Tag: para #: random-bits.xml:1011 #, no-c-format msgid "Auto-configure network with DHCP: No" msgstr "" #. Tag: para #: random-bits.xml:1016 #, no-c-format msgid "" "IP address: 192.168.0.1" msgstr "" #. Tag: para #: random-bits.xml:1021 #, no-c-format msgid "" "Point-to-point address: 192.168.0.2" msgstr "" #. Tag: para #: random-bits.xml:1027 #, no-c-format msgid "" "Name server addresses: you can enter the same addresses used on source (see " "/etc/resolv.conf)" msgstr "" #. Tag: title #: random-bits.xml:1046 #, fuzzy, no-c-format msgid "Installing &debian; using PPP over Ethernet (PPPoE)" msgstr "透過 Unix/Linux 系統來安裝 &debian;" #. Tag: para #: random-bits.xml:1048 #, no-c-format msgid "" "In some countries PPP over Ethernet (PPPoE) is a common protocol for " "broadband (ADSL or cable) connections to an Internet Service Provider. " "Setting up a network connection using PPPoE is not supported by default in " "the installer, but can be made to work very simply. This section explains " "how." msgstr "" #. Tag: para #: random-bits.xml:1056 #, no-c-format msgid "" "The PPPoE connection set up during the installation will also be available " "after the reboot into the installed system (see )." msgstr "" #. Tag: para #: random-bits.xml:1061 #, no-c-format msgid "" "To have the option of setting up and using PPPoE during the installation, " "you will need to install using one of the CD-ROM/DVD images that are " "available. It is not supported for other installation methods (e.g. " "netboot or floppy)." msgstr "" #. Tag: para #: random-bits.xml:1068 #, no-c-format msgid "" "Installing over PPPoE is mostly the same as any other installation. The " "following steps explain the differences." msgstr "" #. Tag: para #: random-bits.xml:1076 #, no-c-format msgid "" "Boot the installer with the boot parameter modules=ppp-udeb See " "for information on how to add a boot parameter. . This " "will ensure the component responsible for the setup of PPPoE (ppp-" "udeb) will be loaded and run automatically." msgstr "" #. Tag: para #: random-bits.xml:1091 #, no-c-format msgid "" "Follow the regular initial steps of the installation (language, country and " "keyboard selection; the loading of additional installer components " " The ppp-udeb component is loaded as one of the " "additional components in this step. If you want to install at medium or low " "priority (expert mode), you can also manually select the ppp-" "udeb instead of entering the modules parameter at " "the boot prompt. )." msgstr "" #. Tag: para #: random-bits.xml:1110 #, no-c-format msgid "" "The next step is the detection of network hardware, in order to identify any " "Ethernet cards present in the system." msgstr "" #. Tag: para #: random-bits.xml:1116 #, no-c-format msgid "" "After this the actual setup of PPPoE is started. The installer will probe " "all the detected Ethernet interfaces in an attempt to find a PPPoE " "concentrator (a type of server which handles PPPoE connections)." msgstr "" #. Tag: para #: random-bits.xml:1122 #, no-c-format msgid "" "It is possible that the concentrator will not to be found at the first " "attempt. This can happen occasionally on slow or loaded networks or with " "faulty servers. In most cases a second attempt to detect the concentrator " "will be successful; to retry, select Configure and start a " "PPPoE connection from the main menu of the installer." msgstr "" #. Tag: para #: random-bits.xml:1131 #, no-c-format msgid "" "After a concentrator is found, the user will be prompted to type the login " "information (the PPPoE username and password)." msgstr "" #. Tag: para #: random-bits.xml:1137 #, no-c-format msgid "" "At this point the installer will use the provided information to establish " "the PPPoE connection. If the correct information was provided, the PPPoE " "connection should be configured and the installer should be able to use it " "to connect to the Internet and retrieve packages over it (if needed). If the " "login information is not correct or some error appears, the installer will " "stop, but the configuration can be attempted again by selecting the menu " "entry Configure and start a PPPoE connection." msgstr "" #. Tag: title #: random-bits.xml:1157 #, no-c-format msgid "The Graphical Installer" msgstr "" #. Tag: para #: random-bits.xml:1158 #, no-c-format msgid "" "The graphical version of the installer is only available for a limited " "number of architectures, including &arch-title;. The functionality of the " "graphical installer is essentially the same as that of the regular installer " "as it basically uses the same programs, but with a different frontend." msgstr "" #. Tag: para #: random-bits.xml:1166 #, no-c-format msgid "" "Although the functionality is identical, the graphical installer still has a " "few significant advantages. The main advantage is that it supports more " "languages, namely those that use a character set that cannot be displayed " "with the regular newt frontend. It also has a few usability " "advantages such as the option to use a mouse, and in some cases several " "questions can be displayed on a single screen." msgstr "" #. Tag: para #: random-bits.xml:1175 #, no-c-format msgid "" "The graphical installer is available with all CD images and with the hd-" "media installation method. To boot the graphical installer simply select the " "relevant option from the boot menu. Expert and rescue mode for the graphical " "installer can be selected from the Advanced options menu. The " "previously used boot methods installgui, " "expertgui and rescuegui can " "still be used from the boot prompt which is shown after selecting the " "Help option in the boot menu." msgstr "" #. Tag: para #: random-bits.xml:1186 #, no-c-format msgid "" "There is also a graphical installer image that can be netbooted. And there " "is a special mini ISO image " " The mini ISO image can be downloaded from a Debian mirror as " "described in . Look for " "netboot/gtk/mini.iso. , which is " "mainly useful for testing." msgstr "" #. Tag: para #: random-bits.xml:1199 #, no-c-format msgid "" "For &arch-title;, currently only an experimental mini ISO " "image is available The mini ISO image " "can be downloaded from a Debian mirror as described in . Look for netboot/gtk/mini.iso. " " . It should work on almost all PowerPC systems that have " "an ATI graphical card, but is unlikely to work on other systems." msgstr "" #. Tag: para #: random-bits.xml:1213 #, no-c-format msgid "" "Just as with the regular installer it is possible to add boot parameters " "when starting the graphical installer." msgstr "" #. Tag: para #: random-bits.xml:1219 #, no-c-format msgid "" "The graphical installer requires significantly more memory to run than the " "regular installer: &minimum-memory-gtk;. If insufficient memory is " "available, it will automatically fall back to the regular newt frontend." msgstr "" #. Tag: para #: random-bits.xml:1226 #, no-c-format msgid "" "If the amount of memory in your system is below &minimum-memory;, the " "graphical installer may fail to boot at all while booting the regular " "installer would still work. Using the regular installer is recommended for " "systems with little available memory." msgstr "" #. Tag: title #: random-bits.xml:1236 #, no-c-format msgid "Using the graphical installer" msgstr "" #. Tag: para #: random-bits.xml:1237 #, no-c-format msgid "" "As already mentioned, the graphical installer basically works the same as " "the regular installer and thus the rest of this manual can be used to guide " "you through the installation process." msgstr "" #. Tag: para #: random-bits.xml:1243 #, no-c-format msgid "" "If you prefer using the keyboard over the mouse, there are two things you " "need to know. To expand a collapsed list (used for example for the selection " "of countries within continents), you can use the + and " "- keys. For questions where more than one item can be " "selected (e.g. task selection), you first need to tab to the &BTN-CONT; " "button after making your selections; hitting enter will toggle a selection, " "not activate &BTN-CONT;." msgstr "" #. Tag: para #: random-bits.xml:1253 #, no-c-format msgid "" "If a dialog offers additional help information, a Help button will be displayed. The help information can be accessed " "either by activating the button or by pressing the F1 key." msgstr "" #. Tag: para #: random-bits.xml:1259 #, no-c-format msgid "" "To switch to another console, you will also need to use the Ctrl key, just as with the X Window System. For example, to switch to VT2 " "(the first debug shell) you would use: Ctrl " "Left Alt F2 . The graphical " "installer itself runs on VT5, so you can use Left Alt F5 to switch back." msgstr "" #, fuzzy #~ msgid "" #~ "The Desktop task will install the GNOME desktop " #~ "environment." #~ msgstr "桌面 軟體集將同時安裝 Gnome 和 KDE 桌面環境。" #, fuzzy #~ msgid "420" #~ msgstr "21" #, fuzzy #~ msgid "50" #~ msgstr "58" #, fuzzy #~ msgid "17" #~ msgstr "1" #, fuzzy #~ msgid "67" #~ msgstr "460" #, fuzzy #~ msgid "35" #~ msgstr "3" #, fuzzy #~ msgid "11" #~ msgstr "119" #, fuzzy #~ msgid "46" #~ msgstr "460" #, fuzzy #~ msgid "277" #~ msgstr "2" #, fuzzy #~ msgid "79" #~ msgstr "58" #, fuzzy #~ msgid "356" #~ msgstr "3" #~ msgid "2" #~ msgstr "2" #~ msgid "1" #~ msgstr "1" #~ msgid "3" #~ msgstr "3" #, fuzzy #~ msgid "49" #~ msgstr "460" #~ msgid "21" #~ msgstr "21" #, fuzzy #~ msgid "70" #~ msgstr "58" #~ msgid "13" #~ msgstr "13" #, fuzzy #~ msgid "5" #~ msgstr "58" #, fuzzy #~ msgid "18" #~ msgstr "168" #~ msgid "24" #~ msgstr "24" #, fuzzy #~ msgid "8" #~ msgstr "48" #, fuzzy #~ msgid "32" #~ msgstr "323" #~ msgid "" #~ "The mouse can be used in both the Linux console (with gpm) and the X " #~ "window environment. The two uses can be made compatible if the gpm " #~ "repeater is used to allow the signal to flow to the X server as shown: " #~ "\n" #~ "mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse " #~ "=> X\n" #~ " /dev/ttyS0 (repeater) (symlink)\n" #~ " /dev/ttyS1\n" #~ " Set the repeater protocol to be raw (in " #~ "/etc/gpm.conf) while setting X to the original mouse " #~ "protocol in /etc/X11/XF86Config or /etc/" #~ "X11/XF86Config-4." #~ msgstr "" #~ "無論在 Linux 的控制台(console)裡(透過 gpm),還是在 X 視窗環境之中,您都可" #~ "以使用滑鼠。這兩種用法是可以相容的,只要設定 gpm 中繼程式,令其將信號流往 " #~ "X 伺服器: \n" #~ "mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse " #~ "=> X\n" #~ " /dev/ttyS0 (repeater) (symlink)\n" #~ " /dev/ttyS1\n" #~ " 把中繼程式的通訊協定設為原始(raw)模式(在 " #~ "/etc/gpm.conf 裡),同時在 /etc/X11/" #~ "XF86Config 或者 /etc/X11/XF86Config-4 裡設" #~ "定,讓 X 使用原始的滑鼠協定。" #~ msgid "" #~ "This approach to use gpm even in X has advantages when the mouse is " #~ "unplugged inadvertently. Simply restarting gpm with " #~ "\n" #~ "# /etc/init.d/gpm restart\n" #~ " will re-connect the mouse in software without " #~ "restarting X." #~ msgstr "" #~ "用這種方法使用 gpm 的話,就算在 X 裡也有其優勢。如果不小心把滑鼠拔下來後," #~ "只要像這樣重新啟動 gpm 就可以了:\n" #~ "# /etc/init.d/gpm restart\n" #~ " 如此就可以在軟體層面上重新連接滑鼠,而不用重新" #~ "啟動 X。" #, fuzzy #~ msgid "" #~ "If gpm is disabled or not installed for some reason, make sure to set X " #~ "to read directly from a mouse device such as /dev/psaux. For details, " #~ "refer to the 3-Button Mouse mini-Howto at /usr/share/doc/HOWTO/" #~ "en-txt/mini/3-Button-Mouse.gz, man gpm, " #~ "/usr/share/doc/gpm/FAQ.gz, and README.mouse." #~ msgstr "" #~ "如果您停用 gpm,或者因為某些原因沒有安裝它,請確定設定檔讓 X 從滑鼠設備 " #~ "(例如 /dev/psaux) 直接讀取資料。欲知詳情,請參閱三鍵滑鼠的迷您指南,即 " #~ "/usr/share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz、" #~ "man gpm/usr/share/doc/gpm/FAQ.gz 以及 README." #~ "mouse。" #~ msgid "" #~ "For PowerPC, in /etc/X11/XF86Config or /" #~ "etc/X11/XF86Config-4, set the mouse device to \"/" #~ "dev/input/mice\"." #~ msgstr "" #~ "對 PowerPC 來說,需要在 /etc/X11/XF86Config 或者 " #~ "/etc/X11/XF86Config-4 設定滑鼠設備為 \"/" #~ "dev/input/mice\"。" #~ msgid "Desktop" #~ msgstr "桌面" #, fuzzy #~ msgid "1258" #~ msgstr "2058" #, fuzzy #~ msgid "418" #~ msgstr "48" #, fuzzy #~ msgid "16" #~ msgstr "168" #, fuzzy #~ msgid "62" #~ msgstr "2" #, fuzzy #~ msgid "326" #~ msgstr "36" #~ msgid "71" #~ msgstr "71" #, fuzzy #~ msgid "" #~ "# aptitude install &kernelpackage;-&kernelversion;-arch-etc" #~ msgstr "" #~ "# apt-get install kernel-image-2.X.X-arch-etc" #~ msgid "" #~ "Now you've got a real Debian system, though rather lean, on disk. " #~ "Chroot into it:" #~ msgstr "" #~ "現在您在硬碟上已經裝上了一套真正的 Debian 作業系統,儘管它還很瘦小。" #~ "Chroot 用來進入該系統:" #~ msgid "# LANG= chroot /mnt/debinst /bin/bash" #~ msgstr "# LANG= chroot /mnt/debinst /bin/bash" #~ msgid "To configure your keyboard:" #~ msgstr "若要設定您的鍵盤,請:" #~ msgid "Configure Locales" #~ msgstr "locales 的設定" #~ msgid "1392" #~ msgstr "1392" #~ msgid "1852" #~ msgstr "1852" #~ msgid "12" #~ msgstr "12" #~ msgid "226" #~ msgstr "226" #~ msgid "47" #~ msgstr "47" #~ msgid "10" #~ msgstr "10" #~ msgid "66" #~ msgstr "66" #~ msgid "87" #~ msgstr "87" #~ msgid "" #~ "In Linux you have various special files in /dev. " #~ "These files are called device files. In the Unix world accessing hardware " #~ "is different. There you have a special file which actually runs a driver " #~ "which in turn accesses the hardware. The device file is an interface to " #~ "the actual system component. Files under /dev also " #~ "behave differently than ordinary files. Below are the most important " #~ "device files listed." #~ msgstr "" #~ "在 Linux 裡,您會在 /dev發現許多很特別的檔案。這些檔" #~ "案被稱為設備檔。在 Unix 世界裡,存取硬體的方式有些不一樣。這些特別的檔案的" #~ "背後其實運行著驅動程式,而正是驅動程式控制著硬體。設備檔就是存取真實的系統" #~ "元件的介面。/dev 目錄下的檔案的各種特性也和普通檔案大" #~ "相逕庭。下面列舉了最重要的一些設備檔。" #~ msgid "" #~ "If you have an rpm-based system, you can use alien to convert the .deb " #~ "into .rpm, or download an rpm-ized version at " #~ msgstr "" #~ "如果您用的是以 rpm 為基礎的系統,那麼可以用 alien 將 .deb 檔案轉換成為 ." #~ "rpm 檔案,或者下載已被包裝成 rpm 套件的版本,它位於 " #~ msgid "Preconfiguration File Example" #~ msgstr "預先設定檔範例" #~ msgid "" #~ "This is a complete working example of a preconfiguration file for an " #~ "automated install. Its use is explained in . You may want to uncomment some of the lines before using the " #~ "file." #~ msgstr "" #~ "這是一個完整的用於自動安裝的預先設定檔的實例。使用的說明在 。您可以在使用該檔案前移除某些行前面的註解。" #~ msgid "" #~ "In order to be able to properly present this example in the manual, we've " #~ "had to split some lines. This is indicated by the use of the line-" #~ "continuation-character \\ and extra indentation in the " #~ "next line. In a real preconfiguration file, these split lines have to be " #~ "joined into one single line. If you do not, " #~ "preconfiguration will fail with unpredictable results." #~ msgstr "" #~ "為了能在手冊中正確示範這個例子,我們不得不分割一些設定行。透過使用行連接符" #~ "號 \\ 和下一行的縮排標記。在實際的設定檔中,這些分割的設定" #~ "行必須合併成 單獨的一行。 如果您沒有這樣做,預先設定" #~ "檔會造成不可預估的失敗。" #, fuzzy #~ msgid "" #~ "#### Startup.\n" #~ "\n" #~ "# To use a preseed file, you'll first need to boot the installer,\n" #~ "# and tell it what preseed file to use. This is done by passing the\n" #~ "# kernel a boot parameter, either manually at boot or by editing the\n" #~ "# syslinux.cfg (or similar) file and adding the parameter to the end\n" #~ "# of the append line(s) for the kernel.\n" #~ "#\n" #~ "# If you're netbooting, use this:\n" #~ "# preseed/url=http://host/path/to/preseed\n" #~ "# If you're remastering a CD, you could use this:\n" #~ "# preseed/file=/cdrom/preseed\n" #~ "# If you're installing from USB media, use this, and put the preseed " #~ "file\n" #~ "# in the toplevel directory of the USB stick.\n" #~ "# preseed/file=/hd-media/preseed\n" #~ "# Be sure to copy this file to the location you specify.\n" #~ "#\n" #~ "# Some parts of the installation process cannot be automated using\n" #~ "# some forms of preseeding, because the questions are asked before\n" #~ "# the preseed file is loaded. For example, if the preseed file is\n" #~ "# downloaded over the network, the network setup must be done first.\n" #~ "# One reason to use initrd preseeding is that it allows preseeding\n" #~ "# of even these early steps of the installation process.\n" #~ "#\n" #~ "# If a preseed file cannot be used to preseed some steps, the install " #~ "can\n" #~ "# still be fully automated, since you can pass preseed values to the " #~ "kernel\n" #~ "# on the command line. Just pass path/to/var=value for any of the " #~ "preseed\n" #~ "# variables listed below.\n" #~ "#\n" #~ "# While you're at it, you may want to throw a debconf/priority=critical " #~ "in\n" #~ "# there, to avoid most questions even if the preseeding below misses " #~ "some.\n" #~ "# And you might set the timeout to 1 in syslinux.cfg to avoid needing to " #~ "hit\n" #~ "# enter to boot the installer.\n" #~ "#\n" #~ "# Note that the kernel accepts a maximum of 8 command line options and\n" #~ "# 8 environment options (including any options added by default for the\n" #~ "# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" #~ "# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" #~ "# you can use 32 command line options and 32 environment options.\n" #~ "#\n" #~ "# Some of the default options, like 'vga=normal' may be safely removed\n" #~ "# for most installations, which may allow you to add more options for\n" #~ "# preseeding.\n" #~ "\n" #~ "# It is not possible to use preseeding to set language, country, and\n" #~ "# keyboard. Instead you should use kernel parameters. Example:\n" #~ "# languagechooser/language-name=English\n" #~ "# countrychooser/shortlist=US\n" #~ "# console-keymaps-at/keymap=us\n" #~ "\n" #~ "#### Network configuration.\n" #~ "\n" #~ "# Of course, this won't work if you're loading your preseed file from " #~ "the\n" #~ "# network! But it's great if you're booting from CD or USB stick. You " #~ "can\n" #~ "# also pass network config parameters in on the kernel params if you are\n" #~ "# loading preseed files from the network.\n" #~ "\n" #~ "# netcfg will choose an interface that has link if possible. This makes " #~ "it\n" #~ "# skip displaying a list if there is more than one interface.\n" #~ "d-i netcfg/choose_interface select auto\n" #~ "\n" #~ "# If you have a slow dhcp server and the installer times out waiting for\n" #~ "# it, this might be useful.\n" #~ "#d-i netcfg/dhcp_timeout string 60\n" #~ "\n" #~ "# If you prefer to configure the network manually, here's how:\n" #~ "#d-i netcfg/disable_dhcp boolean true\n" #~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" #~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" #~ "#d-i netcfg/get_netmask string 255.255.255.0\n" #~ "#d-i netcfg/get_gateway string 192.168.1.1\n" #~ "#d-i netcfg/confirm_static boolean true\n" #~ "\n" #~ "# Note that any hostname and domain names assigned from dhcp take\n" #~ "# precedence over values set here. However, setting the values still\n" #~ "# prevents the questions from being shown even if values come from dhcp.\n" #~ "d-i netcfg/get_hostname string unassigned-hostname\n" #~ "d-i netcfg/get_domain string unassigned-domain\n" #~ "\n" #~ "# Disable that annoying WEP key dialog.\n" #~ "d-i netcfg/wireless_wep string\n" #~ "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" #~ "#d-i netcfg/dhcp_hostname string radish\n" #~ "\n" #~ "#### Mirror settings.\n" #~ "\n" #~ "d-i mirror/country string enter information manually\n" #~ "d-i mirror/http/hostname string http.us.debian.org\n" #~ "d-i mirror/http/directory string /debian\n" #~ "d-i mirror/suite string testing\n" #~ "d-i mirror/http/proxy string\n" #~ "\n" #~ "#### Partitioning.\n" #~ "\n" #~ "# If the system has free space you can choose to only partition that " #~ "space.\n" #~ "#d-i partman-auto/init_automatically_partition \\\n" #~ "# select Use the largest continuous free space\n" #~ "\n" #~ "# Alternatively, you can specify a disk to partition. The device name " #~ "can\n" #~ "# be given in either devfs or traditional non-devfs format.\n" #~ "# For example, to use the first disk devfs knows of:\n" #~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" #~ "\n" #~ "# You can choose from any of the predefined partitioning recipes:\n" #~ "d-i partman-auto/choose_recipe select \\\n" #~ " All files in one partition (recommended for new users)\n" #~ "#d-i partman-auto/choose_recipe select Desktop machine\n" #~ "#d-i partman-auto/choose_recipe select Multi-user workstation\n" #~ "\n" #~ "# Or provide a recipe of your own...\n" #~ "# The recipe format is documented in the file devel/partman-auto-recipe." #~ "txt.\n" #~ "# If you have a way to get a recipe file into the d-i environment, you " #~ "can\n" #~ "# just point at it.\n" #~ "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n" #~ "\n" #~ "# If not, you can put an entire recipe in one line. This example creates\n" #~ "# a small /boot partition, suitable swap, and uses the rest of the space\n" #~ "# for the root partition:\n" #~ "#d-i partman-auto/expert_recipe string boot-root :: \\\n" #~ "# 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } " #~ "\\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \\\n" #~ "# 500 10000 1000000000 ext3 method{ format } format{ } \\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \\\n" #~ "# 64 512 300% linux-swap method{ swap } format{ } .\n" #~ "# For reference, here is that same recipe in a more readable form:\n" #~ "# boot-root ::\n" #~ "# 40 50 100 ext3\n" #~ "# $primary{ } $bootable{ }\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ /boot }\n" #~ "# .\n" #~ "# 500 10000 1000000000 ext3\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ / }\n" #~ "# .\n" #~ "# 64 512 300% linux-swap\n" #~ "# method{ swap } format{ }\n" #~ "# .\n" #~ "\n" #~ "# This makes partman automatically partition without confirmation.\n" #~ "d-i partman/confirm_write_new_label boolean true\n" #~ "d-i partman/choose_partition select \\\n" #~ " Finish partitioning and write changes to disk\n" #~ "d-i partman/confirm boolean true\n" #~ "\n" #~ "#### Boot loader installation.\n" #~ "\n" #~ "# Grub is the default boot loader (for x86). If you want lilo installed\n" #~ "# instead, uncomment this:\n" #~ "#d-i grub-installer/skip boolean true\n" #~ "\n" #~ "# This is fairly safe to set, it makes grub install automatically to the " #~ "MBR\n" #~ "# if no other operating system is detected on the machine.\n" #~ "d-i grub-installer/only_debian boolean true\n" #~ "\n" #~ "# This one makes grub-installer install to the MBR if if finds some other " #~ "OS\n" #~ "# too, which is less safe as it might not be able to boot that other OS.\n" #~ "d-i grub-installer/with_other_os boolean true\n" #~ "\n" #~ "# Alternatively, if you want to install to a location other than the " #~ "mbr,\n" #~ "# uncomment and edit these lines:\n" #~ "#d-i grub-installer/bootdev string (hd0,0)\n" #~ "#d-i grub-installer/only_debian boolean false\n" #~ "#d-i grub-installer/with_other_os boolean false\n" #~ "\n" #~ "#### Finishing up the first stage install.\n" #~ "\n" #~ "# Avoid that last message about the install being complete.\n" #~ "d-i prebaseconfig/reboot_in_progress note\n" #~ "\n" #~ "#### Shell commands.\n" #~ "\n" #~ "# d-i preseeding is inherently not secure. Nothing in the installer " #~ "checks\n" #~ "# for attempts at buffer overflows or other exploits of the values of a\n" #~ "# preseed file like this one. Only use preseed files from trusted\n" #~ "# locations! To drive that home, and because it's generally useful, " #~ "here's\n" #~ "# a way to run any shell command you'd like inside the installer,\n" #~ "# automatically.\n" #~ "\n" #~ "# This first command is run as early as possible, just after\n" #~ "# preseeding is read.\n" #~ "#d-i preseed/early_command string anna-install some-udeb\n" #~ "\n" #~ "# This command is run just before the install finishes, but when there " #~ "is\n" #~ "# still a usable /target directory.\n" #~ "#d-i preseed/late_command string echo foo > /target/etc/bar\n" #~ "\n" #~ "# This command is run just as base-config is starting up.\n" #~ "#base-config base-config/early_command string echo hi mom\n" #~ "\n" #~ "# This command is run after base-config is done, just before the login:\n" #~ "# prompt. This is a good way to install a set of packages you want, or " #~ "to\n" #~ "# tweak the configuration of the system.\n" #~ "#base-config base-config/late_command string \\\n" #~ "# apt-get install zsh; chsh -s /bin/zsh\n" #~ "\n" #~ "###### Preseeding the 2nd stage of the installation.\n" #~ "\n" #~ "#### Preseeding base-config.\n" #~ "\n" #~ "# Avoid the introductory message.\n" #~ "base-config base-config/intro note\n" #~ "\n" #~ "# Avoid the final message.\n" #~ "base-config base-config/login note\n" #~ "\n" #~ "# If you installed a display manager, but don't want to start it " #~ "immediately\n" #~ "# after base-config finishes.\n" #~ "#base-config base-config/start-display-manager boolean false\n" #~ "\n" #~ "# Some versions of the installer can report back on what you've " #~ "installed.\n" #~ "# The default is not to report back, but sending reports helps the " #~ "project\n" #~ "# determine what software is most popular and include it on CDs.\n" #~ "#popularity-contest popularity-contest/participate boolean false\n" #~ "\n" #~ "#### Clock and time zone setup.\n" #~ "\n" #~ "# Controls whether or not the hardware clock is set to UTC.\n" #~ "#base-config tzconfig/gmt boolean true\n" #~ "# If you told the installer that you're in the United States, then you\n" #~ "# can set the time zone using this variable.\n" #~ "# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,\n" #~ "# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, " #~ "other)\n" #~ "#base-config tzconfig/choose_country_zone/US select Eastern\n" #~ "# If you told it you're in Canada.\n" #~ "# (Choices are: Newfoundland, Atlantic, Eastern, Central,\n" #~ "# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)\n" #~ "#base-config tzconfig/choose_country_zone/CA select Eastern\n" #~ "# If you told it you're in Brazil. (Choices are: East, West, Acre,\n" #~ "# DeNoronha, other)\n" #~ "#base-config tzconfig/choose_country_zone/BR select East\n" #~ "# Many countries have only one time zone. If you told the installer " #~ "you're\n" #~ "# in one of those countries, you can choose its standard time zone via " #~ "this\n" #~ "# question.\n" #~ "#base-config tzconfig/choose_country_zone_single boolean true\n" #~ "# This question is asked as a fallback for countries other than those\n" #~ "# listed above, which have more than one time zone. You can preseed one " #~ "of\n" #~ "# the time zones, or \"other\".\n" #~ "#base-config tzconfig/choose_country_zone_multiple select\n" #~ "\n" #~ "#### Account setup.\n" #~ "\n" #~ "# To preseed the root password, you have to put it in the clear in this\n" #~ "# file. That is not a very good idea, use caution!\n" #~ "#passwd passwd/root-password password r00tme\n" #~ "#passwd passwd/root-password-again password r00tme\n" #~ "\n" #~ "# If you want to skip creation of a normal user account.\n" #~ "#passwd passwd/make-user boolean false\n" #~ "\n" #~ "# Alternatively, you can preseed the user's name and login.\n" #~ "#passwd passwd/user-fullname string Debian User\n" #~ "#passwd passwd/username string debian\n" #~ "# And their password, but use caution!\n" #~ "#passwd passwd/user-password password insecure\n" #~ "#passwd passwd/user-password-again password insecure\n" #~ "\n" #~ "#### Apt setup.\n" #~ "\n" #~ "# This question controls what source the second stage installation uses\n" #~ "# for packages. Choices are cdrom, http, ftp, filesystem, edit sources " #~ "list\n" #~ "# by hand\n" #~ "base-config apt-setup/uri_type select http\n" #~ "\n" #~ "# If you choose ftp or http, you'll be asked for a country and a mirror.\n" #~ "base-config apt-setup/country select enter information manually\n" #~ "base-config apt-setup/hostname string http.us.debian.org\n" #~ "base-config apt-setup/directory string /debian\n" #~ "# Stop after choosing one mirror.\n" #~ "base-config apt-setup/another boolean false\n" #~ "\n" #~ "# You can choose to install non-free and contrib software.\n" #~ "#base-config apt-setup/non-free boolean true\n" #~ "#base-config apt-setup/contrib boolean true\n" #~ "\n" #~ "# Do enable security updates.\n" #~ "base-config apt-setup/security-updates boolean true\n" #~ "\n" #~ "#### Package selection.\n" #~ "\n" #~ "# You can choose to install any combination of tasks that are available.\n" #~ "# Available tasks as of this writing include: Desktop environment,\n" #~ "# Web server, Print server, DNS server, File server, Mail server,\n" #~ "# SQL database, Laptop, Standard system, manual package selection. The\n" #~ "# last of those will run aptitude. You can also choose to install no\n" #~ "# tasks, and force the installation of a set of packages in some other\n" #~ "# way. We recommend always including the Standard system task.\n" #~ "tasksel tasksel/first multiselect Desktop environment, Standard system\n" #~ "#tasksel tasksel/first multiselect Web server, Standard system\n" #~ "\n" #~ "#### Mailer configuration.\n" #~ "\n" #~ "# During a normal install, exim asks only a few questions. Here's how to\n" #~ "# avoid even those. More complicated preseeding is possible.\n" #~ "exim4-config exim4/dc_eximconfig_configtype \\\n" #~ " select no configuration at this time\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "\n" #~ "# It's a good idea to set this to whatever user account you choose to\n" #~ "# create. Leaving the value blank results in postmaster mail going to\n" #~ "# /var/mail/mail.\n" #~ "exim4-config exim4/dc_postmaster string\n" #~ "\n" #~ "#### X Configuration.\n" #~ "\n" #~ "# Preseeding Debian's X config is possible, but you probably need to " #~ "know\n" #~ "# some details about the video hardware of the machine, since Debian's X\n" #~ "# configurator does not do fully automatic configuration of everything.\n" #~ "\n" #~ "# X can detect the right driver for some cards, but if you're " #~ "preseeding,\n" #~ "# you override whatever it chooses. Still, vesa will work most places.\n" #~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" #~ "\n" #~ "# A caveat with mouse autodetection is that if it fails, X will retry it\n" #~ "# over and over. So if it's preseeded to be done, there is a possibility " #~ "of\n" #~ "# an infinite loop if the mouse is not autodetected.\n" #~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" #~ "\n" #~ "# Monitor autodetection is recommended.\n" #~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" #~ "# Uncomment if you have an LCD display.\n" #~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" #~ "# X has three configuration paths for the monitor. Here's how to preseed\n" #~ "# the \"medium\" path, which is always available. The \"simple\" path may " #~ "not\n" #~ "# be available, and the \"advanced\" path asks too many questions.\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" #~ " select medium\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" #~ " select 1024x768 @ 60 Hz\n" #~ "\n" #~ "#### Everything else.\n" #~ "\n" #~ "# Depending on what software you choose to install, or if things go " #~ "wrong\n" #~ "# during the installation process, it's possible that other questions " #~ "may\n" #~ "# be asked. You can preseed those too, of course. To get a list of every\n" #~ "# possible question that could be asked during an install, do an\n" #~ "# installation, and then run these commands:\n" #~ "# debconf-get-selections --installer > file\n" #~ "# debconf-get-selections >> file\n" #~ "\n" #~ "# If you like, you can include other preseed files into this one.\n" #~ "# Any settings in those files will override pre-existing settings from " #~ "this\n" #~ "# file. More that one file can be listed, separated by spaces; all will " #~ "be\n" #~ "# loaded. The included files can have preseed/include directives of " #~ "their\n" #~ "# own as well. Note that if the filenames are relative, they are taken " #~ "from\n" #~ "# the same directory as the preseed file that includes them.\n" #~ "#d-i preseed/include string x.cfg\n" #~ "\n" #~ "# More flexibly, this runs a shell command and if it outputs the names " #~ "of\n" #~ "# preseed files, includes those files. For example, to switch configs " #~ "based\n" #~ "# on a particular usb storage device (in this case, a built-in card " #~ "reader):\n" #~ "#d-i preseed/include_command string \\\n" #~ "# if $(grep -q \"GUID: 0aec3050aec305000001a003\" /proc/scsi/usb-" #~ "storage-*/*); \\\n" #~ "# then echo kraken.cfg; else echo otherusb.cfg; fi\n" #~ "\n" #~ "# To check the format of your preseed file before performing an install,\n" #~ "# you can use debconf-set-selections:\n" #~ "# debconf-set-selections -c preseed.cfg" #~ msgstr "" #~ "#### 修改 syslinux.cfg.\n" #~ "\n" #~ "# 修改 syslinux.cfg (或類似的檔案) 並在各行尾端加入核心參數。\n" #~ "#\n" #~ "# 您至少要加入一項參數以告知安裝程式預先設定檔的位置。\n" #~ "# 如果您從 USB 媒介安裝,使用以下參數,並將預先設定檔放在 USB 隨身碟的最上" #~ "層\n" #~ "# 目錄。\n" #~ "# preseed/file=/hd-media/preseed\n" #~ "# 如果您以網路開機,使用以下參數:\n" #~ "# preseed/url=http://host/path/to/preseed\n" #~ "# 如果您使用光碟,您可以設定:\n" #~ "# preseed/file=/cdrom/preseed\n" #~ "# 請確定把預先設定檔複製到您所指定的位置。\n" #~ "# \n" #~ "# 您可以指定檢查和 (checksum) 數值來確保安裝程式取得正確的預先設定檔。\n" #~ "# 目前必須使用 md5sum 檢查和,一旦檢查和被指定,就必須和檔案的檢查和相" #~ "同,\n" #~ "# 否則安裝程式將會拒絕使用此檔案。(Sarge 安裝程式不支援檢查和功能) \n" #~ "#\n" #~ "# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "#\n" #~ "# 您也許想要在預先設定檔中設置 debconf/priority=critical 以省略大部分問題 " #~ "(\n" #~ "# 儘管在接下來的預先設置中您可能會遺漏某些參數)。您也可以將倒數設定為 1," #~ "這\n" #~ "# 樣就不用按下 enter 鍵來啟動安裝程式。\n" #~ "# \n" #~ "# 語言、國家和鍵盤配置無法在預先設定檔中做預設,因為這些問題會在預先設定檔" #~ "被\n" #~ "# 載入之前提出。欲略過這些問題,請加入核心參數。\n" #~ "# 如果您使用 sarge 安裝程式,請加入以下三項:\n" #~ "#\n" #~ "# languagechooser/language-name=English\n" #~ "# countrychooser/shortlist=US\n" #~ "# console-keymaps-at/keymap=us\n" #~ "#\n" #~ "# 較新版本的安裝程式只需要兩項:\n" #~ "#\n" #~ "# debian-installer/locale=en_US\n" #~ "# console-keymaps-at/keymap=us\n" #~ "#\n" #~ "# 請注意,核心最多接受 8 個命令列參數、8 個環境選項 (包括被安裝程式自動帶" #~ "入\n" #~ "# 的參數)。如果超過這兩個限制,2.4 版的核心會忽略超過的參數,而 2.6 版的核" #~ "心\n" #~ "# 會產生錯誤 (panic)。比 2.6.9 更新的核心版本可以使用 32 個命令列參數和 " #~ "32 \n" #~ "# 個環境選項。\n" #~ "#\n" #~ "# 大部分狀況下,可以移除 'vga=normal' 此一預設選項,藉此加入更多預設參" #~ "數。\n" #~ "\n" #~ "#### 介殼命令\n" #~ "\n" #~ "# d-i的預先設置是不安全的,安裝程式將不會檢查這類設定檔中的參數是否會造成" #~ "暫\n" #~ "# 存滿溢或是設定不足。因此,請確定您從可信任的地方存取預先設定檔!接下來將" #~ "詳\n" #~ "# 述在安裝程式中執行介殼命令的方法,這非常的實用。\n" #~ "\n" #~ "# 這個命令應該在讀取預先設定檔之後立刻被執行\n" #~ "#d-i preseed/early_command string \\\n" #~ "# wget http://url/to/my.udeb -O /tmp/my.udeb; udpkg -i /tmp/my.udeb\n" #~ "\n" #~ "# 這個命令在安裝程式結束的前一步執行,但 /target 目錄必須存在且可以使" #~ "用。\n" #~ "#d-i preseed/late_command string \\\n" #~ "# for deb in /hd-media/*.deb; do cp $deb /target/tmp; \\\n" #~ "# chroot /target dpkg -i /tmp/$(basename $deb); done\n" #~ "\n" #~ "# 這個指令在 base-config 執行的時候被執行。\n" #~ "#base-config base-config/early_command string echo hi mom\n" #~ "\n" #~ "# 這個指令在 base-config 結束之後、login: 提示號之前被執行。如果您想安裝某" #~ "些\n" #~ "# 軟體套件,或是調整系統設定,這將是一個好方法。\n" #~ "#base-config base-config/late_command string \\\n" #~ "# apt-get install zsh; chsh -s /bin/zsh\n" #~ "\n" #~ "#### 網路設定\n" #~ "\n" #~ "# 如果您從網路開機,這部分內容當然不適用。但如果您是以 USB 隨碟或是光碟開" #~ "機\n" #~ "# ,您仍可以設定核心的網路設定參數以從網路讀取預先設定檔\n" #~ "\n" #~ "# 如果有可用連線,netcfg 將會選擇其中一條。如果有一條以上的連線,將不會顯" #~ "示\n" #~ "# 連線清單。\n" #~ "d-i netcfg/choose_interface select auto\n" #~ "\n" #~ "# 如果您想要手動設定網路,請參考以下方法:\n" #~ "#d-i netcfg/disable_dhcp boolean true\n" #~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" #~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" #~ "#d-i netcfg/get_netmask string 255.255.255.0\n" #~ "#d-i netcfg/get_gateway string 192.168.1.1\n" #~ "#d-i netcfg/confirm_static boolean true\n" #~ "\n" #~ "# 請注意,任何從 DHCP 取得的主機名稱和網域名稱將會蓋過以下設定,但是設定以" #~ "下\n" #~ "# 參數仍可以在從 DHCP 取得資料的請況下避免顯示對話框.\n" #~ "d-i netcfg/get_hostname string unassigned-hostname\n" #~ "d-i netcfg/get_domain string unassigned-domain\n" #~ "\n" #~ "# 取消煩人的 WEP 密鑰對話框。\n" #~ "d-i netcfg/wireless_wep string\n" #~ "# 某些 ISP 供應商用奇怪的 DHCP 主機名稱來當作密碼一類的用途。\n" #~ "#d-i netcfg/dhcp_hostname string radish\n" #~ "\n" #~ "#### 設定鏡像站\n" #~ "\n" #~ "d-i mirror/country string enter information " #~ "manually\n" #~ "d-i mirror/http/hostname string http.us.debian.org\n" #~ "d-i mirror/http/directory string /debian\n" #~ "d-i mirror/suite string testing\n" #~ "d-i mirror/http/proxy string \n" #~ "\n" #~ "### 分割磁區\n" #~ "\n" #~ "# 如果系統還有剩餘空間,您可以要求只分割該剩餘空間。\n" #~ "#d-i partman-auto/init_automatically_partition \\\n" #~ "# select Use the largest continuous free space\n" #~ "\n" #~ "# 或者,您可以選擇要被分割的磁碟,設備的名稱可以用 devfs 格式或是傳統的 \n" #~ "# 非devfs 格式指定。例如,第一個磁碟的 devfs 名稱為:\n" #~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" #~ "\n" #~ "# 您可以選擇任何預設的分割方式:\n" #~ "d-i partman-auto/choose_recipe select \\\n" #~ " All files in one partition (recommended for new users)\n" #~ "#d-i partman-auto/choose_recipe select Desktop machine\n" #~ "#d-i partman-auto/choose_recipe select Multi-user workstation\n" #~ "\n" #~ "# 或是提供您自己的分割方式...\n" #~ "# 設定分割方法的格式請參考 devel/partman-auto-recipe.txt。\n" #~ "# 如果您有任何其他的分割方式設定檔,您也可以直接指定:\n" #~ "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n" #~ "\n" #~ "# 如果沒有,您可以加入一行設定,下面範例會建立一個 /boot 小分割區,大小適" #~ "中\n" #~ "# 的置換分割區,並把剩下的空間分配給根分割區:\n" #~ "#d-i partman-auto/expert_recipe string boot-root :: \\\n" #~ "# 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } " #~ "\\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \\\n" #~ "# 500 10000 1000000000 ext3 method{ format } format{ } \\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \\\n" #~ "# 64 512 300% linux-swap method{ swap } format{ } . \n" #~ "# 下面用適合閱讀的格式表示同樣的設定,以利您參考:\n" #~ "# boot-root ::\n" #~ "# 40 50 100 ext3\n" #~ "# $primary{ } $bootable{ }\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ /boot }\n" #~ "# .\n" #~ "# 500 10000 1000000000 ext3\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ / }\n" #~ "# .\n" #~ "# 64 512 300% linux-swap\n" #~ "# method{ swap } format{ }\n" #~ "# .\n" #~ "\n" #~ "# 以下設定使 partman 不確認就開始分割。\n" #~ "d-i partman/confirm_write_new_label boolean true\n" #~ "d-i partman/choose_partition select \\\n" #~ " Finish partitioning and write changes to disk\n" #~ "d-i partman/confirm boolean true\n" #~ "\n" #~ "#### 安裝 boot-loader\n" #~ "\n" #~ "# Grub 是預設的 boot-loader (在 x86 下),如果您想安裝 lilo,移除下面設定" #~ "的\n" #~ "# 註解:\n" #~ "#d-i grub-installer/skip boolean true\n" #~ "\n" #~ "# 請安心使用以下設定,這將使 grub 在沒有其他作業系統的情況下自動安裝\n" #~ "# 到 MBR。\n" #~ "d-i grub-installer/only_debian boolean true\n" #~ "\n" #~ "# 這會讓 grub-installer 在有其他作業系統的狀況下仍安裝 grub 到 MBR。這可能" #~ "會\n" #~ "# 您無法啟動其他作業系統。\n" #~ "d-i grub-installer/with_other_os boolean true\n" #~ "\n" #~ "# 或者,若您想要把 grub 安裝到 MBR 以外的地方,把下面數行加上註解:\n" #~ "#d-i grub-installer/bootdev string (hd0,0)\n" #~ "#d-i grub-installer/only_debian boolean false\n" #~ "#d-i grub-installer/with_other_os boolean false\n" #~ "\n" #~ "##### 結束安裝程序的第一階段\n" #~ "\n" #~ "# 取消安裝即將結束的訊息。\n" #~ "d-i prebaseconfig/reboot_in_progress note \n" #~ "\n" #~ "\n" #~ "##### 預先設定 base-config\n" #~ "\n" #~ "# 取消介紹訊息。\n" #~ "base-config base-config/intro note\n" #~ "\n" #~ "# 取消最後的訊息\n" #~ "base-config base-config/login note\n" #~ "\n" #~ "# 如果您安裝了顯示管理程式,但又不想在 base-config 結束後立刻啟動之:\n" #~ "#base-config base-config/start-display-manager boolean false\n" #~ "\n" #~ "# 安裝程式的某些版本能夠回報您安裝了什麼,預設為不回報,但是送出回報能夠" #~ "幫\n" #~ "# 助專案得知哪些軟體很熱門,並將之放入光碟中。\n" #~ "#popularity-contest popularity-contest/participate boolean false\n" #~ "\n" #~ "###### 設定時區\n" #~ "\n" #~ "# 決定硬體時間是否被設定成 GMT 時間。\n" #~ "base-config tzconfig/gmt boolean true\n" #~ "\n" #~ "# 簡單的時區預設。您可以選擇任何可用的設定值給 $TZ。請參考\n" #~ "# /usr/share/zoneinf/ 中的選項\n" #~ "base-config tzconfig/preseed_zone string US/Eastern\n" #~ "\n" #~ "# 時區的預先設置曾經很複雜,舊的設定方式將完整描述於下文,如果您正在使用 " #~ "sarge,\n" #~ "# 您需要下面的方法。\n" #~ "\n" #~ "# 如果您告訴安裝程式您位於美國,那麼您可以用此變數設定時區。\n" #~ "# (選項有:Eastern, Central, Mountain, Pacific, Alaska, Hawaii, " #~ "Aleutian, \n" #~ "# Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)\n" #~ "base-config tzconfig/choose_country_zone/US select Eastern\n" #~ "# 如果您位於加拿大\n" #~ "# (選項有:Newfoundland, Atlantic, Eastern, Central,\n" #~ "# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)\n" #~ "base-config tzconfig/choose_country_zone/CA select Eastern\n" #~ "# 如果您位於巴西 (Choices are: East, West, Acre,\n" #~ "# DeNoronha, other)\n" #~ "base-config tzconfig/choose_country_zone/BR select East\n" #~ "# 很多國家只有一個時區,如果您告訴安裝程式您位於那些國家之一,您可以透過" #~ "以\n" #~ "# 下問題來選擇標準時區。\n" #~ "base-config tzconfig/choose_country_zone_single boolean true\n" #~ "# 這個問題是為了確認上述中具有多個時區國家之外的國家。您可以選擇其中一個" #~ "時\n" #~ "# 區或是 \"other\"。\n" #~ "#base-config tzconfig/choose_country_zone_multiple select \n" #~ "\n" #~ "###### 設定帳號\n" #~ "\n" #~ "# 欲設定 root 的密碼,您必須在這個檔案中以明文表示。這不是個好做法,請小" #~ "心\n" #~ "# 使用!\n" #~ "#passwd passwd/root-password password r00tme\n" #~ "#passwd passwd/root-password-again password r00tme\n" #~ "\n" #~ "# 如果您想跳過建立一般使用者帳號的步驟:\n" #~ "#passwd passwd/make-user boolean false\n" #~ "\n" #~ "# 或者,您可以預先設定使用者全名和登入帳號。\n" #~ "#passwd passwd/user-fullname string Debian User\n" #~ "#passwd passwd/username string debian\n" #~ "# 以及密碼,但請小心使用這個設定!\n" #~ "#passwd passwd/user-password password insecure\n" #~ "#passwd passwd/user-password-again password insecure\n" #~ "\n" #~ "###### 設定 Apt\n" #~ "\n" #~ "# 這個問題決定在第二階段中軟體套件的來源,可選的有 cdrom、http、ftp、\n" #~ "# filesystem 和 edit source list manually。\n" #~ "# by hand\n" #~ "base-config apt-setup/uri_type select http\n" #~ "\n" #~ "# 如果您選擇 ftp 或 http,您將會被詢問國家和鏡像站。\n" #~ "base-config apt-setup/country select enter information " #~ "manually\n" #~ "base-config apt-setup/hostname string http.us.debian.org\n" #~ "base-config apt-setup/directory string /debian\n" #~ "# Stop after choosing one mirror.\n" #~ "base-config apt-setup/another boolean false\n" #~ "\n" #~ "# 您可以選擇是否安裝 non-free 和 contrib 軟體。\n" #~ "#base-config apt-setup/non-free boolean true\n" #~ "#base-config apt-setup/contrib boolean true\n" #~ "\n" #~ "# 啟用安全更新。\n" #~ "base-config apt-setup/security-updates boolean true\n" #~ "\n" #~ "###### 選擇軟體套件\n" #~ "\n" #~ "# 您可以選擇安裝任何組合的可用軟體集。本文中可用的軟體集有:\n" #~ "# Desktop environment, Web server, Print server, DNS server, File server\n" #~ "# Mail server, SQL database 和 manual package selection。最後一個選項將" #~ "會\n" #~ "# 執行 aptitude。您也可以不安裝軟體集,並以其他方式強迫安裝其他軟體套" #~ "件。\n" #~ "tasksel tasksel/first multiselect Desktop environment\n" #~ "#tasksel tasksel/first multiselect Web server, Mail server, DNS " #~ "server\n" #~ "\n" #~ "###### 郵件設定\n" #~ "\n" #~ "# 在一般安裝中,exit 只會問兩個問題,下面告訴您如何跳過這兩個問題。您也可" #~ "以\n" #~ "# 設置更複雜的預先設定。\n" #~ "exim4-config exim4/dc_eximconfig_configtype \\\n" #~ " select no configuration at this time\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "\n" #~ "# 建議您對任何您建立的使用者帳號作以下的設定,如果這個選項留白,那麼 \n" #~ "# postmaster 的郵件將會存到 /var/mail/mail.\n" #~ "exim4-config exim4/dc_postmaster string \n" #~ "\n" #~ "###### 設定 X\n" #~ "\n" #~ "# 您也可以預先設定 Debian 的 X。但是您可能需要知道顯示硬體的細節,因為 \n" #~ "# Debian 的 X 設定程式不會自動設定所有的參數。\n" #~ "\n" #~ "# X 可以正確偵測某些顯示卡的驅動程式,但如果您使用預先設定,您將會蓋過自" #~ "動\n" #~ "# 偵測的結果。不過,VESA 能在大多數狀況下使用。\n" #~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" #~ "\n" #~ "# 這裡必須警告您,如果 X 無法偵測到滑鼠,它將會不斷嘗試。所以,如果您預先" #~ "設定\n" #~ "# 了滑鼠,那麼就有可能陷入偵測不到滑鼠的無限迴圈。\n" #~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" #~ "\n" #~ "# 建議您使用自動偵測顯示器\n" #~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" #~ "# 如果使用液晶顯示器,請註解下面設定。\n" #~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" #~ "# X 有三種階級來設定顯示器,下面是 \"medium\" 階級的設定,理當永久可用。" #~ "而\n" #~ "# \"simple\" 階級可能不會永久可用,至於 \"advanced\" 則會詢問非常多問" #~ "題。\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" #~ " select medium\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" #~ " select 1024x768 @ 60 Hz\n" #~ "\n" #~ "###### 其他\n" #~ "\n" #~ "# 根據您所安裝的軟體,或是安裝過程中出現的錯誤,其他問題可能會被提及。您也" #~ "可\n" #~ "# 預先設定它們。您可以藉由執行安裝程式,並且執行下面指令以取得其他問題的\n" #~ "# 清單:\n" #~ "# debconf-get-selections --installer > file\n" #~ "# debconf-get-selections >> file\n" #~ "\n" #~ "# 如果您喜歡,您可以帶入其他預先設定檔到此檔案中。那些檔案中的設定將會覆蓋" #~ "本\n" #~ "# 檔案之前有設定的部份。您可以帶入一個以上的預先設定檔,請以空白格開。這" #~ "些\n" #~ "# 檔案也可以帶入它們自己的預先設定指令。請注意,如果檔案路徑是以相對路徑\n" #~ "# 表示,那麼將從帶入它們的父檔案所處位置開始。\n" #~ "#d-i preseed/include string x.cfg\n" #~ "\n" #~ "# 安裝程式在使用預先設定檔之前得確認該檔案的檢查和。目前只支援 md5sum,按" #~ "照\n" #~ "# 引入的檔案順序列出這些檔案的檢查和。(Sarge 安裝程式不支援檢查和。)\n" #~ "#d-i pressed/include/checksum string " #~ "5da499872becccfeda2c4872f9171c3d\n" #~ "\n" #~ "# 或者您可以更靈活的設定,下面的介殼命令會決定預先設定設定檔的名稱。例" #~ "如,\n" #~ "# 在 USB 隨身碟 (在這個範例中,為一內建讀卡機) 下的設定檔之中切換:\n" #~ "#d-i preseed/include_command string \\\n" #~ "# if $(grep -q \"GUID: 0aec3050aec305000001a003\" /proc/scsi/usb-" #~ "storage-*/*); \\\n" #~ "# then echo kraken.cfg; else echo otherusb.cfg; fi\n" #~ "# 在安裝之前您可以檢查您的預先設置檔語法是否正確,請使用:\n" #~ "# debconf-set-selections -c preseed.cfg" #~ msgid "Configure Timezone, Users, and APT" #~ msgstr "時區、使用者和 APT 的設定" #~ msgid "" #~ "Set your timezone, add a normal user, and choose your apt sources by running" #~ msgstr "" #~ "設定您的時區,添加一個普通使用者,再執行下面的指令選擇您的 apt 來源" #~ msgid "# /usr/sbin/base-config new" #~ msgstr "# /usr/sbin/base-config new" #, fuzzy #~ msgid "" #~ "#### Startup.\n" #~ "\n" #~ "# To use a preseed file, you'll first need to boot the installer,\n" #~ "# and tell it what preseed file to use. This is done by passing the\n" #~ "# kernel a boot parameter, either manually at boot or by editing the\n" #~ "# syslinux.cfg (or similar) file and adding the parameter to the end\n" #~ "# of the append line(s) for the kernel.\n" #~ "#\n" #~ "# If you're netbooting, use this:\n" #~ "# preseed/url=http://host/path/to/preseed\n" #~ "# If you're remastering a CD, you could use this:\n" #~ "# preseed/file=/cdrom/preseed\n" #~ "# If you're installing from USB media, use this, and put the preseed " #~ "file\n" #~ "# in the toplevel directory of the USB stick.\n" #~ "# preseed/file=/hd-media/preseed\n" #~ "#\n" #~ "# If you feel comfortable modifying the installer's initrd image,\n" #~ "# you can also place a preseed file in the root directory of the " #~ "initrd's\n" #~ "# filesystem, named \"preseed.cfg\" -- the installer will always use " #~ "this\n" #~ "# file if it is present. Otherwise, be sure to copy this file to the " #~ "location\n" #~ "# you specify.\n" #~ "#\n" #~ "# To make sure the installer gets the right preseed file, you can " #~ "specify\n" #~ "# a checksum for the file. Currently this needs to be a md5sum, and if\n" #~ "# specified it must match the file or the installer will refuse to use " #~ "the\n" #~ "# file.\n" #~ "# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "#\n" #~ "# Some parts of the installation process cannot be automated using\n" #~ "# some forms of preseeding, because the questions are asked before\n" #~ "# the preseed file is loaded. For example, if the preseed file is\n" #~ "# downloaded over the network, the network setup must be done first.\n" #~ "# One reason to use initrd preseeding is that it allows preseeding\n" #~ "# of even these early steps of the installation process.\n" #~ "#\n" #~ "# If a preseed file cannot be used to preseed some steps, the install " #~ "can\n" #~ "# still be fully automated, since you can pass preseed values to the " #~ "kernel\n" #~ "# on the command line. Just pass path/to/var=value for any of the " #~ "preseed\n" #~ "# variables listed below.\n" #~ "#\n" #~ "# While you're at it, you may want to throw a debconf/priority=critical " #~ "in\n" #~ "# there, to avoid most questions even if the preseeding below misses " #~ "some.\n" #~ "# And you might set the timeout to 1 in syslinux.cfg to avoid needing to " #~ "hit\n" #~ "# enter to boot the installer.\n" #~ "#\n" #~ "# Note that the 2.4 kernel accepts a maximum of 8 command line options " #~ "and\n" #~ "# 8 environment options (including any options added by default for the\n" #~ "# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" #~ "# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" #~ "# you can use 32 command line options and 32 environment options.\n" #~ "#\n" #~ "# Some of the default options, like 'vga=normal' may be safely removed\n" #~ "# for most installations, which may allow you to add more options for\n" #~ "# preseeding.\n" #~ "\n" #~ "# To select your language and country, use this setting, but remember\n" #~ "# that this will only work for initrd based preseeding, for other forms " #~ "of\n" #~ "# preseeding you must convert it into a kernel parameter,\n" #~ "# such as debian-installer/locale=en_US\n" #~ "d-i debian-installer/locale string en_US\n" #~ "\n" #~ "# To select your keyboard, use this setting. Again it will need to be\n" #~ "# passed as a kernel parameter for most preseed setups.\n" #~ "d-i console-keymaps-at/keymap select us\n" #~ "\n" #~ "#### Network configuration.\n" #~ "\n" #~ "# Of course, this won't work if you're loading your preseed file from " #~ "the\n" #~ "# network! But it's great if you're booting from CD or USB stick. You " #~ "can\n" #~ "# also pass network config parameters in on the kernel params if you are\n" #~ "# loading preseed files from the network.\n" #~ "\n" #~ "# netcfg will choose an interface that has link if possible. This makes " #~ "it\n" #~ "# skip displaying a list if there is more than one interface.\n" #~ "d-i netcfg/choose_interface select auto\n" #~ "\n" #~ "# If you have a slow dhcp server and the installer times out waiting for\n" #~ "# it, this might be useful.\n" #~ "#d-i netcfg/dhcp_timeout string 60\n" #~ "\n" #~ "# If you prefer to configure the network manually, here's how:\n" #~ "#d-i netcfg/disable_dhcp boolean true\n" #~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" #~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" #~ "#d-i netcfg/get_netmask string 255.255.255.0\n" #~ "#d-i netcfg/get_gateway string 192.168.1.1\n" #~ "#d-i netcfg/confirm_static boolean true\n" #~ "\n" #~ "# Note that any hostname and domain names assigned from dhcp take\n" #~ "# precedence over values set here. However, setting the values still\n" #~ "# prevents the questions from being shown even if values come from dhcp.\n" #~ "d-i netcfg/get_hostname string unassigned-hostname\n" #~ "d-i netcfg/get_domain string unassigned-domain\n" #~ "\n" #~ "# Disable that annoying WEP key dialog.\n" #~ "d-i netcfg/wireless_wep string\n" #~ "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" #~ "#d-i netcfg/dhcp_hostname string radish\n" #~ "\n" #~ "#### Mirror settings.\n" #~ "\n" #~ "d-i mirror/country string enter information manually\n" #~ "d-i mirror/http/hostname string http.us.debian.org\n" #~ "d-i mirror/http/directory string /debian\n" #~ "d-i mirror/http/proxy string\n" #~ "\n" #~ "# What suite of Debian to install.\n" #~ "#d-i mirror/suite string testing\n" #~ "# What suite of Debian to use for loading installer components.\n" #~ "# (Defaults to same as mirror/suite.)\n" #~ "#d-i mirror/udeb/suite string testing\n" #~ "\n" #~ "#### Partitioning.\n" #~ "\n" #~ "# If the system has free space you can choose to only partition that " #~ "space.\n" #~ "#d-i partman-auto/init_automatically_partition \\\n" #~ "# select Use the largest continuous free space\n" #~ "\n" #~ "# Alternatively, you can specify a disk to partition. The device name " #~ "can\n" #~ "# be given in either devfs or traditional non-devfs format.\n" #~ "# For example, to use the first disk devfs knows of:\n" #~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" #~ "\n" #~ "# You can choose from any of the predefined partitioning recipes:\n" #~ "d-i partman-auto/choose_recipe \\\n" #~ " select All files in one partition (recommended for new users)\n" #~ "#d-i partman-auto/choose_recipe \\\n" #~ "# select Separate /home partition\n" #~ "#d-i partman-auto/choose_recipe \\\n" #~ "# select Separate /home, /usr, /var, and /tmp partitions\n" #~ "\n" #~ "# Or provide a recipe of your own...\n" #~ "# The recipe format is documented in the file devel/partman-auto-recipe." #~ "txt.\n" #~ "# If you have a way to get a recipe file into the d-i environment, you " #~ "can\n" #~ "# just point at it.\n" #~ "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n" #~ "\n" #~ "# If not, you can put an entire recipe the preseed file in one (logical)\n" #~ "# line. This example creates a small /boot partition, suitable swap, and\n" #~ "# uses the rest of the space for the root partition:\n" #~ "#d-i partman-auto/expert_recipe string \\\n" #~ "# boot-root :: \\\n" #~ "# 40 50 100 ext3 \\\n" #~ "# $primary{ } $bootable{ } \\\n" #~ "# method{ format } format{ } \\\n" #~ "# use_filesystem{ } filesystem{ ext3 } \\\n" #~ "# mountpoint{ /boot } \\\n" #~ "# . \\\n" #~ "# 500 10000 1000000000 ext3 \\\n" #~ "# method{ format } format{ } \\\n" #~ "# use_filesystem{ } filesystem{ ext3 } \\\n" #~ "# mountpoint{ / } \\\n" #~ "# . \\\n" #~ "# 64 512 300% linux-swap \\\n" #~ "# method{ swap } format{ } \\\n" #~ "# .\n" #~ "\n" #~ "# This makes partman automatically partition without confirmation.\n" #~ "d-i partman/confirm_write_new_label boolean true\n" #~ "d-i partman/choose_partition \\\n" #~ " select Finish partitioning and write changes to disk\n" #~ "d-i partman/confirm boolean true\n" #~ "\n" #~ "#### Boot loader installation.\n" #~ "\n" #~ "# Grub is the default boot loader (for x86). If you want lilo installed\n" #~ "# instead, uncomment this:\n" #~ "#d-i grub-installer/skip boolean true\n" #~ "\n" #~ "# This is fairly safe to set, it makes grub install automatically to the " #~ "MBR\n" #~ "# if no other operating system is detected on the machine.\n" #~ "d-i grub-installer/only_debian boolean true\n" #~ "\n" #~ "# This one makes grub-installer install to the MBR if if finds some other " #~ "OS\n" #~ "# too, which is less safe as it might not be able to boot that other OS.\n" #~ "d-i grub-installer/with_other_os boolean true\n" #~ "\n" #~ "# Alternatively, if you want to install to a location other than the " #~ "mbr,\n" #~ "# uncomment and edit these lines:\n" #~ "#d-i grub-installer/bootdev string (hd0,0)\n" #~ "#d-i grub-installer/only_debian boolean false\n" #~ "#d-i grub-installer/with_other_os boolean false\n" #~ "\n" #~ "#### Finishing up the first stage install.\n" #~ "\n" #~ "# Avoid that last message about the install being complete.\n" #~ "d-i prebaseconfig/reboot_in_progress note\n" #~ "\n" #~ "# This will prevent the installer from ejecting the CD during the " #~ "reboot,\n" #~ "# which is useful in some situations.\n" #~ "#d-i cdrom-detect/eject boolean false\n" #~ "\n" #~ "#### Shell commands.\n" #~ "\n" #~ "# d-i preseeding is inherently not secure. Nothing in the installer " #~ "checks\n" #~ "# for attempts at buffer overflows or other exploits of the values of a\n" #~ "# preseed file like this one. Only use preseed files from trusted\n" #~ "# locations! To drive that home, and because it's generally useful, " #~ "here's\n" #~ "# a way to run any shell command you'd like inside the installer,\n" #~ "# automatically.\n" #~ "\n" #~ "# This first command is run as early as possible, just after\n" #~ "# preseeding is read.\n" #~ "#d-i preseed/early_command string anna-install some-udeb\n" #~ "\n" #~ "# This command is run just before the install finishes, but when there " #~ "is\n" #~ "# still a usable /target directory.\n" #~ "#d-i preseed/late_command string echo foo > /target/etc/bar\n" #~ "\n" #~ "# This command is run just as base-config is starting up.\n" #~ "#base-config base-config/early_command string echo hi mom\n" #~ "\n" #~ "# This command is run after base-config is done, just before the login:\n" #~ "# prompt. This is a good way to install a set of packages you want, or " #~ "to\n" #~ "# tweak the configuration of the system.\n" #~ "#base-config base-config/late_command \\\n" #~ "# string apt-get install zsh; chsh -s /bin/zsh\n" #~ "\n" #~ "###### Preseeding the 2nd stage of the installation.\n" #~ "\n" #~ "#### Preseeding base-config.\n" #~ "\n" #~ "# Avoid the introductory message.\n" #~ "base-config base-config/intro note\n" #~ "\n" #~ "# Avoid the final message.\n" #~ "base-config base-config/login note\n" #~ "\n" #~ "# If you installed a display manager, but don't want to start it " #~ "immediately\n" #~ "# after base-config finishes.\n" #~ "#base-config base-config/start-display-manager boolean false\n" #~ "\n" #~ "# Some versions of the installer can report back on what you've " #~ "installed.\n" #~ "# The default is not to report back, but sending reports helps the " #~ "project\n" #~ "# determine what software is most popular and include it on CDs.\n" #~ "#popularity-contest popularity-contest/participate boolean false\n" #~ "\n" #~ "#### Clock and time zone setup.\n" #~ "\n" #~ "# Controls whether or not the hardware clock is set to UTC.\n" #~ "d-i clock-setup/utc boolean true\n" #~ "\n" #~ "# You may set this to any valid setting for $TZ; see the contents of\n" #~ "# /usr/share/zoneinfo/ for options.\n" #~ "d-i time/zone string US/Eastern\n" #~ "\n" #~ "#### Account setup.\n" #~ "\n" #~ "# To preseed the root password, you have to put it in the clear in this\n" #~ "# file. That is not a very good idea, use caution!\n" #~ "#passwd passwd/root-password password r00tme\n" #~ "#passwd passwd/root-password-again password r00tme\n" #~ "\n" #~ "# If you want to skip creation of a normal user account.\n" #~ "#passwd passwd/make-user boolean false\n" #~ "\n" #~ "# Alternatively, you can preseed the user's name and login.\n" #~ "#passwd passwd/user-fullname string Debian User\n" #~ "#passwd passwd/username string debian\n" #~ "# And their password, but use caution!\n" #~ "#passwd passwd/user-password password insecure\n" #~ "#passwd passwd/user-password-again password insecure\n" #~ "\n" #~ "#### Apt setup.\n" #~ "\n" #~ "# This question controls what source the second stage installation uses\n" #~ "# for packages. Choices are cdrom, http, ftp, filesystem, edit sources " #~ "list\n" #~ "# by hand\n" #~ "base-config apt-setup/uri_type select http\n" #~ "\n" #~ "# If you choose ftp or http, you'll be asked for a country and a mirror.\n" #~ "base-config apt-setup/country select enter information manually\n" #~ "base-config apt-setup/hostname string http.us.debian.org\n" #~ "base-config apt-setup/directory string /debian\n" #~ "# Stop after choosing one mirror.\n" #~ "base-config apt-setup/another boolean false\n" #~ "\n" #~ "# You can choose to install non-free and contrib software.\n" #~ "#base-config apt-setup/non-free boolean true\n" #~ "#base-config apt-setup/contrib boolean true\n" #~ "\n" #~ "# Do enable security updates.\n" #~ "base-config apt-setup/security-updates boolean true\n" #~ "\n" #~ "#### Package selection.\n" #~ "\n" #~ "# You can choose to install any combination of tasks that are available.\n" #~ "# Available tasks as of this writing include: Desktop environment,\n" #~ "# Web server, Print server, DNS server, File server, Mail server,\n" #~ "# SQL database, Laptop, Standard system, manual package selection. The\n" #~ "# last of those will run aptitude. You can also choose to install no\n" #~ "# tasks, and force the installation of a set of packages in some other\n" #~ "# way. We recommend always including the Standard system task.\n" #~ "tasksel tasksel/first multiselect Desktop environment, Standard system\n" #~ "#tasksel tasksel/first multiselect Web server, Standard system\n" #~ "\n" #~ "#### Mailer configuration.\n" #~ "\n" #~ "# During a normal install, exim asks only a few questions. Here's how to\n" #~ "# avoid even those. More complicated preseeding is possible.\n" #~ "exim4-config exim4/dc_eximconfig_configtype \\\n" #~ " select no configuration at this time\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "\n" #~ "# It's a good idea to set this to whatever user account you choose to\n" #~ "# create. Leaving the value blank results in postmaster mail going to\n" #~ "# /var/mail/mail.\n" #~ "exim4-config exim4/dc_postmaster string\n" #~ "\n" #~ "#### X Configuration.\n" #~ "\n" #~ "# Preseeding Debian's X config is possible, but you probably need to " #~ "know\n" #~ "# some details about the video hardware of the machine, since Debian's X\n" #~ "# configurator does not do fully automatic configuration of everything.\n" #~ "\n" #~ "# X can detect the right driver for some cards, but if you're " #~ "preseeding,\n" #~ "# you override whatever it chooses. Still, vesa will work most places.\n" #~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" #~ "\n" #~ "# A caveat with mouse autodetection is that if it fails, X will retry it\n" #~ "# over and over. So if it's preseeded to be done, there is a possibility " #~ "of\n" #~ "# an infinite loop if the mouse is not autodetected.\n" #~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" #~ "\n" #~ "# Monitor autodetection is recommended.\n" #~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" #~ "# Uncomment if you have an LCD display.\n" #~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" #~ "# X has three configuration paths for the monitor. Here's how to preseed\n" #~ "# the \"medium\" path, which is always available. The \"simple\" path may " #~ "not\n" #~ "# be available, and the \"advanced\" path asks too many questions.\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" #~ " select medium\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" #~ " select 1024x768 @ 60 Hz\n" #~ "\n" #~ "#### Everything else.\n" #~ "\n" #~ "# Depending on what software you choose to install, or if things go " #~ "wrong\n" #~ "# during the installation process, it's possible that other questions " #~ "may\n" #~ "# be asked. You can preseed those too, of course. To get a list of every\n" #~ "# possible question that could be asked during an install, do an\n" #~ "# installation, and then run these commands:\n" #~ "# debconf-get-selections --installer > file\n" #~ "# debconf-get-selections >> file\n" #~ "\n" #~ "# If you like, you can include other preseed files into this one.\n" #~ "# Any settings in those files will override pre-existing settings from " #~ "this\n" #~ "# file. More that one file can be listed, separated by spaces; all will " #~ "be\n" #~ "# loaded. The included files can have preseed/include directives of " #~ "their\n" #~ "# own as well. Note that if the filenames are relative, they are taken " #~ "from\n" #~ "# the same directory as the preseed file that includes them.\n" #~ "#d-i preseed/include string x.cfg\n" #~ "\n" #~ "# The installer can optionally verify checksums of preseed files before\n" #~ "# using them. Currently only md5sums are supported, list the md5sums\n" #~ "# in the same order as the list of files to include.\n" #~ "#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n" #~ "\n" #~ "# More flexibly, this runs a shell command and if it outputs the names " #~ "of\n" #~ "# preseed files, includes those files. \n" #~ "#d-i preseed/include_command \\\n" #~ "# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n" #~ "\n" #~ "# To check the format of your preseed file before performing an install,\n" #~ "# you can use debconf-set-selections:\n" #~ "# debconf-set-selections -c preseed.cfg" #~ msgstr "" #~ "#### 修改 syslinux.cfg.\n" #~ "\n" #~ "# 修改 syslinux.cfg (或類似的檔案) 並在各行尾端加入核心參數。\n" #~ "#\n" #~ "# 您至少要加入一項參數以告知安裝程式預先設定檔的位置。\n" #~ "# 如果您從 USB 媒介安裝,使用以下參數,並將預先設定檔放在 USB 隨身碟的最上" #~ "層\n" #~ "# 目錄。\n" #~ "# preseed/file=/hd-media/preseed\n" #~ "# 如果您以網路開機,使用以下參數:\n" #~ "# preseed/url=http://host/path/to/preseed\n" #~ "# 如果您使用光碟,您可以設定:\n" #~ "# preseed/file=/cdrom/preseed\n" #~ "# 請確定把預先設定檔複製到您所指定的位置。\n" #~ "# \n" #~ "# 您可以指定檢查和 (checksum) 數值來確保安裝程式取得正確的預先設定檔。\n" #~ "# 目前必須使用 md5sum 檢查和,一旦檢查和被指定,就必須和檔案的檢查和相" #~ "同,\n" #~ "# 否則安裝程式將會拒絕使用此檔案。(Sarge 安裝程式不支援檢查和功能) \n" #~ "#\n" #~ "# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" #~ "#\n" #~ "# 您也許想要在預先設定檔中設置 debconf/priority=critical 以省略大部分問題 " #~ "(\n" #~ "# 儘管在接下來的預先設置中您可能會遺漏某些參數)。您也可以將倒數設定為 1," #~ "這\n" #~ "# 樣就不用按下 enter 鍵來啟動安裝程式。\n" #~ "# \n" #~ "# 語言、國家和鍵盤配置無法在預先設定檔中做預設,因為這些問題會在預先設定檔" #~ "被\n" #~ "# 載入之前提出。欲略過這些問題,請加入核心參數。\n" #~ "# 如果您使用 sarge 安裝程式,請加入以下三項:\n" #~ "#\n" #~ "# languagechooser/language-name=English\n" #~ "# countrychooser/shortlist=US\n" #~ "# console-keymaps-at/keymap=us\n" #~ "#\n" #~ "# 較新版本的安裝程式只需要兩項:\n" #~ "#\n" #~ "# debian-installer/locale=en_US\n" #~ "# console-keymaps-at/keymap=us\n" #~ "#\n" #~ "# 請注意,核心最多接受 8 個命令列參數、8 個環境選項 (包括被安裝程式自動帶" #~ "入\n" #~ "# 的參數)。如果超過這兩個限制,2.4 版的核心會忽略超過的參數,而 2.6 版的核" #~ "心\n" #~ "# 會產生錯誤 (panic)。比 2.6.9 更新的核心版本可以使用 32 個命令列參數和 " #~ "32 \n" #~ "# 個環境選項。\n" #~ "#\n" #~ "# 大部分狀況下,可以移除 'vga=normal' 此一預設選項,藉此加入更多預設參" #~ "數。\n" #~ "\n" #~ "#### 介殼命令\n" #~ "\n" #~ "# d-i的預先設置是不安全的,安裝程式將不會檢查這類設定檔中的參數是否會造成" #~ "暫\n" #~ "# 存滿溢或是設定不足。因此,請確定您從可信任的地方存取預先設定檔!接下來將" #~ "詳\n" #~ "# 述在安裝程式中執行介殼命令的方法,這非常的實用。\n" #~ "\n" #~ "# 這個命令應該在讀取預先設定檔之後立刻被執行\n" #~ "#d-i preseed/early_command string \\\n" #~ "# wget http://url/to/my.udeb -O /tmp/my.udeb; udpkg -i /tmp/my.udeb\n" #~ "\n" #~ "# 這個命令在安裝程式結束的前一步執行,但 /target 目錄必須存在且可以使" #~ "用。\n" #~ "#d-i preseed/late_command string \\\n" #~ "# for deb in /hd-media/*.deb; do cp $deb /target/tmp; \\\n" #~ "# chroot /target dpkg -i /tmp/$(basename $deb); done\n" #~ "\n" #~ "# 這個指令在 base-config 執行的時候被執行。\n" #~ "#base-config base-config/early_command string echo hi mom\n" #~ "\n" #~ "# 這個指令在 base-config 結束之後、login: 提示號之前被執行。如果您想安裝某" #~ "些\n" #~ "# 軟體套件,或是調整系統設定,這將是一個好方法。\n" #~ "#base-config base-config/late_command string \\\n" #~ "# apt-get install zsh; chsh -s /bin/zsh\n" #~ "\n" #~ "#### 網路設定\n" #~ "\n" #~ "# 如果您從網路開機,這部分內容當然不適用。但如果您是以 USB 隨碟或是光碟開" #~ "機\n" #~ "# ,您仍可以設定核心的網路設定參數以從網路讀取預先設定檔\n" #~ "\n" #~ "# 如果有可用連線,netcfg 將會選擇其中一條。如果有一條以上的連線,將不會顯" #~ "示\n" #~ "# 連線清單。\n" #~ "d-i netcfg/choose_interface select auto\n" #~ "\n" #~ "# 如果您想要手動設定網路,請參考以下方法:\n" #~ "#d-i netcfg/disable_dhcp boolean true\n" #~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" #~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" #~ "#d-i netcfg/get_netmask string 255.255.255.0\n" #~ "#d-i netcfg/get_gateway string 192.168.1.1\n" #~ "#d-i netcfg/confirm_static boolean true\n" #~ "\n" #~ "# 請注意,任何從 DHCP 取得的主機名稱和網域名稱將會蓋過以下設定,但是設定以" #~ "下\n" #~ "# 參數仍可以在從 DHCP 取得資料的請況下避免顯示對話框.\n" #~ "d-i netcfg/get_hostname string unassigned-hostname\n" #~ "d-i netcfg/get_domain string unassigned-domain\n" #~ "\n" #~ "# 取消煩人的 WEP 密鑰對話框。\n" #~ "d-i netcfg/wireless_wep string\n" #~ "# 某些 ISP 供應商用奇怪的 DHCP 主機名稱來當作密碼一類的用途。\n" #~ "#d-i netcfg/dhcp_hostname string radish\n" #~ "\n" #~ "#### 設定鏡像站\n" #~ "\n" #~ "d-i mirror/country string enter information " #~ "manually\n" #~ "d-i mirror/http/hostname string http.us.debian.org\n" #~ "d-i mirror/http/directory string /debian\n" #~ "d-i mirror/suite string testing\n" #~ "d-i mirror/http/proxy string \n" #~ "\n" #~ "### 分割磁區\n" #~ "\n" #~ "# 如果系統還有剩餘空間,您可以要求只分割該剩餘空間。\n" #~ "#d-i partman-auto/init_automatically_partition \\\n" #~ "# select Use the largest continuous free space\n" #~ "\n" #~ "# 或者,您可以選擇要被分割的磁碟,設備的名稱可以用 devfs 格式或是傳統的 \n" #~ "# 非devfs 格式指定。例如,第一個磁碟的 devfs 名稱為:\n" #~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" #~ "\n" #~ "# 您可以選擇任何預設的分割方式:\n" #~ "d-i partman-auto/choose_recipe select \\\n" #~ " All files in one partition (recommended for new users)\n" #~ "#d-i partman-auto/choose_recipe select Desktop machine\n" #~ "#d-i partman-auto/choose_recipe select Multi-user workstation\n" #~ "\n" #~ "# 或是提供您自己的分割方式...\n" #~ "# 設定分割方法的格式請參考 devel/partman-auto-recipe.txt。\n" #~ "# 如果您有任何其他的分割方式設定檔,您也可以直接指定:\n" #~ "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n" #~ "\n" #~ "# 如果沒有,您可以加入一行設定,下面範例會建立一個 /boot 小分割區,大小適" #~ "中\n" #~ "# 的置換分割區,並把剩下的空間分配給根分割區:\n" #~ "#d-i partman-auto/expert_recipe string boot-root :: \\\n" #~ "# 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } " #~ "\\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \\\n" #~ "# 500 10000 1000000000 ext3 method{ format } format{ } \\\n" #~ "# use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \\\n" #~ "# 64 512 300% linux-swap method{ swap } format{ } . \n" #~ "# 下面用適合閱讀的格式表示同樣的設定,以利您參考:\n" #~ "# boot-root ::\n" #~ "# 40 50 100 ext3\n" #~ "# $primary{ } $bootable{ }\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ /boot }\n" #~ "# .\n" #~ "# 500 10000 1000000000 ext3\n" #~ "# method{ format } format{ }\n" #~ "# use_filesystem{ } filesystem{ ext3 }\n" #~ "# mountpoint{ / }\n" #~ "# .\n" #~ "# 64 512 300% linux-swap\n" #~ "# method{ swap } format{ }\n" #~ "# .\n" #~ "\n" #~ "# 以下設定使 partman 不確認就開始分割。\n" #~ "d-i partman/confirm_write_new_label boolean true\n" #~ "d-i partman/choose_partition select \\\n" #~ " Finish partitioning and write changes to disk\n" #~ "d-i partman/confirm boolean true\n" #~ "\n" #~ "#### 安裝 boot-loader\n" #~ "\n" #~ "# Grub 是預設的 boot-loader (在 x86 下),如果您想安裝 lilo,移除下面設定" #~ "的\n" #~ "# 註解:\n" #~ "#d-i grub-installer/skip boolean true\n" #~ "\n" #~ "# 請安心使用以下設定,這將使 grub 在沒有其他作業系統的情況下自動安裝\n" #~ "# 到 MBR。\n" #~ "d-i grub-installer/only_debian boolean true\n" #~ "\n" #~ "# 這會讓 grub-installer 在有其他作業系統的狀況下仍安裝 grub 到 MBR。這可能" #~ "會\n" #~ "# 您無法啟動其他作業系統。\n" #~ "d-i grub-installer/with_other_os boolean true\n" #~ "\n" #~ "# 或者,若您想要把 grub 安裝到 MBR 以外的地方,把下面數行加上註解:\n" #~ "#d-i grub-installer/bootdev string (hd0,0)\n" #~ "#d-i grub-installer/only_debian boolean false\n" #~ "#d-i grub-installer/with_other_os boolean false\n" #~ "\n" #~ "##### 結束安裝程序的第一階段\n" #~ "\n" #~ "# 取消安裝即將結束的訊息。\n" #~ "d-i prebaseconfig/reboot_in_progress note \n" #~ "\n" #~ "\n" #~ "##### 預先設定 base-config\n" #~ "\n" #~ "# 取消介紹訊息。\n" #~ "base-config base-config/intro note\n" #~ "\n" #~ "# 取消最後的訊息\n" #~ "base-config base-config/login note\n" #~ "\n" #~ "# 如果您安裝了顯示管理程式,但又不想在 base-config 結束後立刻啟動之:\n" #~ "#base-config base-config/start-display-manager boolean false\n" #~ "\n" #~ "# 安裝程式的某些版本能夠回報您安裝了什麼,預設為不回報,但是送出回報能夠" #~ "幫\n" #~ "# 助專案得知哪些軟體很熱門,並將之放入光碟中。\n" #~ "#popularity-contest popularity-contest/participate boolean false\n" #~ "\n" #~ "###### 設定時區\n" #~ "\n" #~ "# 決定硬體時間是否被設定成 GMT 時間。\n" #~ "base-config tzconfig/gmt boolean true\n" #~ "\n" #~ "# 簡單的時區預設。您可以選擇任何可用的設定值給 $TZ。請參考\n" #~ "# /usr/share/zoneinf/ 中的選項\n" #~ "base-config tzconfig/preseed_zone string US/Eastern\n" #~ "\n" #~ "# 時區的預先設置曾經很複雜,舊的設定方式將完整描述於下文,如果您正在使用 " #~ "sarge,\n" #~ "# 您需要下面的方法。\n" #~ "\n" #~ "# 如果您告訴安裝程式您位於美國,那麼您可以用此變數設定時區。\n" #~ "# (選項有:Eastern, Central, Mountain, Pacific, Alaska, Hawaii, " #~ "Aleutian, \n" #~ "# Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)\n" #~ "base-config tzconfig/choose_country_zone/US select Eastern\n" #~ "# 如果您位於加拿大\n" #~ "# (選項有:Newfoundland, Atlantic, Eastern, Central,\n" #~ "# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)\n" #~ "base-config tzconfig/choose_country_zone/CA select Eastern\n" #~ "# 如果您位於巴西 (Choices are: East, West, Acre,\n" #~ "# DeNoronha, other)\n" #~ "base-config tzconfig/choose_country_zone/BR select East\n" #~ "# 很多國家只有一個時區,如果您告訴安裝程式您位於那些國家之一,您可以透過" #~ "以\n" #~ "# 下問題來選擇標準時區。\n" #~ "base-config tzconfig/choose_country_zone_single boolean true\n" #~ "# 這個問題是為了確認上述中具有多個時區國家之外的國家。您可以選擇其中一個" #~ "時\n" #~ "# 區或是 \"other\"。\n" #~ "#base-config tzconfig/choose_country_zone_multiple select \n" #~ "\n" #~ "###### 設定帳號\n" #~ "\n" #~ "# 欲設定 root 的密碼,您必須在這個檔案中以明文表示。這不是個好做法,請小" #~ "心\n" #~ "# 使用!\n" #~ "#passwd passwd/root-password password r00tme\n" #~ "#passwd passwd/root-password-again password r00tme\n" #~ "\n" #~ "# 如果您想跳過建立一般使用者帳號的步驟:\n" #~ "#passwd passwd/make-user boolean false\n" #~ "\n" #~ "# 或者,您可以預先設定使用者全名和登入帳號。\n" #~ "#passwd passwd/user-fullname string Debian User\n" #~ "#passwd passwd/username string debian\n" #~ "# 以及密碼,但請小心使用這個設定!\n" #~ "#passwd passwd/user-password password insecure\n" #~ "#passwd passwd/user-password-again password insecure\n" #~ "\n" #~ "###### 設定 Apt\n" #~ "\n" #~ "# 這個問題決定在第二階段中軟體套件的來源,可選的有 cdrom、http、ftp、\n" #~ "# filesystem 和 edit source list manually。\n" #~ "# by hand\n" #~ "base-config apt-setup/uri_type select http\n" #~ "\n" #~ "# 如果您選擇 ftp 或 http,您將會被詢問國家和鏡像站。\n" #~ "base-config apt-setup/country select enter information " #~ "manually\n" #~ "base-config apt-setup/hostname string http.us.debian.org\n" #~ "base-config apt-setup/directory string /debian\n" #~ "# Stop after choosing one mirror.\n" #~ "base-config apt-setup/another boolean false\n" #~ "\n" #~ "# 您可以選擇是否安裝 non-free 和 contrib 軟體。\n" #~ "#base-config apt-setup/non-free boolean true\n" #~ "#base-config apt-setup/contrib boolean true\n" #~ "\n" #~ "# 啟用安全更新。\n" #~ "base-config apt-setup/security-updates boolean true\n" #~ "\n" #~ "###### 選擇軟體套件\n" #~ "\n" #~ "# 您可以選擇安裝任何組合的可用軟體集。本文中可用的軟體集有:\n" #~ "# Desktop environment, Web server, Print server, DNS server, File server\n" #~ "# Mail server, SQL database 和 manual package selection。最後一個選項將" #~ "會\n" #~ "# 執行 aptitude。您也可以不安裝軟體集,並以其他方式強迫安裝其他軟體套" #~ "件。\n" #~ "tasksel tasksel/first multiselect Desktop environment\n" #~ "#tasksel tasksel/first multiselect Web server, Mail server, DNS " #~ "server\n" #~ "\n" #~ "###### 郵件設定\n" #~ "\n" #~ "# 在一般安裝中,exit 只會問兩個問題,下面告訴您如何跳過這兩個問題。您也可" #~ "以\n" #~ "# 設置更複雜的預先設定。\n" #~ "exim4-config exim4/dc_eximconfig_configtype \\\n" #~ " select no configuration at this time\n" #~ "exim4-config exim4/no_config boolean true\n" #~ "\n" #~ "# 建議您對任何您建立的使用者帳號作以下的設定,如果這個選項留白,那麼 \n" #~ "# postmaster 的郵件將會存到 /var/mail/mail.\n" #~ "exim4-config exim4/dc_postmaster string \n" #~ "\n" #~ "###### 設定 X\n" #~ "\n" #~ "# 您也可以預先設定 Debian 的 X。但是您可能需要知道顯示硬體的細節,因為 \n" #~ "# Debian 的 X 設定程式不會自動設定所有的參數。\n" #~ "\n" #~ "# X 可以正確偵測某些顯示卡的驅動程式,但如果您使用預先設定,您將會蓋過自" #~ "動\n" #~ "# 偵測的結果。不過,VESA 能在大多數狀況下使用。\n" #~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" #~ "\n" #~ "# 這裡必須警告您,如果 X 無法偵測到滑鼠,它將會不斷嘗試。所以,如果您預先" #~ "設定\n" #~ "# 了滑鼠,那麼就有可能陷入偵測不到滑鼠的無限迴圈。\n" #~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" #~ "\n" #~ "# 建議您使用自動偵測顯示器\n" #~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" #~ "# 如果使用液晶顯示器,請註解下面設定。\n" #~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" #~ "# X 有三種階級來設定顯示器,下面是 \"medium\" 階級的設定,理當永久可用。" #~ "而\n" #~ "# \"simple\" 階級可能不會永久可用,至於 \"advanced\" 則會詢問非常多問" #~ "題。\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" #~ " select medium\n" #~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" #~ " select 1024x768 @ 60 Hz\n" #~ "\n" #~ "###### 其他\n" #~ "\n" #~ "# 根據您所安裝的軟體,或是安裝過程中出現的錯誤,其他問題可能會被提及。您也" #~ "可\n" #~ "# 預先設定它們。您可以藉由執行安裝程式,並且執行下面指令以取得其他問題的\n" #~ "# 清單:\n" #~ "# debconf-get-selections --installer > file\n" #~ "# debconf-get-selections >> file\n" #~ "\n" #~ "# 如果您喜歡,您可以帶入其他預先設定檔到此檔案中。那些檔案中的設定將會覆蓋" #~ "本\n" #~ "# 檔案之前有設定的部份。您可以帶入一個以上的預先設定檔,請以空白格開。這" #~ "些\n" #~ "# 檔案也可以帶入它們自己的預先設定指令。請注意,如果檔案路徑是以相對路徑\n" #~ "# 表示,那麼將從帶入它們的父檔案所處位置開始。\n" #~ "#d-i preseed/include string x.cfg\n" #~ "\n" #~ "# 安裝程式在使用預先設定檔之前得確認該檔案的檢查和。目前只支援 md5sum,按" #~ "照\n" #~ "# 引入的檔案順序列出這些檔案的檢查和。(Sarge 安裝程式不支援檢查和。)\n" #~ "#d-i pressed/include/checksum string " #~ "5da499872becccfeda2c4872f9171c3d\n" #~ "\n" #~ "# 或者您可以更靈活的設定,下面的介殼命令會決定預先設定設定檔的名稱。例" #~ "如,\n" #~ "# 在 USB 隨身碟 (在這個範例中,為一內建讀卡機) 下的設定檔之中切換:\n" #~ "#d-i preseed/include_command string \\\n" #~ "# if $(grep -q \"GUID: 0aec3050aec305000001a003\" /proc/scsi/usb-" #~ "storage-*/*); \\\n" #~ "# then echo kraken.cfg; else echo otherusb.cfg; fi\n" #~ "# 在安裝之前您可以檢查您的預先設置檔語法是否正確,請使用:\n" #~ "# debconf-set-selections -c preseed.cfg" #, fuzzy #~ msgid "" #~ "A clean example file is available from &urlset-example-" #~ "preseed; or from the Internet at ." #~ msgstr "" #~ "一個乾淨的範例檔包含在安裝光碟的 /doc/install/" #~ "manual 目錄,網際網路上位於 。" #~ msgid "1537" #~ msgstr "1537" #~ msgid "521" #~ msgstr "521" #~ msgid "92" #~ msgstr "92" #~ msgid "41" #~ msgstr "41" #~ msgid "53" #~ msgstr "53" #~ msgid "141" #~ msgstr "141"