Linux Lab Installation
Build your own safe playground. Learn how to install Linux on VirtualBox or VMWare without breaking your main computer.
1 Why a Virtual Machine?
A Virtual Machine is a "computer inside a computer". If you break Linux (and you will), your actual Windows or Mac laptop remains completely safe.
โ Dual Booting
Installing Linux alongside Windows.
- Risk of data loss.
- Hard to reboot.
โ Virtual Machine
Running Linux as an app window.
- Zero risk.
- Snapshots available.
2 Step 1: Download a Hypervisor
The Hypervisor is the software that runs VMs. Pick the one that matches your physical computer.
3 Step 2: Grab the Linux ISO
An ISO file is a digital "CD-ROM". We will use Ubuntu.
Ubuntu 24.04 LTS
Stable, Long Term Support. ~4GB.
4 Step 3: Installation
-
Create Machine
Name: "Ubuntu-Lab". Type: Linux.
-
Hardware
RAM: 4GB+. CPU: 2 Cores.
-
Disk
Size: 40GB+ (Dynamic).
-
Insert ISO
Settings > Storage > Empty CD > Choose disk file.
-
Boot
Start > "Erase disk and install Ubuntu?" > YES (It's virtual).
5 First Boot Checklist
Open Terminal (Ctrl+Alt+T) and run these commands:
sudo apt update
sudo apt upgrade -y
sudo apt install git curl vim build-essential -y