The installation and configuration of the KVM was done well and it did not take long time.
I tested the installation of virtual machines in text mode and via virt-manager (GUI).
I had no problems during the process.
can you share the steps used so other forum members would have the chance to test this too?
Thank you for the feedback
Steps to follow
- How to Set Up a Network Bridge
- How to Install KVM
- How to Start KVM
- How to Create a VM
- How to Start Virt-Manager (GUI) through MobaXterm
Install KVM on Rocky Linux 8.
Software Requirements and Conventions Used
System Rocky Linux 8
How to Set Up a Network Bridge
Begin by creating a file at /etc/sysconfig/network-scripts/ifcfg-br0.
Next, edit the file and modify it as you need to fit your network.
Next, you need to create a configuration for the interface that you want to bridge.
If you have just one network interface you have to remove it (or rename it) and you have to recreate a new file with the same name at /etc/sysconfig/network-scripts/.
#vi /etc/sysconfig/network-scripts/ifcfg- eth0
Change eth0 to the name of your actual interface.
and Save it
When you’re ready, you can restart the system for the bridge to take effect.
How to Install KVM
We are ready to install KVM now.
Make sure that the KVM module is loaded now.
How to Start KVM
You’ll need to start the libvirtd service in order actually create any virtual machines. Start and enable the service.
How to Create a VM
Now, you can start creating virtual machines. You should probably have a Linux install ISO somewhere to work with.
You can install virt-manager, and use the graphical tools to get set up easily.
Text mode installation.
–name Fedora29 \
–ram 4096 \
–graphics none \
How to Start virt-manager (GUI) through MobaXterm
We have to install additional packages:
#dnf -y install libXdmcp libXmu libxkbfile xorg-x11-xauth xorg-x11-xkb-utils
You can do this by opening MobaXterm, connecting to your KVM server as root and running the following command.
Virt-Manager GUI will be startred.