1、创建LV :
lvcreate -L 70G -n uatweb centos
2、创建虚拟机:
virt-install -n uatweb -r 2048 --vcpus=2 --os-type=linux --accelerate -c /home/ISO/CentOS-7-x86_64-DVD-1503-01.iso --disk=/dev/centos/uatweb,bus=virtio --network bridge=br0,model=virtio --vnc --vncport=5980 --vnclisten=0.0.0.0 --force
3、查看所有虚机:
virsh list --all
工具:
1、SecureCRT:SSH登录服务器
2、vncviewer:在服务器上安装centos操作系统