[[PageOutline]] * CentOS/Fedora/Debian/Ubuntu における virt-manager/kvm のUI・機能比較 = H/W spec = * hp ProBook 6550b * Intel Core i7 Q720 * 4GB DDR3 * virtualized with VMware Workstation 8 {{{ numvcpus = "4" cpuid.coresPerSocket = "2" vcpu.hotadd = "FALSE" vhv.enable = "TRUE" }}} = setup OS = * X window system は導入しない * installerからは、sshd以外のパッケージは導入しない == centos 6 == * # yum groupinfo {{{ Group: Virtualization Description: Provides an environment for hosting virtualized guests. Mandatory Packages: qemu-kvm Optional Packages: qemu-guest-agent qemu-kvm-tools }}} {{{ Group: Virtualization Client Description: Clients for installing and managing virtualization instances. Mandatory Packages: python-virtinst virt-manager virt-viewer Default Packages: virt-top }}} {{{ Group: Virtualization Platform Description: Provides an interface for accessing and controlling virtualized guests and containers. Mandatory Packages: libvirt libvirt-client virt-who Optional Packages: fence-virtd-libvirt fence-virtd-multicast fence-virtd-serial libvirt-cim libvirt-java libvirt-qmf libvirt-snmp perl-Sys-Virt }}} {{{ Group: Virtualization Tools Description: Tools for offline virtual image management. Default Packages: libguestfs Optional Packages: libguestfs-java libguestfs-tools virt-v2v }}} * # yum groupinstall "Virtualization" "Virtualization Client" "Virtualization Platform" "Virtualization Tools" {{{ Install 156 Package(s) Total download size: 38 M Installed size: 134 M }}} * # yum install xorg-x11-xauth * x11forwardingに必要 * # yum install vlgothic-fonts * 文字化けを直す[[br]][[Image(centos6-garbled.png,33%)]] == fedora 17 == * # yum groupinfo "Virtualization Client" {{{ Group: Virtualization Client Description: These packages provide a virtualization environment. Mandatory Packages: python-virtinst Default Packages: libvirt qemu-kvm virt-manager virt-viewer Optional Packages: guestfish guestfs-browser libguestfs-tools python-libguestfs virt-top }}} * # yum groupinstall "Virtualization Client" {{{ Install 5 Packages (+163 Dependent packages) Total download size: 58 M Installed size: 224 M }}} * # yum install xauth * -> xorg-x11-xauth * # yum install vlgothic-fonts == Ubuntu 10.04 / 12.04 == * $ sudo aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils {{{ 0 packages upgraded, 197 newly installed, 0 to remove and 0 not upgraded. Need to get 49.9 MB of archives. After unpacking 186 MB will be used. }}} == Debian 6 == * # aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils {{{ 0 packages upgraded, 225 newly installed, 0 to remove and 0 not upgraded. Need to get 118 MB of archives. After unpacking 332 MB will be used. }}} == Debian testing == * # aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils {{{ 0 packages upgraded, 286 newly installed, 0 to remove and 0 not upgraded. Need to get 190 MB of archives. After unpacking 548 MB will be used. }}} == Debian 6 with wheezy packages == * /etc/apt/sources.list.d/backports.list {{{ deb http://backports.debian.org/debian-backports squeeze-backports main }}} * # aptitude install -t squeeze-backports linux-image-amd64 * see also wiki:TipAndDoc/Linux/Debian#usenonstablepackage * /etc/apt/sources.list.d/wheezy.list {{{ deb http://ftp.tsukuba.wide.ad.jp/debian/ wheezy main deb-src http://ftp.tsukuba.wide.ad.jp/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main }}} * /etc/apt/apt.conf.d/stable {{{ APT::Default-release "stable"; }}} * /etc/apt/preferences.d/stable {{{ Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600 }}} * # aptitude install -t wheezy qemu-kvm libvirt-bin virt-manager libtext-charwidth-perl libuuid-perl liblocale-gettext-perl udev libtext-iconv-perl {{{ 35 packages upgraded, 315 newly installed, 1 to remove and 123 not upgraded. Need to get 229 MB of archives. After unpacking 611 MB will be used. }}}