| 4 | |
| 5 | = H/W spec = |
| 6 | * hp ProBook 6550b |
| 7 | * Intel Core i7 Q720 |
| 8 | * 4GB DDR3 |
| 9 | * virtualized with VMware Workstation 8 |
| 10 | {{{ |
| 11 | numvcpus = "4" |
| 12 | cpuid.coresPerSocket = "2" |
| 13 | vcpu.hotadd = "FALSE" |
| 14 | vhv.enable = "TRUE" |
| 15 | }}} |
| 16 | |
| 17 | = setup OS = |
| 18 | |
| 19 | * X window system は導入しない |
| 20 | * installerからは、sshd以外のパッケージは導入しない |
| 21 | |
| 22 | == centos 6 == |
| 23 | * # yum groupinfo |
| 24 | {{{ |
| 25 | Group: Virtualization |
| 26 | Description: Provides an environment for hosting virtualized guests. |
| 27 | Mandatory Packages: |
| 28 | qemu-kvm |
| 29 | Optional Packages: |
| 30 | qemu-guest-agent |
| 31 | qemu-kvm-tools |
| 32 | }}} |
| 33 | {{{ |
| 34 | Group: Virtualization Client |
| 35 | Description: Clients for installing and managing virtualization instances. |
| 36 | Mandatory Packages: |
| 37 | python-virtinst |
| 38 | virt-manager |
| 39 | virt-viewer |
| 40 | Default Packages: |
| 41 | virt-top |
| 42 | }}} |
| 43 | {{{ |
| 44 | Group: Virtualization Platform |
| 45 | Description: Provides an interface for accessing and controlling virtualized guests and containers. |
| 46 | Mandatory Packages: |
| 47 | libvirt |
| 48 | libvirt-client |
| 49 | virt-who |
| 50 | Optional Packages: |
| 51 | fence-virtd-libvirt |
| 52 | fence-virtd-multicast |
| 53 | fence-virtd-serial |
| 54 | libvirt-cim |
| 55 | libvirt-java |
| 56 | libvirt-qmf |
| 57 | libvirt-snmp |
| 58 | perl-Sys-Virt |
| 59 | }}} |
| 60 | {{{ |
| 61 | Group: Virtualization Tools |
| 62 | Description: Tools for offline virtual image management. |
| 63 | Default Packages: |
| 64 | libguestfs |
| 65 | Optional Packages: |
| 66 | libguestfs-java |
| 67 | libguestfs-tools |
| 68 | virt-v2v |
| 69 | }}} |
| 70 | |
| 71 | * # yum groupinstall "Virtualization" "Virtualization Client" "Virtualization Platform" "Virtualization Tools" |
| 72 | {{{ |
| 73 | Install 156 Package(s) |
| 74 | |
| 75 | Total download size: 38 M |
| 76 | Installed size: 134 M |
| 77 | }}} |
| 78 | |
| 79 | * # yum install xorg-x11-xauth |
| 80 | * x11forwardingに必要 |
| 81 | * # yum install vlgothic-fonts |
| 82 | * 文字化けを直す[[br]][[Image(centos6-garbled.png,33%)]] |
| 83 | |
| 84 | == fedora 17 == |
| 85 | |
| 86 | * # yum groupinfo "Virtualization Client" |
| 87 | {{{ |
| 88 | Group: Virtualization Client |
| 89 | Description: These packages provide a virtualization environment. |
| 90 | Mandatory Packages: |
| 91 | python-virtinst |
| 92 | Default Packages: |
| 93 | libvirt |
| 94 | qemu-kvm |
| 95 | virt-manager |
| 96 | virt-viewer |
| 97 | Optional Packages: |
| 98 | guestfish |
| 99 | guestfs-browser |
| 100 | libguestfs-tools |
| 101 | python-libguestfs |
| 102 | virt-top |
| 103 | }}} |
| 104 | |
| 105 | * # yum groupinstall "Virtualization Client" |
| 106 | {{{ |
| 107 | Install 5 Packages (+163 Dependent packages) |
| 108 | |
| 109 | Total download size: 58 M |
| 110 | Installed size: 224 M |
| 111 | }}} |
| 112 | |
| 113 | * # yum install xauth |
| 114 | * -> xorg-x11-xauth |
| 115 | * # yum install vlgothic-fonts |
| 116 | |
| 117 | == Ubuntu 10.04 / 12.04 == |
| 118 | * $ sudo aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils |
| 119 | {{{ |
| 120 | 0 packages upgraded, 197 newly installed, 0 to remove and 0 not upgraded. |
| 121 | Need to get 49.9 MB of archives. After unpacking 186 MB will be used. |
| 122 | }}} |
| 123 | |
| 124 | == Debian 6 == |
| 125 | |
| 126 | * # aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils |
| 127 | {{{ |
| 128 | 0 packages upgraded, 225 newly installed, 0 to remove and 0 not upgraded. |
| 129 | Need to get 118 MB of archives. After unpacking 332 MB will be used. |
| 130 | }}} |
| 131 | |
| 132 | == Debian testing == |
| 133 | |
| 134 | * # aptitude install qemu-kvm libvirt-bin virt-manager bridge-utils |
| 135 | {{{ |
| 136 | 0 packages upgraded, 286 newly installed, 0 to remove and 0 not upgraded. |
| 137 | Need to get 190 MB of archives. After unpacking 548 MB will be used. |
| 138 | }}} |
| 139 | |
| 140 | == Debian 6 with wheezy packages == |
| 141 | |
| 142 | * /etc/apt/sources.list.d/backports.list |
| 143 | {{{ |
| 144 | deb http://backports.debian.org/debian-backports squeeze-backports main |
| 145 | }}} |
| 146 | * # aptitude install -t squeeze-backports linux-image-amd64 |
| 147 | |
| 148 | * see also wiki:TipAndDoc/Linux/Debian#usenonstablepackage |
| 149 | * /etc/apt/sources.list.d/wheezy.list |
| 150 | {{{ |
| 151 | deb http://ftp.tsukuba.wide.ad.jp/debian/ wheezy main |
| 152 | deb-src http://ftp.tsukuba.wide.ad.jp/debian/ wheezy main |
| 153 | |
| 154 | deb http://security.debian.org/ wheezy/updates main |
| 155 | deb-src http://security.debian.org/ wheezy/updates main |
| 156 | }}} |
| 157 | * /etc/apt/apt.conf.d/stable |
| 158 | {{{ |
| 159 | APT::Default-release "stable"; |
| 160 | }}} |
| 161 | * /etc/apt/preferences.d/stable |
| 162 | {{{ |
| 163 | Package: * |
| 164 | Pin: release a=stable |
| 165 | Pin-Priority: 700 |
| 166 | |
| 167 | Package: * |
| 168 | Pin: release a=testing |
| 169 | Pin-Priority: 650 |
| 170 | |
| 171 | Package: * |
| 172 | Pin: release a=unstable |
| 173 | Pin-Priority: 600 |
| 174 | }}} |
| 175 | |
| 176 | * # aptitude install -t wheezy qemu-kvm libvirt-bin virt-manager libtext-charwidth-perl libuuid-perl liblocale-gettext-perl udev libtext-iconv-perl |
| 177 | {{{ |
| 178 | 35 packages upgraded, 315 newly installed, 1 to remove and 123 not upgraded. |
| 179 | Need to get 229 MB of archives. After unpacking 611 MB will be used. |
| 180 | }}} |