We all know that the Linux operating system many Ptozaath stays developers first and programmers an option, so why offer them significant control powers and utilities, and so on. However, the user still needs to other operating systems, whether to try Macam work or to take advantage of another feature did not get it in Linux.
Some resort in such cases to the acquisition of more than a computer, but it will cost more money, and therefore the so-called virtual machine software emerged to help solve this problem fundamentally and other problems at the level of individuals and companies.
What is the default device Virtual machine?
Is a program that provides you with the possibility of installing other operating systems within the current operating system, meaning that Kmhaki works for a computer Default another within the original computer, and called on the basic ran the "System Host" any host on the system that placed inside the virtual computer "Guest" any guest.
Guest works in a separate window within the screen so you can use both the Host and Guest at one time the system is operating at full properties and efficiency of the guest like a normal computer, and the other hand the host operating system sees the system away like a separate computer.
Guest works in a separate window within the screen so you can use both the Host and Guest at one time the system is operating at full properties and efficiency of the guest like a normal computer, and the other hand the host operating system sees the system away like a separate computer.
Virtual machine provides the system office equipment inside Default full of processor and RAM and hard disk interface and even its own network, but areas used deducted from the primary computer.
If any of the allocated virtual storage system 30 GB space would deduct that space from your primary hard.
It is worth mentioning here that it can be more than a default operating system and the inauguration of work on them at the same time but of course this depends on the strength of your hardware.
Use a lot of software to work Virtual machines including Vmware and Parallels but today our conversation centered on the KVM.
Kernel-based Virtual Machine
It is so-it KVM is the infrastructure virtual transformation of the core of GNU / Linux to monitor virtual machines distributions (Hypervisor), form the most basic is the built-in program with the kernel, and you can set up a computer Default inside your computer and you can after the inauguration of different operating Bdakhalh systems, you can installing Windows inside the distribution current or even another distro there is no difference, until recent years have been programs of Virtualization focused separately but to make things simpler and more rapid integration of KVM for the first time in the kernel Linux 2.6.20 in 2007 and adopted by many distributions, including: Red Hat, SUSE Linux Enterprise, Ubuntu , Gentoo.
Features Virtual Machines in general:
The use of Virtual Machines at the level of individuals and businesses alike hath a lot of features can not be collected in one place, Vistkhaddmh programmers to test their programs as well as to isolate it from the basic their system, and the flexibility advantage of the greatest advantages here where you can move the system away with you wherever you are using a USB or others, and you can also change the assigned hard disks and memory random space quite easily.
At the level of companies:
It can be used to run older programs do not work on the new operating systems! .. And most Many companies follow the principle: as long as the works do not fix it .. For this use Virtual Machines to provide a suitable environment for the work of those programs.
Isolate software and servers:
To avoid the negative effects resulting from the multiplicity of programs used such as libraries and oppose others. Many companies allocate for each particular server computer of its own and of course this is very expensive, but by using the Virtual Machines can be done, but on the same machine and thus less cost.
Energy saving :
Of course, when the abandonment of the physical servers and virtual direction to another, and thus reduce the number of actual devices that run it reduces monthly electricity bills and cooling costs for those servers in data centers.
Server consolidation and reduce the hardware in data centers
First, server consolidation and reduce the number of gear used on the one hand and on the other hand, there is a direct correlation between the number of servers used and the rest of the dependencies used to connect them, Vtkulail number of servers means minimizing the networks used equipment and reduce the number of Racks used.
Installing KVM method:
We will explain the installation for both Debian and distributions based on them, such as Ubuntu and Linux mint and process them Snrmz word Deb at installation, as well as distributions Redhat, Fedora, Centos and Snrmz them the word of Red at installation
Step 1:
work the KVM if your processor supports virtualization property and to make sure of that , please open the terminal and attach the following command:
egrep -c "(svm | vmx)" / proc / cpuinfo
If your device outputs 0 Unfortunately for Aadam this property.
NOTE: If you encounter a problem in the application of the previous command, typed manually.
However, if one or more supported by your device, but you first Itjob Find Virutalization Technology in the BIOS option, and then run it if you were not working.
Step 2: Install phase
Red:
yum -y update sudo sudo Setenforce 0 sudo yum install qemu-kvm qemu-img sudo yum install virt-manager Libvirt Libvirt Libvirt-python-client sudo yum Groupinstall virtualization-client virtualization- the sms_root_directory virtualization-tools sudo Systemctl restart , and Libvirtd
In Fedora 22 and higher:
sudo dnf groupinstall "Virtualization"
sudo dnf install qemu-img libvirt libvirt-python libvirt-client
apt-get sudo update && sudo apt-get upgrade sudo apt-get install qemu-kvm Libvirt-bin directory ubuntu-vm-builder bridge-utils virt-manager sudo adduser `id -un` Libvirtd
What did we do ?
We set packages required for the operation and management of KVM and now we will explain some of them:
- qemu-kvm: the main beams for KVM to manage the virtual machines through the file
- libvirt: These provide a useful tool for command-line called virsh to manage VMs
Thus, we finished the installation to run the program .. Look for Virtual machine
Congratulations program is now ready to work.
0 Comments