Day 3: The Gateway to Linux - VirtualBox Virtualization & Beyond
If you want to master DevOps, you must first master Virtualization and Linux. It is the absolute backbone of everything we do—from the smallest local lab to the massive clusters at AWS and GCP.
Today, we are looking at the best entry point for anyone starting this journey: Oracle VirtualBox. (Formerly known as Sun Microsystems VirtualBox)
Why VirtualBox?
Oracle VirtualBox is fantastic for beginners. It’s a Type-2 hypervisor, meaning it runs on top of your existing Windows, Mac, or Linux OS. It’s the perfect “sandbox” where you can break things, delete partitions, and mess up configuration files without any risk to your host system. This is the FIRST step before actually installing Linux on a live system either as the sole or dual boot system.
There is no shame in using VirtualBox. Even as a Senior, I’ve used VirtualBox extensively up untill 5 years ago when I finally switched 100% to using LibVirt and KVM for all my virtualization needs. I appreciate its simplicity for quick tests and recommend it to complete beginners. It even supports:
- Terraform Providers: You can test out your terraform scripts!
- Vagrant Integration: For reproducible development environments.
- Snapshots: Take a snapshot in time of your virtual machine and the “magic” “Undo” button for your mistakes.
🎥 Tutorial: Try Linux WITHOUT Deleting Windows
The most important aspect in DevOps is learning and using Linux and Unix. If you’ve only used Windows or MacOS then experiment 1 month with using exclusively Linux in virtualbox in fullscreen. Meaning you
I’ve recorded a complete, step-by-step guide on how to get started. I recommend using Debian or Linux Mint (great for beginners) and I explain the “Why” behind virtual machines—from security to privacy.
What you’ll learn in the video:
- [00:00:13] What are VMs? Understanding how they slice your CPU and RAM.
- [00:01:25] Safety & Security: Using VMs to browse safely or test untrusted code.
- [00:02:39] Choosing a Distro: Why I recommend Linux Mint or Debian for starters.
- [00:05:56] Installation: Setting up your first VDI (Virtual Disk Image) and installing Linux.
- [00:12:19] Guest Additions: How to enable full screen and shared clipboards between your host and guest.
🚀 The “Unicorn” Path: Moving to KVM and Libvirt
While VirtualBox is a great teacher, “real world” production virtualization on Linux usually happens at a deeper level.
If you look under the hood of the world’s biggest clouds, you won’t find VirtualBox. You’ll find KVM (Kernel-based Virtual Machine) and Libvirt.
- Performance: It runs at near-native speeds because it’s part of the Linux kernel.
- Industry Standard: This is the tech that powers the modern internet.
Next up in the 100-Day Challenge: We are going to “level up.” I’ll show you how to set up KVM and Libvirt on Linux (day 5) to build a professional-grade private cloud 004-homelab-infrastructure)](003-homelab-infrastructure)
Homework: Follow the video, install a Linux VM (I recommend Debian), and try to navigate the terminal. If you’re feeling brave, try installing Whonix for ultimate privacy as I mentioned at [00:14:34]!
Day 4 is about beginning to create your own local coloud by setting up your homelab infrastructure
Find more guides and join the discussion at fullstackdevops.eu.