この文書の現在のバージョンと選択したバージョンの差分を表示します。
linux:xen [2008/09/29 05:27] miyako |
linux:xen [2009/04/07 06:38] (現在) miyako |
||
---|---|---|---|
ライン 22: | ライン 22: | ||
http://ftp.riken.jp/Linux/centos/5/os/i386/ | http://ftp.riken.jp/Linux/centos/5/os/i386/ | ||
</code> | </code> | ||
+ | 仮想マシンの名前:xenで管理する為の名前 \\ | ||
+ | 割り当てRAM:利用メモリー数。CentOS5.2では最低256Mは必要となる \\ | ||
+ | file path:イメージファイルの保存先。/var/lib/xen/images/以外だとエラーになるかも \\ | ||
+ | インストール場所:インストールイメージを指定。\\ | ||
+ | \\ | ||
+ | \\ | ||
+ | ■2009年4月7日追加\\ | ||
+ | xenも徐々にバージョンアップしてるので、久しぶりに作業すると思わぬ動きをしてびっくりする。 | ||
+ | <code> | ||
+ | ドメインを作成中... 0 B 00:00 | ||
+ | ドメインに使用できるコンソールがありません | ||
+ | |||
+ | ドメインのインストールは続いています。インストール処理を完結 | ||
+ | させるためにコンソールに再接続することができます。 | ||
+ | </code> | ||
+ | なんてメッセージが表示されて終了したように見えても慌てない!(本人はちょっと慌ててvncでつなごうとしたけど(汗 | ||
+ | <code> | ||
+ | # xenconsoled | ||
+ | # xm console 仮想マシン名を入力 | ||
+ | </code> | ||
+ | ほら!見慣れた画面のテキスト表示になったしょ\\ | ||
+ | 後はいつもの通りインストールしていけばオッケーかな(^^) | ||
+ | |||
<code> | <code> | ||
Welcome to CentOS | Welcome to CentOS | ||
ライン 48: | ライン 71: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
- | 何を選んでも英語になるのでこのままで『OK』を選んで次に | + | 何を選んでも英語になるのでこのままで『OK』を選んで次に\\ |
<code> | <code> | ||
Welcome to CentOS | Welcome to CentOS | ||
ライン 75: | ライン 99: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | IPv4を固定IP設定にしてIPv6は利用しない設定としています。\\ | ||
<code> | <code> | ||
ライン 87: | ライン 112: | ||
| name server fields must be valid IPv4 or IPv6 addresses. | | | name server fields must be valid IPv4 or IPv6 addresses. | | ||
| | | | | | ||
- | | IPv4 address: 210.233.68.52___ / 255.255.255.128_ | | + | | IPv4 address: xxx.yyy.zzz.aaa_ / 255.255.255.0___ | |
- | | Gateway: 210.233.68.1_____________________________ | | + | | Gateway: xxx.yyy.zzz.b____________________________ | |
- | | Name Server: 210.233.6811_____________________________ | | + | | Name Server: xxx.yyy.zzz.cc___________________________ | |
| | | | | | ||
| +----+ +------+ | | | +----+ +------+ | | ||
ライン 102: | ライン 127: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | IPの設定をおこないます。\\ | ||
<code> | <code> | ||
ライン 159: | ライン 185: | ||
<code> | <code> | ||
Welcome to CentOS | Welcome to CentOS | ||
- | +-------------------------+ Partitioning Type +-------------------------+ | + | +-------------------------+ Partitioning Type +-------------------------+ |
- | | | | + | | | |
- | | Installation requires partitioning of your hard drive. The | | + | | Installation requires partitioning of your hard drive. The | |
- | | default layout is reasonable for most users. You can either | | + | | default layout is reasonable for most users. You can either | |
- | | choose to use this or create your own. | | + | | choose to use this or create your own. | |
- | | | | + | | | |
- | | Remove all partitions on selected drives and create default layout. | | + | | Remove all partitions on selected drives and create default layout. | |
- | | Remove linux partitions on selected drives and create default layout. | | + | | Remove linux partitions on selected drives and create default layout. | |
- | | Use free space on selected drives and create default layout. | | + | | Use free space on selected drives and create default layout. | |
- | | Create custom layout. | | + | | Create custom layout. | |
- | | | | + | | | |
- | | Which drive(s) do you want to use for this installation? | | + | | Which drive(s) do you want to use for this installation? | |
- | | [*] xvda 30718 MB (Xen Virtual Block Device) ^ | | + | | [*] xvda 30718 MB (Xen Virtual Block Device) ^ | |
- | | # | | + | | # | |
- | | | | + | | | |
- | | +----+ +------+ | | + | | +----+ +------+ | |
- | | | OK | | Back | | | + | | | OK | | Back | | |
- | | +----+ +------+ | | + | | +----+ +------+ | |
- | | | | + | | | |
- | | | | + | | | |
- | +-----------------------------------------------------------------------+ | + | +-----------------------------------------------------------------------+ |
<Space>,<+>,<-> selection | <F2> Add drive | <F12> next screen | <Space>,<+>,<-> selection | <F2> Add drive | <F12> next screen | ||
</code> | </code> | ||
+ | 『Remove all partitions on selected drives and create default layout.』を選択してOKで次に\\ | ||
<code> | <code> | ||
ライン 210: | ライン 237: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | /dev/xvdaを消して良いかの確認なのでYesを選択\\ | ||
<code> | <code> | ||
ライン 237: | ライン 265: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | レイアウト確認をするかって事なのでNoを選択\\ | ||
<code> | <code> | ||
ライン 264: | ライン 293: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | eth0の設定をするか?って確認の為Yesを選択してください。\\ | ||
<code> | <code> | ||
ライン 291: | ライン 321: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | とりあえず、そのままOKで次に\\ | ||
<code> | <code> | ||
ライン 305: | ライン 336: | ||
| | | | | | ||
| IP Address Prefix (Netmask) | | | IP Address Prefix (Netmask) | | ||
- | | 210.233.68.52___ / 255.255.255.128_ | | + | | xxx.yyy.zzz.aaa_ / 255.255.255.0___ | |
| | | | | | ||
| +----+ +------+ | | | +----+ +------+ | | ||
ライン 318: | ライン 349: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | IPアドレスを設定。先に設定してあるので確認だけしてOKで次に\\ | ||
<code> | <code> | ||
ライン 328: | ライン 360: | ||
+------------+ Miscellaneous Network Settings +------------+ | +------------+ Miscellaneous Network Settings +------------+ | ||
| | | | | | ||
- | | Gateway: 210.233.68.1_____________________________ | | + | | Gateway: xxx.yyy.zzz.b____________________________ | |
- | | Primary DNS: 210.233.68.11____________________________ | | + | | Primary DNS: xxx.yyy.zzz.cc___________________________ | |
- | | Secondary DNS: 122.213.181.10___________________________ | | + | | Secondary DNS: xxx.yyy.zzz.dd___________________________ | |
| | | | | | ||
| +----+ +------+ | | | +----+ +------+ | | ||
ライン 345: | ライン 377: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | セカンダリーDNSがあれば設定してOKで次に\\ | ||
<code> | <code> | ||
ライン 359: | ライン 392: | ||
| | | | | | ||
| ( ) automatically via DHCP | | | ( ) automatically via DHCP | | ||
- | | (*) manually vhcshost.hyperdc.net____ | | + | | (*) manually hoge.mediakisslab.net___ | |
| | | | | | ||
| +----+ +------+ | | | +----+ +------+ | | ||
ライン 372: | ライン 405: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | ホスト名が逆引きが設定されているので変更があれば直してOKで次に\\ | ||
<code> | <code> | ||
ライン 399: | ライン 433: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | System clock uses UTCのチェックは外してAsia/Tokyoを選択しOKで次に\\ | ||
<code> | <code> | ||
ライン 426: | ライン 461: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | rootのパスワードを設定します\\ | ||
<code> | <code> | ||
ライン 480: | ライン 516: | ||
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen | ||
</code> | </code> | ||
+ | インストールパッケージを選択します。\\ | ||
+ | Desktop - Gnomeのチェックが入っているので外し、Customize software selectionにチェックを入れてOKで次に\\ | ||
<code> | <code> | ||
ライン 507: | ライン 545: | ||
<Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen | <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen | ||
</code> | </code> | ||
- | Base | + | 以下のパッケージのみ選択してOKで次に\\ |
- | Development Libraries | + | Base \\ |
- | Development Tools | + | Development Libraries\\ |
- | Legacy Software Development | + | Development Tools\\ |
+ | Legacy Software Development\\ | ||
<code> | <code> | ||
Welcome to CentOS | Welcome to CentOS | ||
ライン 618: | ライン 658: | ||
<Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen | <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen | ||
</code> | </code> | ||
+ | インストール中\\ | ||
<code> | <code> | ||
+ | Welcome to CentOS | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | +----------------------+ Complete +-----------------------+ | ||
+ | | | | ||
+ | | Congratulations, your CentOS installation is complete. | | ||
+ | | | | ||
+ | | Remove any media used during the installation process | | ||
+ | | and press <Enter> to reboot your system. | | ||
+ | | | | ||
+ | | | | ||
+ | | +--------+ | | ||
+ | | | Reboot | | | ||
+ | | +--------+ | | ||
+ | | | | ||
+ | | | | ||
+ | +---------------------------------------------------------+ | ||
+ | |||
- | </code> | ||
- | <code> | ||
+ | <Enter> to reboot | ||
</code> | </code> | ||
+ | インストール完了。EnterをクリックしてゲストOSをrebootします\\ | ||
===== 管理ツール ===== | ===== 管理ツール ===== | ||