[[
xen
]]
Fool For the City
現在位置:
なみかわみやこの技術メモwikiです。
»
linux
»
xen
文書の表示
以前のリビジョン
最近の変更
索引
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== xen ====== ===== インストール ===== ===== コマンド ===== ==== ホストOS上からゲストOSに切替える ==== xm console Domain-U名 ゲストOSからホストOSに戻るにはCtrlキー+]キーを押します。 ==== インストールされているゲストOSを確認する ==== xm list ===== ゲストOSインストール ===== * ホストOS:CentOS5.2 / ゲストOS:CentOS5.2 <code> # virt-install --nographics 仮想マシンの名前は何ですか? CentOS5 どれだけの RAM を割り当てますか (メガバイト単位で)? 256 What would you like to use as the disk (file path)? /var/lib/xen/images/CentOS5.img インストール場所は何ですか? http://ftp.riken.jp/Linux/centos/5/os/i386/ </code> <code> Welcome to CentOS +---------+ 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 | | | +----+ | | | | | +---------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> 何を選んでも英語になるのでこのままで『OK』を選んで次に <code> Welcome to CentOS +----------------+ 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 | | | +----+ +------+ | | | | | +----------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +--------------+ 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: 210.233.68.52___ / 255.255.255.128_ | | Gateway: 210.233.68.1_____________________________ | | Name Server: 210.233.6811_____________________________ | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +------------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +------------------+ CentOS +-------------------+ | | | Welcome to CentOS! | | | | | | +----+ | | | OK | | | +----+ | | | | | +-----------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +----------------------+ Searching +----------------------+ | | | Searching for CentOS installations... | | | | 20% | | | +---------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +-------------------------+ 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 30718 MB (Xen Virtual Block Device) ^ | | # | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-----------------------------------------------------------------------+ <Space>,<+>,<-> selection | <F2> Add drive | <F12> next screen </code> <code> Welcome to CentOS +----------------+ 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 | | | +----+ +-----+ | | | | | +--------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +-------+ Review Partition Layout +-------+ | | | Review and modify partitioning layout? | | | | +-----+ +----+ | | | Yes | | No | | | +-----+ +----+ | | | | | +-----------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +----+ Configure Network Interface +-----+ | | | Would you like to configure the eth0 | | network interface in your system? | | | | +-----+ +----+ | | | Yes | | No | | | +-----+ +----+ | | | | | +----------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS ++ Network Configuration for eth0 ++ | | | Xen Virtual Ethernet | | 00:16:3E:75:30:C2 | | | | [*] Activate on boot | | [*] Enable IPv4 support | | [ ] Enable IPv6 support | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +----------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +-----+ IPv4 Configuration for eth0 +-----+ | | | Xen Virtual Ethernet | | 00:16:3E:75:30:C2 | | | | ( ) Dynamic IP configuration (DHCP) | | (*) Manual address configuration | | | | IP Address Prefix (Netmask) | | 210.233.68.52___ / 255.255.255.128_ | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-----------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +------------+ Miscellaneous Network Settings +------------+ | | | Gateway: 210.233.68.1_____________________________ | | Primary DNS: 210.233.68.11____________________________ | | Secondary DNS: 122.213.181.10___________________________ | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +----------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +--------------------+ 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 a hostname for your system. If you | | do not, your system will be known as 'localhost.' | | | | ( ) automatically via DHCP | | (*) manually vhcshost.hyperdc.net____ | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +------------------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +-------+ Time Zone Selection +-------+ | | | What time zone are you located in? | | | | [ ] System clock uses UTC | | | | Asia/Tbilisi ^ | | Asia/Tehran : | | Asia/Thimphu # | | Asia/Tokyo : | | Asia/Ulaanbaatar v | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +--------------+ 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 | | | +----+ +------+ | | | | | +----------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +----------------+ Installation Progress +----------------+ | | | Retrieving installation information... | | | | 50% | | | +---------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +----------------------+ Package selection +----------------------+ | | | The default installation of CentOS includes a set of software | | applicable for general internet usage. What additional tasks | | would you like your system to include support for? | | | | [ ] Desktop - Gnome ^ | | [ ] Desktop - KDE # | | [ ] Server : | | [ ] Server - GUI v | | | | [*] Customize software selection | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-----------------------------------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen </code> <code> Welcome to CentOS +----------+ Package Group Selection +----------+ | | | Please select the package groups you would | | like to have installed. | | | | [ ] Administration Tools ^ | | [ ] Authoring and Publishing # | | [*] Base : | | [ ] Cluster Storage : | | [ ] Clustering : | | [ ] DNS Name Server v | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-----------------------------------------------+ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen </code> Base Development Libraries Development Tools Legacy Software Development <code> Welcome to CentOS +----------------------+ Dependency Check +-----------------------+ | | | Checking dependencies in packages selected for installation... | | | | 0% | | | +-----------------------------------------------------------------+ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen </code> <code> Welcome to CentOS +---------+ 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 | | | +----+ +------+ | | | | | +--------------------------------------------+ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen </code> <code> Welcome to CentOS +---------------------+ Formatting +----------------------+ | | | Formatting / file system... | | | | 9% | | | +---------------------------------------------------------+ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen </code> <code> Welcome to CentOS +------------------+ Package Installation +------------------+ | | | Name : glibc-common-2.5-24-i386 | | Size : 65081k | | Summary: Common binaries and locale data for glibc | | | | | | Status: | | | | 61% | | | | Packages Bytes Time | | Total : 523 1192M 0:16:09 | | Completed: 14 20M 0:00:16 | | Remaining: 509 1172M 0:15:52 | | | | 1% | | | +------------------------------------------------------------+ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen </code> <code> </code> <code> </code> ===== 管理ツール =====
linux/xen.1222666057.txt.gz · 最終更新: 2008/09/29 05:27 by miyako
文書の表示
以前のリビジョン
文書の先頭へ