#pragma section-numbers off [[TableOfContents]] = 概要 = 仮想化ソフトウェア = 公式サイト = [http://www.cl.cam.ac.uk/research/srg/netos/xen/index.html Computer Laboratory - Xen virtual machine monitor] [http://xen.org/ xen.org] = インストール = ["CentOS"]の場合インストール時に仮想化を選択してインストールすれば簡単です。 {{{ # uname -r # service xend status # xm list }}} インストール前に {{{free -m}}}して空きメモリ量を確認します。空きが258M以上ないとインストールが停止します。 {{{ # virt-install --nographics What is the name of your virtual machine? vm_test How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (path)? /var/xen/vm_test.xenvm How large would you like the disk (/var/xen/vm_test.xenvm) to be (in gigabytes)? 2 What is the install location? http://ftp.riken.jp/Linux/centos/5.2/os/i386/ }}} インストール直後はrootでログインして新規ユーザを作成するようにします。 ##DVD用のisoからインストールしてみます。 ##{{{ ## mount -o loop /home/sakito/CentOS-5.2-i386-bin-DVD.iso /mnt/iso ##}}} CTRL+] でドメイン0ヘ 、xm console vm_test で接続 = 設定 = 自動起動設定 {{{ ln -s /etc/xen/vm_test /etc/xen/auto/vm_test }}} == 関連フォルダ == /etc/xen/ /etc/xen/auto = コマンド = /usr/sbin/xm list = 利用方法 = = 参考サイト = [http://centossrv.com/xen.shtml 仮想マシン構築(Xen) - CentOSで自宅サーバー構築] [http://patora.dip.jp/xen_cent.html CentOS 5を使ったXen環境の構築] [http://www.linuxmania.jp/xen_centos5.1.html LinuxMania: 仮想化ソフトウェアXenを使う(CentOS)] [http://www.cafechantant.com/blog/2007/08/09/%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e6%a7%8b%e7%af%89%e3%82%92%e7%b0%a1%e5%8d%98%e3%81%ab%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e3%82%b9%e3%83%86%e3%83%83%e3%83%97-%ef%bc%88%e3%81%9d%e3%81%ae5/ サーバの構築を簡単にするためのステップ (その5:Cobber編 Part1 ) | cafe chantant blog] [http://developer.cybozu.co.jp/kazuho/2009/11/lvm-d8f3.html Kazuho@Cybozu Labs: リモートからXenのDomUとかLVMやファイルを差分バックアップするスクリプトを書いた] ---- ServerConstruction