Ubuntu installation and use of kvm virtual machine

1. Install and use kvm virtual machine on ubuntu

1.1. Check KVM Compatibility With Your System

1.1.1. Using the command line

egrep -c '(vmx|svm)' /proc/cpuinfo

From the above output, you can deduce that virtualization is enabled since the result printed is greater than 0. If Virtualization is not enabled, be sure to enable the virtualization feature in your system’s BIOS settings.

1.1.2. Using tools

$ apt install -y cpu-checker

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

1.2. Install kvm

apt update
apt -y install qemu-kvm libvirt-daemon bridge-utils virtinst libvirt-daemon-system

1.3. Configure network

1.4. Start the virtual machine

https://www.server-world.info/en/note?os=Ubuntu_22.04&p=kvm&f=2
https://ubuntu.com/blog/kvm-hyphervisor
https://linuxhint.com/install-kvm-ubuntu-22-04/
https://computingforgeeks.com/install-kvm-hypervisor-on-ubuntu-linux/
https://www.linuxtechi.com/how-to-install-kvm-on-ubuntu-22-04/

Guess you like

Origin blog.csdn.net/wan212000/article/details/130110806