Virtual Machines for beginners
Learn how to create virtual machines step by step
What you will learn
Create virtual machines
Enable virtualization on host machine
Enable guest additions
Setup communication between host machine and virtual machines
Install another operating system into virtual machine
Install applications into virtual machines
A virtual machine, commonly shortened to just VM, is no different than any other physical computer like a laptop, smart phone, or server. It has a CPU, memory, disks to store your files, and can connect to the internet if needed. While the parts that make up your computer (called hardware) are physical and tangible, VMs are often thought of as virtual computers or software-defined computers within physical servers, existing only as code.
Virtualisation is the process of creating a software-based, or "virtual" version of a computer, with dedicated amounts of CPU, memory, and storage that are "borrowed" from a physical host computer—such as your personal computer— and/or a remote server—such as a server in a cloud provider's datacentre. A virtual machine is a computer file, typically called an image, that behaves like an actual computer. It can run in a window as a separate computing environment, often to run a different operating system—or even to function as the user's entire computer experience—as is common on many people's work computers. The virtual machine is partitioned from the rest of the system, meaning that the software inside a VM can't interfere with the host computer's primary operating system.
Here are a few ways virtual machines are used:
Building and deploying apps to the cloud.
Trying out a new operating system (OS), including beta releases.
Spinning up a new environment to make it simpler and quicker for developers to run dev-test scenarios.
Backing up your existing OS.
Accessing virus-infected data or running an old application by installing an older OS.
Running software or apps on operating systems that they weren't originally intended for.