In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Check whether the kernel supports virtio drivers
Grep-I virtio / boot/config-$ (uname-r)
two。 If the kernel does not have a virtio driver, you need to specify a virtio driver.
Cp / boot/initramfs-$ (uname-r). Img / boot/initramfs-$ (uname-r). Img.bak
Mkinitrd-f-- with=virtio_blk-- with=virtio_pci / boot/initramfs-$ (uname-r). Img $(uname-r)
3. Shut down the virtual machine and convert the virtual machine disk file format to raw
Qemu-img convert-f vmdk-O raw vm.vmdk vm.raw
4. Upload virtual machine disk files to glance
Glance image-create-name "vm"-file vm.raw-disk-format raw-container-format bare-progress
5. If the virtual machine fails to start, the disk drive of glance image can be temporarily modified to IDE
Glance image-update-- property hw_disk_bus='ide' $image_id
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: 0
*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.