Posts

Showing posts from November 30, 2018

Creating and Running Virtual Machines in LINUX - KVM - Cli Mode

Image
    In this article we will be seeing how to run multiple virtual machines in our host machine through cli mode. Creating Logical volume for the Virtual Machine:     Since the VM needs physical requirements such as Hard-disk, Memory, CPU. We will allocate those from the host machine. For HD we will create a logical volume using the below command, $ lvcreate -L 50G -n ljunix.vmserver-1 kvm lvcreate command use to create the logical volume. -L stands for the size of the HD interms of GB -n is for the Virtual Machine name. kvm is the default path for the volumes being stored. The file path is /dev/kvm Installing the Virtual Machine:     Now our VM has some physical volume to run the installation, Since our Hypervisor is KVM we will be installing Kernel based virtual machines through virt command.     virt-install is a command line tool which provides an easy way to provision operating systems into virtual machines.     The following command will install a Cent

Blog Top Sites

Blog Log