The post “Create a Virtual Machine on your laptop for free” takes you through a step by step process of creating a virtual machine on your laptop while not touching the existing host operating system. In recent times I’ve got plenty of questions from various blog followers on how to set up a VM with less or no cost. Microsoft lovers merely tend to deal with Windows OS and we never try to explore options around Linux. But sometimes we may need to perform POC’s that require opensource support. Now, we’ll see how to set up a VM on your local machine with Ubuntu 18.4 Operating System.
There are multiple ways to set up a VM:
- Use AWS / Azure one-year free tier
- Host a shared Linux VM on a datacenter just with the price of a caramel chocolate
- Use Oracle Virtual Box and create a virtual machine on your laptop for free
- Other options: VMWare Workstation, Windows 10 Hyper-V
Considering the limitations and feasibility, I vote for the third option. We are going to create our own VM on a local machine using the product Oracle Virtual Box.
Recommended resources for VM:
- Host OS (OS on your laptop/system): Windows 10 Operating System
- Available RAM: 1/2 GB
- Available Space: 5/10 GB
- Guest OS: CentOS / Ubuntu ISO image
- Administrator access on the Host system
Oracle Virtual Box:
Virtual Box is a virtualization product that absolutely supports both an individual and an enterprise user. Few things I really liked are “it’s an opensource”, “Optimized”, “Lightweight” and “OS support”. If you have a proper host machine (Laptop/Desktop), you can configure multiple VM’s with different OS and it is very handy to perform the POC’s for your business requirements.
Note: VM supports various OS (Ex: Linux, Windows, Mac, etc). For a quick POC I am going to create a VM with Ubuntu Desktop OS.
Now, we are going to start creating a VM on my local machine:
- Install Oracle Virtual box
- Download Ubuntu 18.4 OS software
- Create a new VM the OS Ubuntu
Install Oracle Virtual Box:
It is the easiest task in the given list. Just download the Oracle Virtual Box from here. Since it is an opensource, it is licensed under the General Public License. From the given link, just click on the image “Download VirtualBox 6.1” and it redirects you to next page from where you can download the installation package by clicking on “Windows Hosts”. It downloads a VirtualBox-6.1.12-139181-Win.exe file sized 103 MB.
I am going to install Virtual Box from downloaded “.exe” file and I would like to take the defaults:



































