In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Run the VMM virtual machine graphical management tool on CentOS7
CentOS7.6 provides the basic functions of virtual machine management, such as boot, suspend, restart, shutdown, forced shutdown, restart, migration, etc., and can enter the virtual machine graphical interface for operation. Virt-manager is a desktop manager for a set of virtual machines and can also manage a variety of storage and networks.
1. Run virt-manager
Run the command virt-manager to bring up the virtual system manager (KVM graphical management tool), or click the menu "Applications"-> "System Tools"-> "Virtual Machine Manager".
two。 Create a new virtual machine
New Virtual Machine
3. Select an iso file
Upload the iso file of the selected virtual machine installation media
Sftp > put CentOS-6d4-x86_6s4-bin-DVD1.iso
Uploading CentOS-6d4-x86_6s4-bin-DVD1.iso to / vm-data/iso/CentOS-6d4-x86_6s4-bin-DVD1.iso
100% 4251346KB 85026KB/s 00:00:50
Browse to select the iso file.
4. Modify to increase CPU and memory
5. Increase the disk
View disk files
[root@C76 images] # ll
Total 52456848
-rw- 1 qemuqemu 32217432064 Aug 6 11:35 centos6v.qcow2
-rw- 1 root root 21478375424 Aug 5 11:26 centos7.6Te.qcow2
[root@C76 images] #
6. Select a network and specify a bridge
When you start libvirtd, ifconfig displays the virbr Nic.
7. Install virtual machine
The virtual machine stops after Reboot, press the start button
8. View the hard disk and network card properties of the virtual machine
View permissions
[root@C76 iso] # ll / var/lib/libvirt/
Total 0
Drwx--x--x. 2 root root 6 Oct 31 2018 boot
Drwxr-xr-x. 2 root root 97 Aug 2 16:16 dnsmasq
Drwx--x--x. 2 root root 6 Oct 31 2018 filesystems
Drwx--x--x. 2 root root 52 Aug 5 11:26 images
Drwx- 2 root root 6 Oct 31 2018 lxc
Drwx-. 2 root root 6 Oct 31 2018 network
Drwxr-x--x. 8 qemuqemu 85 Aug 5 11:26 qemu
Drwx--x--x. 2 root root 6 Oct 31 2018 swtpm
[root@C76 iso] #
9. Set the automatic start property of the virtual machine
Start the virtual machine automatically by setting it on the command line or in the "Boot Options" of the graph.
[root@C76 images] # virsh list-- all
[root@C76 images] # virsh autostart centos6v
[root@C76 images] # virsh dominfo centos6v
Then modify the properties of
[root@C76 qemu] # virsh edit centos6v
Destroy
Restart
Restart
Host reboot, and the virtual machine starts.
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.