In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1 use the virt-install command
2 use the virt-manager tool
3 install using qemu-img and qemu-kvm command line
1 use the virt-install command
Virt-install\
-- n ame=guest1-rhel5-64\-- file=/var/lib/libvirt/images/guest1-rhel5-64.dsk\
-- file-size=8\
-- nonsparse-- graphics spice\
-- vcpus=2-- ram=2048\
-- location= http://example1.com/installation_tree/RHEL5.6-Serverx86_64/os\
-- network bridge=br0\
-- os-type=linux\
-- os-variant=rhel5.4
2 use the virt-manager tool
The xml definition file for the virtual machine created using VMM GUI is in the / etc/libvirt/qemu/ directory
3 install using qemu-img and qemu-kvm command line
(1) create an empty image file in qcow2 format
Qemu-img create-f qcow2 windows-master.qcow2 10G
(2) start a virtual machine, hang the system installation disk to cdrom, and install the operating system
Qemu-kvm-hda windows-master.qcow2-m 512-boot d-cdrom / home/user/isos/en_winxp_pro_with_sp2.iso
(3) now you have an image with the operating system. You can use it as a template to create a new image. The advantage of using a template is that it is set to read-only so it can be protected from destruction.
Qemu-img create-b windows-master.qcow2-f qcow2 windows-clone.qcow2
(4) you can start the virtual machine on the new image file.
Qemu-kvm-hda windows-clone.qcow2-M400
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 263
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.