Centos kvm虚拟sever
生活随笔
收集整理的這篇文章主要介紹了
Centos kvm虚拟sever
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
可參考
http://minilinux.blog.51cto.com/4499123/1292208
qemu-img create -f qcow2 -o preallocation=metadata /var/lib/libvirt/p_w_picpaths/centos64.qcow2 50G
virt-install \
--name=test \
--ram 2048 \
--vcpus=2 \
-f /var/lib/libvirt/p_w_picpaths/centos64.qcow2 \
--cdrom /var/lib/libvirt/boot/CentOS-6.5-x86_64-minimal.iso \
--graphics vnc,listen=0.0.0.0,port=5920,? \
--network bridge=br0? \
--force? --autostart
#刪除test虛擬機(jī)[shutdown/undefine]
virsh shutdown test
virsh undefine test
轉(zhuǎn)載于:https://blog.51cto.com/pathyon/1669672
總結(jié)
以上是生活随笔為你收集整理的Centos kvm虚拟sever的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PHP中isset与empty的使用区别
- 下一篇: win10教育版和家庭版的区别(Win1