In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the operation of kvm examples, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
1.kvm architecture consists of two parts: kvm module and qemu-kvmkvm.ko, kvm_intel.ko, kvm_amd.koqemu-kvm: management tools for modifying qemu code and creating virtual machines / kvm:vCPU and vMEMqemu-kvm:io device2 provided by kvm under dev/kvm:linux system. Set up kvm to confirm that the hardware server supports cat / proc/cpuinfo | grep vmxyum source configuration wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repowget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo install yum clean all & yum makecacheyum install-y qemu-kvm qemu-img virt-manager virt-install virt-viewer libguest* libvirt*yum groupinstall-y virtualization-client virtualization-platform virtualization-tools3. Create vm command virt-install-- name vm1-- ram=2048-- vcpus=2-- disk path=/vm-images/vm1.qcow2,size=20-- cdrom / opt/CentOS-7-X86_64-DVD-1511.iso4. Install the linux interface and vncyum-y groupinstall "X Window System" yum-y groupinstall "GNOME" yum install-y tigervnc-server.x86_64vncserver: 15. Create br0cd / etc/sysconfig/network-scriptsvi ifcfg-br0DEVICE= "br0" ONBOOT=yesTYPE= "Bridge" BOOTPROTO=noneIPADDR=192.168.18.239NETMASK=255.255.255.0GATEWAY=192.168.18.1 to bridge the physical network card to br0vi ifcfg-eth0BRIDGE=br0 and comment out IPADDR NETMASK GATEWAY DNS1service network restartbrctl show. Thank you for reading this article carefully. I hope the article "Operation examples of kvm" shared by the editor will be helpful to you. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!
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.