First of all, hello! Since this article will be a bit long, I wanted to divide it into 1 and 2 steps. In this first article of mine, I will take some of your ears off and focus on some terms and give their explanations.

Right after the basic concepts, we will install the virtual machine to our Pardus.

Today, at the cutting edge of technology, there are multiple virtualization solutions offered on desktop and business platforms. Among the most well-known of these VirtualBox, VMware is leading. All of them have different pros and cons.

We used to experience Linux or different operating systems with virtualization software on Windows. At the point reached today, the tide has slowly started to turn around. We started to install and test other operating systems and even other Linux distributions on virtual machines over Linux.

At that time, questions such as which one is better or more performant began to come to the minds of Linux users. KVM on the Linux side (Kernel Virtual Machine) feature, a virtualization solution can be offered integrated into the kernel.

"What does that mean now?" If you are saying, I would say consider it as a really performance, less troublesome virtualization structure that is integrated into the main Windows code and can use this integration in different applications.

Of course KVM While presenting this structure, it does not do this job alone. In order for the structure to work more robust and user-friendly, it needs auxiliary instruments. Somebody libvirt Virt-Manager (which most people prefer for other visuals)Virtual Machine). We will build our article on these instruments.

Especially Virt Manager Its use will be explained in the second section. The intro is already long enough for me. Let's move on to the installation stages now.

Introduction to virtual machine setup

Before starting the installation, we give the following commands to see if the computer we use supports virtualization.

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

In order to detect the initial command processor support, its output must be greater than 0 as in the photo below. In the other command, one of the texts VMX for Intel, SVM for AMD with which command set virtualization is supported should appear in red on the screen.

CPU virtualization support queries

If everything is fine as above then we check a system update status with the following command. If we come across information about the packages to be updated, we first update our system. Then we continue on our way.

sudo apt update

Now it's your turn KVM And it came to the installation of its environment, we ensure that the necessary installations are made with the following command.

sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon

Now it's time Virt Manager there is. We give the following command and let it install as well.

sudo apt install virt-manager -y

This is basically how our installations end. Now it's time to check the settings and update if there is a different value at some point.

sudo virsh net-list --all

With the above command KVM The current network information reserved for In the incoming information, as in the photo below “inactive, also known as "No.If there are ” values, the network is enabled with the following commands.

sudo virsh net-start default sudo virsh net-autostart default
Network activation

The following commands are used to create a smoother network script on virtualized machines.

sudo modprobe vhost_net lsmod | grep vhost
Pardus virtual machine vhost information
vhost information

In this way, we successfully completed the first stage. Now, when you start typing virt in the start menu in Pardus, click on the option that comes up, and a screen like the one below will greet you.

Pardus and virtual machine
Virtual Machine Manager Administration Screen

Virt Manager Yani Virtual machine managerI will also give information about the use of in my second article and complete the series.