How to create a virtual machine in Linux OS
How to create a virtual machine in Linux OS part #1. What is a virtual machine? A virtual machine (VM) is a virtual environment that functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system (located off- or on-premises). Software called a hypervisor separates the machine’s resources from the hardware and provisions them appropriately so they can be used by the VM. The physical machines, equipped with a hypervisor such as a Kernel-based Virtual Machine (KVM), are called the host machine, host computer, host operating system, or simply host. The many VMs that use its resources are guest machines, guest computers, guest operating systems, or simply guests. The hypervisor treats compute resources—like CPU, memory, and storage—as a pool of resources that can easily be relocated between existing guests or to new virtual machines. In a nutshell, a virtual machine is a software-based computer that has everything a physical computer has and can be used to perform operations that a physical computer would perform, such as hosting a web server, running an application, hosting files, or just using them as your personal computer or a server. You can create a Windows virtual machine, Linux virtual machine, or even a mac virtual machine. What are the advantages of a virtual machine? Numerous advantages of virtual machines include saving the cost of buying a new computer. Imagine the cost of buying 10 computers to perform different tasks, when you could do that for free, without paying, and at zero cost by creating your own virtual machines and never having to pay a dime. If you've used Google Compute, Amazon Cloud, S3, etc all these are virtual machines created for you by their respective companies (Google, Amazon, Azure) and you're paying an exorbitant monthly fee to use them, what if you can create your own virtual machines and never have to pay a dime for it? In this video, you will learn how to create a virtual machine in a Linux Operating System environment and it's totally free to use. What you will learn: How to write a simple bash program to create every virtual machine using Linux operating system. How to assign an IP address to a virtual machine. How to assign a gateway to a virtual machine. How to assign a nameserver to a virtual machine. How to create a virtual disk and add it to the virtual machine. How to create a swap and add it to the virtual machine. How to add memory size to the virtual machine. How to add a virtual machine to a network. How to NAT a virtual machine. How to boot a virtual machine. How to shut down a virtual machine. If this video helps you, don't forget to share it, subscribe, and tip to see more videos.