← Back to Home
πŸ’Ώ

Installing Linux

Set up a real Linux environment with WSL, VirtualBox, or VMware β€” ready for every hands-on lab in this course.

⏱10 min readπŸ“šDevOps Fundamentals

You’ve completed the introduction β€” now it’s time to get a real Linux environment running. From here on, almost every lesson includes practical exercises, and you’ll be working in a real Linux shell just like professional DevOps Engineers.


🎯 Learning Objectives

By the end of this lesson you will:


Which Installation Method Should You Choose?

There are three popular ways to run Linux. For most people learning DevOps on Windows, WSL is the fastest path.

Method Best for Ease Recommended
WSL (Windows Subsystem for Linux) Windows 10/11 users, beginners, developers Very easy ⭐⭐⭐⭐⭐
VirtualBox Practicing sysadmin, full Linux desktop, snapshots Easy ⭐⭐⭐⭐⭐
VMware Workstation Advanced users, enterprise, higher performance Moderate ⭐⭐⭐⭐

πŸ’‘ Which Distro?

Throughout this course we use Ubuntu 24.04 LTS β€” beginner friendly, superbly documented, backed by a huge community, and the distribution you’ll most often meet in the cloud.


Hardware Requirements

Minimum Recommended
RAM 8 GB 16 GB
CPU Dual Core Quad Core
Storage 40 GB free SSD
Network β€” Stable internet

Option 1 β€” Install Ubuntu with WSL (Recommended)

Step 1 β€” Open PowerShell as Administrator. Search for PowerShell, right-click, and choose Run as Administrator.

Step 2 β€” Run the installer:

powershell
wsl --install

Windows will automatically enable WSL, download Ubuntu, configure Linux, and restart if necessary.

Step 3 β€” Restart your computer.

Step 4 β€” Open Ubuntu and create your username and password when prompted. Choose something you’ll remember (e.g. username student).

Step 5 β€” Done. Linux is now installed and ready.


Option 2 β€” Install Ubuntu with VirtualBox

  1. Download VirtualBox from virtualbox.org.
  2. Download the Ubuntu 24.04 LTS ISO from ubuntu.com/download/desktop.
  3. Create a new VM β€” Name: Ubuntu DevOps Lab, Memory: 4096 MB+, Processors: 2+, Disk: 30 GB dynamically allocated.
  4. Attach the Ubuntu ISO and start the VM.
  5. Follow the installer: Install Ubuntu β†’ Normal Installation β†’ Erase disk (only inside the VM) β†’ Continue.

Verify Your Installation

Open your terminal and run these commands. If Linux responds, your environment works.

bash β€” 80Γ—24
student@devops:~$whoami && pwd && uname -a

πŸ§ͺ Hands-on: Your First Lab

πŸ“

Verify Your Linux Installation

Run each of these commands and confirm you get output:

  1. whoami β€” your current user
  2. pwd β€” your current directory
  3. date β€” the system date/time
  4. uname -a β€” kernel and system info
  5. ls β€” list your home directory

πŸ’‘ Screenshot Challenge πŸ“Έ

Take screenshots of your terminal running whoami, pwd, and uname -a. Real screenshots of your own environment make far better portfolio evidence than stock images.


Troubleshooting

⚠ Common Install Problems


🧠 Knowledge Check

Knowledge Check

Which installation method is recommended for most Windows users?

Knowledge Check

Which Linux distribution do we use throughout this course?


πŸ’Ό Interview Preparation

Interview Q&A

What is WSL and why is it useful for DevOps engineers on Windows?


Summary

In this lesson you learned:

Your Linux environment is now ready for the rest of the course.

Up Next

Linux Basics

You've mastered this lesson. Continue your journey to becoming a DevOps Engineer.

Start Next Lesson→