1.查看cpu是否支持虚拟化
- grep -E '(vmx|svm)' /proc/cpuinfo
2. 安装kvm:
- sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils virt-manager virt-viewer
3. 创建虚拟镜像
- kvm-img create -f vmdk ubuntu.img 8G
-f type:
Supported formats: cow qcow vmdk cloop dmg bochs vpc vvfat qcow2
parallels nbd host_cdrom host_floppy host_device raw tftp ftps ftp https
http
4. 安装虚拟机系统
- kvm -hda ubuntu.img -cdrom /home/teste/ubuntu.iso -boot d -m 512
阅读(1492) | 评论(0) | 转发(0) |