From 0296a27926f3d012eea260603ae6858c6922a615 Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Tue, 18 Apr 2006 10:52:57 +0000 Subject: [l10n] update Japanese translation (d-doc@jp:4770) --- ja/appendix/preseed.xml | 438 ++++++++++++++++++++++++++++++------------------ 1 file changed, 275 insertions(+), 163 deletions(-) diff --git a/ja/appendix/preseed.xml b/ja/appendix/preseed.xml index e4a8c7fae..6f53e0146 100644 --- a/ja/appendix/preseed.xml +++ b/ja/appendix/preseed.xml @@ -1,11 +1,11 @@ - + 本付録で使用した設定の断片は、 -&urlset-example-preseed; にあるサンプル preseed ファイルでも利用できます。 +&urlset-example-preseed; にある事前設定ファイルのサンプルで利用できます。 @@ -82,7 +82,7 @@ There are three methods that can be used for preseeding: installation method and supports preseeding of more things, but it requires the most preparation. File and network preseeding each can be used with different installation methods. With file and network preseeding the first -few installer questions cannot be preseeded because the preseed configuration +few installer questions cannot be preseeded because the preconfiguration file is only loaded after they have been asked. --> preseed を利用するには、 @@ -93,7 +93,7 @@ initrd preseed ファイル preseed やネットワーク preseed は、 それぞれインストール方法が異なる場合に使用されます。 ファイル preseed やネットワーク preseed では、 -preseed 設定ファイルが読み込まれる前にいくつか質問されてしまうため、 +事前設定ファイルが読み込まれる前にいくつか質問されてしまうため、 その質問を preseed に含めることができません。 @@ -169,13 +169,13 @@ installation methods. -preseed 方法の重要な違いは、preseed 設定ファイルを読込・処理するポイントです。 +preseed 方法の重要な違いは、事前設定ファイルを読込・処理するポイントです。 initrd preseed では、インストールの始め (最初の質問が行われる前) に読み込まれます。 ファイル preseed では、CD や CD イメージが読み込まれた後です。 ネットワーク preseed では、ネットワークの設定の後でないと読み込まれません。 @@ -200,11 +200,11 @@ also already have been processed. -言うまでもなく、preseed 設定ファイルが読み込まれる前に処理される質問は、 +言うまでもなく、事前設定ファイルが読み込まれる前に処理される質問は、 preseed できません。 では、 そういった質問が出ないようにする方法を提供しています。 @@ -306,11 +306,11 @@ are stored in a separate, non-readable file in the same directory. -preseed ツールで提供される、とても強力で柔軟なオプションに、 +事前設定ツールで提供される、とても強力で柔軟なオプションに、 インストールの決まった場所でコマンドやスクリプトを実行する機能があります。 詳細は をご覧ください。 @@ -319,11 +319,11 @@ preseed preseed/early_command: は、 - preseed 設定ファイルが読み込まれるとすぐに実行します。 + 事前設定ファイルが読み込まれるとすぐに実行します。 -もちろん最初に preseed ファイルを作成し、使用したい場所に配置する必要があります。 -preseed ファイルの作成は本付録で後ほど扱います。 +もちろん事前設定ファイルを最初に作成し、使用する場所に配置する必要があります。 +事前設定ファイルの作成は本付録で後ほど扱います。 ネットワーク preseed の場合や、 -ファイルをフロッピーや USB スティックから読み込みたい場合、 -正しい位置に preseed ファイルを配置するのは簡単です。 +ファイルをフロッピーや USB スティックから読み込む場合、 +簡単に正しい位置に事前設定ファイルを配置できます。 CD や DVD にファイルを含めたければ、 ISO イメージを再度マスタリングする必要があります。 -initrd に含まれている preseed ファイルを取り出す方法は、 +initrd に含まれている事前設定ファイルを取り出す方法は、 この文書では扱いません。&d-i; の開発者向け文書を当たってください。 -preseed ファイルの基礎にできる preseed ファイルのサンプルは、 +事前設定ファイルの手本にできる事前設定ファイルのサンプルは、 &urlset-example-preseed; から取得できます。 このファイルは、この付録にある設定の断片を元にしています。 @@ -409,9 +409,9 @@ preseed - preseed ファイルの読み込み + 事前設定ファイルの読み込み -ブートローダの設定で preseed ファイルを指定するなら、 +ブートローダの設定で事前設定ファイルを指定する場合、 設定を変更すれば、インストーラの起動時に ENTER を押す必要はありません。 syslinux ではこの設定をするのに、 -syslinux.cfg でタイムアウトを 1 にします。 +syslinux.cfg でタイムアウトを 1 にします。 -インストーラが確実に正しい preseed ファイルを取得するには、 -このファイルのチェックサムを指定することができます。 +インストーラが確実に正しい事前設定ファイルを取得するのに、 +このファイルのチェックサムを指定できます。 現在、これには md5sum 値の指定が必要です。 -指定した値と preseed ファイルの値は一致しなければなりません。 -一致しない場合は、インストーラは preseed ファイルを使用しません。 +指定した値と事前設定ファイルの値は一致しなければなりません。 +一致しない場合は、インストーラは事前設定ファイルを使用しません。 @@ -479,7 +480,7 @@ Boot parameters to specify: preseed/file=/cdrom/preseed.cfg preseed/file/checksum=5da499872becccfeda2c4872f9171c3d -- if you're installing from USB media (put the preseed file in the +- if you're installing from USB media (put the preconfiguration file in the toplevel directory of the USB stick): preseed/file=/hd-media/preseed.cfg preseed/file/checksum=5da499872becccfeda2c4872f9171c3d @@ -495,8 +496,8 @@ Boot parameters to specify: preseed/file=/cdrom/preseed.cfg preseed/file/checksum=5da499872becccfeda2c4872f9171c3d -- USB メディアで起動する場合 (preseed ファイルを USB スティックの - トップレベルディレクトリにおくこと): +- USB メディアで起動する場合 (事前設定ファイルを USB スティックの + トップレベルディレクトリに置くこと): preseed/file=/hd-media/preseed.cfg preseed/file/checksum=5da499872becccfeda2c4872f9171c3d @@ -518,31 +519,31 @@ preseed - preseed ファイルを指定するための DHCP の利用方法 + 事前設定ファイルを指定するための DHCP の利用方法 -preseed ファイルをネットワークからダウンロードするよう指定するのに、 +事前設定ファイルをネットワークからダウンロードするよう指定するのに、 DHCP も使用できます。DHCP はファイル名の指定ができます。 通常これは netboot のファイルですが、URL 形式になっていると、 ネットワーク preseed をサポートするインストールメディアが、 -URL からファイルをダウンロードし、preseed ファイルとして使用します。 +URL からファイルをダウンロードし、事前設定ファイルとして使用します。 以下は、ISC DHCP サーバのバージョン 3 用 dhcpd.conf で設定するサンプルです。 if substring (option vendor-class-identifier, 0, 3) = "d-i" { - filename "http://host/preseed.cfg"; + filename "http://host/preseed.cfg"; } @@ -590,16 +591,15 @@ DHCP preseed インストールプロセスのうちのある部分の質問は、 -preseed ファイルが読み込まれる前になされるため、 -自動化することができません。 -例えば、preseed ファイルをネットワークからダウンロードする場合、 +事前設定ファイルが読み込まれる前になされるため自動化できません。 +例えば、事前設定ファイルをネットワークからダウンロードする場合、 まずネットワークの設定が完了していなければなりません。 インストールプロセスの早い段階から preseed できるというのが、 initrd preseed を使用する理由のひとつです。 @@ -607,12 +607,12 @@ initrd preseed -preseed ファイルを preseed に使用できないステップがあっても、 +事前設定ファイルを preseed に使用できないステップがあっても、 コマンドラインから preseed の値をカーネルに渡せるので、 まだ完全に自動化できます。 path/to/var=value というように、 @@ -640,11 +640,12 @@ you can use 32 command line options and 32 environment options. ほとんどのインストールでは、ブートローダ設定ファイルにある -('vga=normal' のような) デフォルトオプションを安全に削除できるかもしれません。 +(vga=normal のような) +デフォルトオプションを安全に削除できるかもしれません。 これにより preseed 用にもっとオプションを追加できます。 @@ -661,76 +662,172 @@ parameters, even if you delimit them with quotes. - + - preseed ファイルの作成 + 事前設定ファイルの作成 事前設定ファイルのフォーマットは、debconf-set-selections コマンドで使用されるものと同じです。 +事前設定ファイルの行の一般的なフォーマットは以下のようになります。 + + +<所有者> <テンプレート名> <テンプレート型> <値> + + + + + +事前設定ファイルを記述する際には、 +ちょっとした規則があると気に留めておいてください - ファイルフォーマット + 型と値の間には、空白かタブを 1 つだけおいてください。 + 空白を追加すると、値の一部として解釈されます。 - テンプレートの型と値の間には空白ひとつしか許されない + 行継続文字としてバックスラッシュ (\) + を付けて複数行に分割できます。 + テンプレート名の後で分割するのが適当でしょう。 + 型と値の間はよくありません。 - /var/lib/(c)debconf/templates との関連 + ほとんどのテンプレートでは、 + 訳した値ではなく英語の値を指定する必要がありますが、 + (partman など) + 訳した値を使用できるテンプレートもあります。 - テンプレートの型と値の提供方法 + テンプレートの中には、インストール中に表示される英語のテキストの代わりに、 + コードを取るものがあります。 - + + + + - ほとんどの値は英語かコード - - +事前設定ファイルを作成する簡単な方法は、 +にあるサンプルファイルを元にして作業することです。 + + + - 手動インストールを基礎として使用 - - +その他には、手動インストールを行い、再起動してから +debconf-utils パッケージの +debconf-get-selections を使用します。 +以下のように debconf データベースとインストーラの cdebconf データベースを +1 ファイルに出力してください。 + + +$ debconf-get-selections --installer > file +$ debconf-get-selections >> file + + + + - 有効な値の検索 - - +しかし、この方法で生成したファイルでは preseed されない項目があります。 +ほとんどのユーザはサンプルファイルから始めるのがよいでしょう。 + + + + + + +この方法は、インストーラの cdebconf データベースが、 +インストールしたシステムの /var/log/installer/cdebconf +に保存されているのを前提にしています。 +しかし、データベースに機密情報が含まれる可能性がありますので、 +デフォルトでは root にのみ読み込みが許可されています。 + + + + +/var/log/installer ディレクトリとその中のファイルは、 +installation-report パッケージを完全削除することで、 +削除されます。 + + +有効なテンプレートの値をチェックするのに、 +インストール中に /var/lib/cdebconf のファイルを、 +nano を使用して確認できます。 +生のテンプレートは templates.dat を、 +現在の値や変数に割り当てられた値は questions.dat +を確認してください。 + + + + インストールを実行する前に、 -preseed ファイルのフォーマットが適切かどうかを調べるには、 +事前設定ファイルのフォーマットが適切かどうかを調べるには、 debconf-set-selections -c preseed.cfg が使えます。 @@ -739,17 +836,17 @@ preseed - preseed ファイルの内容 + 事前設定ファイルの内容 本付録で使用する設定の断片は、 -&urlset-example-preseed; のサンプル preseed ファイルでも利用できます。 +&urlset-example-preseed; のサンプル事前設定ファイルでも利用できます。 @@ -757,8 +854,8 @@ example preseed file from &urlset-example-preseed;. Note that this example is based on an installation for the Intel x86 architecture. If you are installing a different architecture, some of the examples (like keyboard selection and bootloader installation) may not be -relevant and will need to be replaced by debconf settings appropriate for your -architecture. +relevant and will need to be replaced by debconf settings appropriate for +your architecture. --> 本サンプルは、 Intel x86 アーキテクチャ用インストールを元にしていることに注意してください。 @@ -778,12 +875,12 @@ Intel x86 地域化の設定値は initrd preseed を利用しているときのみ動作します。 他のすべての方法では、 -この質問をされた後にしか preseed ファイルを読み込めません。 +この質問をされた後にしか事前設定ファイルを読み込めません。 @@ -827,7 +924,7 @@ d-i console-keymaps-at/keymap select us -もちろん、ネットワークから preseed ファイルを読み込むなら、 +もちろん、ネットワークから事前設定ファイルを読み込む場合、 preseed のネットワーク設定は動作しません。 しかし、CD や USB スティックから起動するときには重要です。 -ネットワークから preseed ファイルを読み込む場合、 +ネットワークから事前設定ファイルを読み込む場合、 ネットワーク設定パラメータは、カーネルブートパラメータで渡すことになります。 -ネットワークから preseed ファイルを読み込む前に netboot するとき、 +ネットワークから事前設定ファイルを読み込む前に netboot するとき、 特定のインターフェースを選ぶ必要があるなら、 netcfg/choose_interface=eth1 のようにブートパラメータを使用してください。 @@ -905,9 +1002,9 @@ d-i netcfg/choose_interface select auto # the static network configuration below. #d-i netcfg/disable_dhcp boolean true -# If you want the preseed file to work on systems both with and without -# a dhcp server, uncomment these lines and the static network configuration -# below. +# If you want the preconfiguration file to work on systems both with and +# without a dhcp server, uncomment these lines and the static network +# configuration below. #d-i netcfg/dhcp_failed note #d-i netcfg/dhcp_options select Configure network manually @@ -967,8 +1064,8 @@ for additional components for the installer. It is only useful to set this if components are actually downloaded over the network and should match the suite that was used to build the initrd for the installation method used for the installation. -By default the value for mirror/udeb/suite is the same -as mirror/suite. +By default the value for mirror/udeb/suite is the +same as mirror/suite. --> mirror/udeb/suite パラメータでは、 インストーラの追加コンポーネントの組を設定します。 @@ -1006,15 +1103,16 @@ Using preseeding to partition the harddisk is very much limited to what is supported by partman-auto. You can choose to either partition existing free space on a disk or a whole disk. The layout of the disk can be determined by using a predefined recipe, a custom recipe from -a recipe file or a recipe included in the preseed file. It is currently not -possible to partition multiple disks using preseeding nor to set up RAID. +a recipe file or a recipe included in the preconfiguration file. It is +currently not possible to partition multiple disks using preseeding nor to +set up RAID. --> ハードディスクのパーティション分割に preseed を使用するのは、 partman-auto でサポートしている機能に限定されています。 パーティションはディスクに既存の空き領域とディスク全体のどちらかから選べます。 ディスクレイアウトは、あらかじめ定義したレシピ、 レシピファイルによるカスタムレシピ、 -preseed ファイルに書いたレシピから選択できます。 +事前設定ファイルに書いたレシピから選択できます。 現在のところ、パーティションに preseed を用いて複数のディスクを割り当ることや、 RAID の設定することはできません。 @@ -1035,7 +1133,7 @@ correct one will be selected before using preseeding. # If the system has free space you can choose to only partition that space. -# Note: the preseed value for this template needs to be localized (translated). +# Note: this template must be preseeded with a localized (translated) value. #d-i partman-auto/init_automatically_partition \ # select Use the largest continuous free space @@ -1045,7 +1143,7 @@ correct one will be selected before using preseeding. d-i partman-auto/disk string /dev/discs/disc0/disc # You can choose from any of the predefined partitioning recipes. -# Note: the preseed value for this template needs to be localized (translated). +# Note: this template must be preseeded with a localized (translated) value. d-i partman-auto/choose_recipe \ select All files in one partition (recommended for new users) #d-i partman-auto/choose_recipe \ @@ -1059,9 +1157,9 @@ d-i partman-auto/choose_recipe \ # just point at it. #d-i partman-auto/expert_recipe_file string /hd-media/recipe -# If not, you can put an entire recipe the preseed file in one (logical) -# line. This example creates a small /boot partition, suitable swap, and -# uses the rest of the space for the root partition: +# If not, you can put an entire recipe the preconfiguration file in one +# (logical) line. This example creates a small /boot partition, suitable +# swap, and uses the rest of the space for the root partition: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 \ @@ -1115,12 +1213,12 @@ d-i time/zone string US/Eastern /etc/apt/sources.list のセットアップと基本設定オプションは、 インストール方法と初期の質問への回答から、完全に自動的に行われます。 -preseed に関連する変数は 3 つしかありません。 +さらに、他の (ローカルな) リポジトリを追加できます。 @@ -1130,7 +1228,14 @@ preseed #d-i apt-setup/contrib boolean true # Uncomment this to avoid adding security sources, or # add a hostname to use a different server than security.debian.org. -#d-i apt-setup/security_host string +#d-i apt-setup/security_host string + +# Additional repositories, local[0-9] available +#d-i apt-setup/local0/comment string local server +#d-i apt-setup/local0/repository string \ +# deb http://local.server/debian stable main +# URL to the public key of the local repository +#d-i apt-setup/local0/key string http://local.server/key @@ -1157,13 +1262,13 @@ root preseed のパスワードは、 -パスワードを知っている preseed ファイルが誰でもアクセスできるために、 +パスワードを知っている事前設定ファイルが誰でもアクセスできるために、 完全に安全でないことを知っておいてください。 MD5 ハッシュを使えば、セキュリティ的には多少ましと言えますが、 MD5 ハッシュは総当たり攻撃にかけられることを考えると、 @@ -1172,16 +1277,19 @@ MD5 +# Skip creation of a root account (normal user account will be able to +# use sudo). +#d-i passwd/root-login boolean false +# Alternatively, to skip creation of a normal user account. +#d-i passwd/make-user boolean false + # Root password, either in clear text #d-i passwd/root-password password r00tme #d-i passwd/root-password-again password r00tme # or encrypted using an MD5 hash. #d-i passwd/root-password-crypted password [MD5 hash] -# Skip creation of a normal user account. -#d-i passwd/make-user boolean false - -# Alternatively, create a normal user account. +# To create a normal user account. #d-i passwd/user-fullname string Debian User #d-i passwd/username string debian # Normal user's password, either in clear text @@ -1195,19 +1303,19 @@ MD5 passwd/root-password-crypted 変数や passwd/user-password-crypted 変数では、 preseed で ! という値を取れます。 この場合、そのアカウントは無効となります。 もちろん管理権限での実行や root ログインを許可する代替手段 -(例えば SSH キー認証や sudo) を用意しておいた上で、 +(例えば SSH キー認証や sudo) を用意しておいた上で、 root アカウントに設定すると便利です。 @@ -1496,9 +1604,9 @@ xserver-xorg xserver-xorg/config/monitor/mode-list \ # d-i preseeding is inherently not secure. Nothing in the installer checks # for attempts at buffer overflows or other exploits of the values of a -# preseed file like this one. Only use preseed files from trusted -# locations! To drive that home, and because it's generally useful, here's -# a way to run any shell command you'd like inside the installer, +# preconfiguration file like this one. Only use preconfiguration files from +# trusted locations! To drive that home, and because it's generally useful, +# here's a way to run any shell command you'd like inside the installer, # automatically. # This first command is run as early as possible, just after @@ -1516,19 +1624,23 @@ xserver-xorg xserver-xorg/config/monitor/mode-list \ - preseed ファイルの連鎖読み込み + 事前設定ファイルの連鎖読み込み -preseed ファイルから他の preseed ファイルを読み込めます。 +事前設定ファイルから他の事前設定ファイルを読み込めます。 前に読み込まれたファイルの既存設定を、 後から読み込まれたいずれの設定でも上書きします。 これは例えば、あるファイルに一般的なネットワークの設定を書いておき、 @@ -1540,16 +1652,16 @@ preseed # More that one file can be listed, separated by spaces; all will be # loaded. The included files can have preseed/include directives of their # own as well. Note that if the filenames are relative, they are taken from -# the same directory as the preseed file that includes them. +# the same directory as the preconfiguration file that includes them. #d-i preseed/include string x.cfg -# The installer can optionally verify checksums of preseed files before -# using them. Currently only md5sums are supported, list the md5sums +# The installer can optionally verify checksums of preconfiguration files +# before using them. Currently only md5sums are supported, list the md5sums # in the same order as the list of files to include. #d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d # More flexibly, this runs a shell command and if it outputs the names of -# preseed files, includes those files. +# preconfiguration files, includes those files. #d-i preseed/include_command \ # string echo if [ "`hostname`" = bob ]; then echo bob.cfg; fi -- cgit v1.2.3