step:
- Installation graphical management interface:
sudo apt-get install virt-manager python-spice-client-gtk
- Installation KVM:
sudo apt-get install qemu-kvm qemu-system libvirt-bin bridge-utils
- Download vim editor (if there is no need to reload)
sudo apt-get install vim
- ON:
sudo virt-manager
- Setting:
- Modify C1:
sudo virsh edit c1
modified successfully
- Re-run:
Run Success:
User: cirros
Password: cubswin :)
Run Try the following code:ls pwd Ifconfig ping www.sohu.com 6.克隆一个跟C1一样的,命名为C2 cd /ect/libvirt ls cd qemu ls sudo cp c1.xml c2.xml ls
- Modifying the contents of C2:
sudo gedit c2.xml
FIG: a change c1 c2
- Define it:
sudo virsh define c2.xml
sudo virsh start c2
- ON:
sudo virsh list