[root@ubuntu~]# egrep -o '(vmx|svm)' /proc/cpuinfo vmx vmx vmx vmx
[root@ubuntu ~]# apt-get install qemu-kvm qemu-system libvirt-bin virt-manager bridge-utils vlan [root@ubuntu ~]# service libvirt-bin status libvirt-bin start/running, process 1442
ACPI 高級配置和電源管理接口,經過這個服務來執行電源關閉的動做shell
[root@ubuntu ~]# apt-get install acpid [root@ubuntu ~]# service acpid status acpid start/running, process 1364
[root@ubuntu ~]# dd if=/dev/sr0 of=/data/iso/CentOS-V6.5.23.iso 1801312+0 records in 1801312+0 records out 922271744 bytes (922 MB) copied, 29.0399 s, 31.8 MB/s
[root@ubunt ~]# qemu-img create -f raw /data/raw/disk01.raw 10G Formatting '/data/raw/disk01.raw', fmt=raw size=10737418240
[root@ubuntu ~]# virt-install \ > --name=CentOS-V6.5.23-server01 \ > --virt-type=kvm \ > --ram=1024 \ > --cdrom=/data/iso/CentOS-V6.5.23.iso \ > --disk path=/data/raw/disk01.raw \ > --network network=default \ > --graphics vnc,listen=0.0.0.0 \ > --noautoconsole Starting install... Creating domain... | 0 B 00:00 Domain installation still in progress. You can reconnect to the console to complete the installation process.