14 C
Texas
Mel K
LInux Guru and Technical Writer

How To Install KVM on CentOS 8

in this tutorial you will find how to install KVM on Centos 8 which actually used to create virtual environment via Linux OS. This guide will cover the full installation of KVM hyper-visor on CentOS 8. KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux Systems running with virtualization extensions Intel VT or AMD-V

Kernel-based Virtual Machine consists of a loadable kernel module,.ko, that provides the core virtualization infrastructure and a processor specific module,for intel kvm-intel.ko or for AMD kvm-amd.ko.

Making sure your host CPU has Intel VT or AMD-V Virtualization extensions

we need to verify your CPU support for Intel VT or AMD-V Virtualization extensions. In some systems virtualization is disabled by BIOS and you may need to enable it according to your server and your system. some old servers don’t support virtualization technology so make sure from your vendor that system you are getting is having virtualization option or not to check your system is capable and enabled in BIOS for virtual environment run below command, and the output will be as per below Screen Shoot

 lscpu | grep Virtualization
- Advertisement -

Preparing your system to install KVM you need to update your freshly installed system or if it was not update for doing this you need to have root access

Sudo Su
//Enter your password
sudo yum update
 sudo dnf -y install virt-top libguestfs-tools 

Enabale and start the service as per below

sudo systemctl enable --now libvirtd 

if you are using desktop GUI of your centos you can install virtual manager too as per below

 sudo yum -y install virt-manager 

Type and search for Virtual in your centos 8 search box as per below screen

click on virtual machine from this GUI you may create new virtual machine as per your requirement

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article