[root@fedora ~]# yum -y install libxml2-python ← virt-installに必要なlibxml2-pythonインストール
[root@fedora ~]# virt-install --nographics ← 仮想マシンインストール開始
What is the name of your virtual machine? Fedora8 ← 任意の仮想マシン名(例:Fedora8)を応答
How much RAM should be allocated (in megabytes)? 1024 ← 仮想マシンへ割当てるメモリ量応答(単位:MB)※
※ドメイン0上のメモリに仮想マシンに割当てる分の空きが必要
What would you like to use as the disk (path)? /var/lib/xen/images/Fedora8.img
← 仮想マシンインストール先仮想ディスクイメージファイル名応答
How large would you like the disk (/var/lib/xen/images/Fedora8.img) to be (in gigabytes)? 8
← 仮想マシンインストール先仮想ディスクイメージファイルサイズ応答※
※ファイルサイズは任意だが、最低でも2GBくらいは必要
What is the install location? http://ftp.riken.jp/Linux/fedora/releases/8/Fedora/i386/os/ ← 仮想マシンインストールパッケージ取得先応答
Starting install...
テキストモード(英語)による通常のインストールが開始する
※カーソル移動はTABキー、カーソルキーで、選択はSPACEキーで、決定はENTERキー押下
Welcome to Fedora
+---------+ Choose a Language +---------+
| |
| What language would you like to use |
| during the installation process? |
| |
| Catalan ^ |
| Chinese(Simplified) : |
| Chinese(Traditional) # |
| Croatian : |
| Czech : |
| Danish : |
| Dutch : |
| English v |
| |
| +----+ |
| | OK | |
| +----+ |
| |
+---------------------------------------+
デフォルト(English)のままOK※Japaneseを選択しても英語になる
+----------------+ Configure TCP/IP +----------------+
| |
| [*] Enable IPv4 support |
| ( ) Dynamic IP configuration (DHCP) |
| (*) Manual configuration |
| |
| [_] Enable IPv6 support |
| (*) Automatic neighbor discovery (RFC 2461) |
| ( ) Dynamic IP configuration (DHCP) |
| ( ) Manual configuration |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------------+
Enable IPv4 supportを選択
Manual configurationを選択
Enable IPv6 supportの選択を解除してOK
+--------------+ Manual TCP/IP Configuration +---------------+
| |
| Enter the IPv4 and/or the IPv6 address and prefix |
| (address / prefix). For IPv4, the dotted-quad netmask |
| or the CIDR-style prefix are acceptable. The gateway and |
| name server fields must be valid IPv4 or IPv6 addresses. |
| |
| IPv4 address: 192.168.1.20____ / 255.255.255.0___ |
| Gateway: 192.168.1.1______________________________ |
| Name Server: 192.168.1.1______________________________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+------------------------------------------------------------+
IPv4 addressにサーバーのプライベートIPアドレス/ネットマスクを入力
GatewayにルーターのIPアドレスを入力
Name ServerにルーターのIPアドレスを入力してOK
+------------------+ Fedora +-------------------+
| |
| Welcome to Fedora! |
| |
| |
| +----+ |
| | OK | |
| +----+ |
| |
| |
+-----------------------------------------------+
OK
+-----------------+ Warning +-----------------+
| |
| The partition table on device xvda was |
| unreadable. To create new partitions it |
| must be initialized, causing the loss of |
| ALL DATA on this drive. |
| |
| This operation will override any previous |
| installation choices about which drives |
| to ignore. |
| |
| Would you like to initialize this drive, |
| erasing ALL DATA? |
| |
| +-----+ +----+ |
| | Yes | | No | |
| +-----+ +----+ |
| |
+---------------------------------------------+
Yes
+-------------------------+ Partitioning Type +-------------------------+
| |
| Installation requires partitioning of your hard drive. The |
| default layout is reasonable for most users. You can either |
| choose to use this or create your own. |
| |
| Remove all 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. |
| Create custom layout. |
| |
| Which drive(s) do you want to use for this installation? |
| [*] xvda ^ |
| # |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
+-----------------------------------------------------------------------+
Remove all partitions on selected drives and create default layout.を選択してOK
+----------------+ Warning +-----------------+
| |
| You have chosen to remove all partitions |
| (ALL DATA) on the following drives: |
| |
| /dev/xvda |
| |
| Are you sure you want to do this? |
| |
| +----+ +-----+ |
| | No | | Yes | |
| +----+ +-----+ |
| |
| |
+--------------------------------------------+
Yes
+-------+ Review Partition Layout +-------+
| |
| Review and modify partitioning layout? |
| |
| +-----+ +----+ |
| | Yes | | No | |
| +-----+ +----+ |
| |
| |
+-----------------------------------------+
No
+------------------+ Low Memory +------------------+
| |
| As you don't have much memory in this machine, |
| we need to turn on swap space immediately. To |
| do this we'll have to write your new partition |
| table to the disk immediately. Is that OK? |
| |
| +-----+ +----+ |
| | Yes | | No | |
| +-----+ +----+ |
| |
| |
+--------------------------------------------------+
Yes※ドメインU割当てメモリ量が少ない場合のみ表示される警告
+-----------------+ Network Configuration for eth0 +-----------------+
| |
| Description: Xen Virtual Ethernet |
| Hardware Address: 00:16:3E:7A:AD:9B |
| |
| [ ] Use dynamic IP configuration (DHCP) |
| [*] Enable IPv4 support |
| [ ] Enable IPv6 support |
| [*] Activate on boot |
| |
| Address Prefix (Netmask) |
| IPv4: 192.168.1.20_____________________________ / 255.255.255.0___ |
| IPv6: _________________________________________ / ________________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
+--------------------------------------------------------------------+
OK
+------------+ Miscellaneous Network Settings +------------+
| |
| Gateway: 192.168.1.1______________________________ |
| Primary DNS: 192.168.1.1______________________________ |
| Secondary DNS: _________________________________________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------------------+
OK
+--------------------+ Hostname Configuration +---------------------+
| |
| If your system is part of a larger network where hostnames are |
| assigned by DHCP, select automatically via DHCP. Otherwise, |
| select manually and enter in a hostname for your system. If you |
| do not, your system will be known as 'localhost.' |
| |
| ( ) automatically via DHCP |
| (*) manually fedoraU.fedorasrv.com___ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-------------------------------------------------------------------+
ホスト名を入力してOK
+-------+ Time Zone Selection +-------+
| |
| What time zone are you located in? |
| |
| [_] System clock uses UTC |
| |
| Asia/Tashkent ^ |
| Asia/Tbilisi : |
| Asia/Tehran # |
| Asia/Thimphu : |
| Asia/Tokyo v |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
+-------------------------------------+
System clock uses UTCの選択解除
Asia/Tokyoを選択してOK
+--------------+ Root Password +---------------+
| |
| Pick a root password. You must type it |
| twice to ensure you know what it is and |
| didn't make a mistake in typing. Remember |
| that the root password is a critical part |
| of system security! |
| |
| Password: ***********_____________ |
| Password (confirm): ***********_____________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------+
Password:にrootパスワードを入力
Password (confirm):にrootパスワードを入力してOK
+----------------------+ Package selection +----------------------+
| |
| The default installation of Fedora includes a set of software |
| applicable for general internet usage. What additional tasks |
| would you like your system to include support for? |
| |
| [_] Office and Productivity |
| [ ] Software Development |
| [ ] Web server |
| |
| |
| [*] Customize software selection |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-----------------------------------------------------------------+
Office and Productivityの選択解除
Customize software selectionを選択してOK
+----------+ Package Group Selection +----------+
| |
| Please select the package groups you would |
| like to have installed. |
| |
| [ ] Administration Tools ^ |
| [ ] Authoring and Publishing # |
| [ ] Development Libraries : |
| [*] Development Tools # |
| [ ] Dialup Networking Support : |
| [ ] Editors : |
| [ ] Emacs : |
| [ ] Engineering and Scientific |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
+-----------------------------------------------+
Development Toolsのみ選択してOK
+---------+ Installation to begin +----------+
| |
| A complete log of your installation will |
| be in /root/install.log after rebooting |
| your system. You may want to keep this |
| file for later reference. |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+--------------------------------------------+
OK
※大量のパッケージダウンロード&インストールを行なうため時間がかかる
+----------------------+ Complete +-----------------------+
| |
| Congratulations, your Fedora installation is complete. |
| |
| Remove any media used during the installation process |
| and press <Enter> to reboot your system. |
| |
| |
| +--------+ |
| | Reboot | |
| +--------+ |
| |
| |
+---------------------------------------------------------+
Reboot
Setup AgentはExit※初回起動時のみ
Fedora release 8 (Werewolf)
Kernel 2.6.21-2950.fc8xen on an i686
fedoraU.fedorasrv.com login:
|
|