Skip to content

Lesson 02 — Linux Installation

Before becoming a Linux administrator, Cloud Engineer, DevOps Engineer, or Cybersecurity Professional, you need your own Linux environment where you can safely learn and practice.

The good news is that installing Linux has never been easier.

You don’t need expensive hardware or dedicated servers. You can install Linux on your existing Windows computer, run it inside a virtual machine, use Windows Subsystem for Linux (WSL), or launch a Linux virtual machine in AWS, Azure, or Google Cloud.

In this lesson, you’ll learn the different installation methods, understand their advantages, and prepare your Linux lab for the rest of this course.


After completing this lesson, you will be able to:

  • Understand different Linux installation methods.
  • Choose the right Linux distribution.
  • Install Linux using VirtualBox or VMware.
  • Understand Windows Subsystem for Linux (WSL).
  • Launch Linux virtual machines in the cloud.
  • Verify a successful Linux installation.
  • Prepare your Linux learning environment.

Throughout this Academy, you’ll perform practical tasks such as:

  • Creating users
  • Managing files
  • Configuring networking
  • Installing applications
  • Writing shell scripts
  • Managing services
  • Securing Linux servers

All of these require access to a Linux system.


There are several ways to run Linux.

Method Best For
Virtual Machine Beginners
Dual Boot Personal Computers
Windows Subsystem for Linux (WSL) Windows Users
Cloud Virtual Machine Cloud Learning
Physical Server Production
Raspberry Pi Home Labs

For this course, we recommend using a Virtual Machine because it is simple, safe, and easy to reset if something goes wrong.


For beginners and cloud professionals, we recommend:

Benefits:

  • Beginner Friendly
  • Large Community
  • Excellent Documentation
  • Cloud Native
  • AWS Support
  • Azure Support
  • Google Cloud Support

Throughout this Academy, Ubuntu will be used for demonstrations unless stated otherwise.


VirtualBox is a free virtualization platform that allows multiple operating systems to run on one computer.

Example:

Windows
VirtualBox
Ubuntu Linux Virtual Machine

Advantages:

  • Free
  • Easy to use
  • Snapshots
  • Safe experimentation
  • Ideal for beginners

Installation Method 2 — VMware Workstation

Section titled “Installation Method 2 — VMware Workstation”

VMware Workstation provides enterprise-grade virtualization.

Advantages:

  • Better performance
  • Enterprise features
  • Professional environments
  • Snapshot support

Many organizations use VMware in production environments.


Installation Method 3 — Windows Subsystem for Linux (WSL)

Section titled “Installation Method 3 — Windows Subsystem for Linux (WSL)”

WSL allows Linux to run directly inside Windows.

Example:

Windows 11
WSL
Ubuntu

Advantages:

  • No virtual machine required
  • Fast startup
  • Excellent developer experience
  • Ideal for scripting and DevOps

Limitations:

  • Some enterprise services behave differently than a full Linux installation.

Installation Method 4 — Cloud Virtual Machine

Section titled “Installation Method 4 — Cloud Virtual Machine”

Cloud providers allow you to launch Linux servers within minutes.

Examples:

AWS

  • Amazon EC2

Azure

  • Azure Virtual Machine

Google Cloud

  • Compute Engine

Cloud virtual machines provide hands-on experience with production-like environments.


Recommended configuration:

Component Recommended
CPU Dual Core or Higher
RAM 8 GB (16 GB Preferred)
Storage 40 GB Free Space
Virtualization Enabled in BIOS
Internet Required

Download the latest Ubuntu Server LTS ISO.

Recommended version:

Ubuntu Server LTS

The ISO image contains everything required to install Linux.


Install VirtualBox.


Download the Ubuntu Server ISO.


Create a new Virtual Machine.

Recommended settings:

Setting Value
Name Ubuntu-Lab
Type Linux
Version Ubuntu (64-bit)
RAM 4096 MB
CPU 2 Cores
Disk 30 GB (Dynamic)

Attach the Ubuntu ISO image.

Virtual Machine
Settings
Storage
Ubuntu ISO

Start the virtual machine.

Ubuntu Setup launches automatically.


Choose:

  • Language
  • Keyboard Layout
  • Installation Type

Proceed with the default options unless your environment requires customization.


Configure networking.

For learning purposes:

  • DHCP
  • Default Settings

These settings can be modified later.


Configure storage.

Recommended:

Use Entire Virtual Disk

This simplifies installation for beginners.


Create your administrator account.

Example:

Username:

student

Hostname:

ubuntu-lab

Choose a strong password.


Complete the installation.

Restart the virtual machine when prompted.

Congratulations!

Linux is now installed.


After installation:

Login:
student
Password:
********

You are now logged into Linux.


Run the following commands.

Display Linux version:

Terminal window
cat /etc/os-release

Display kernel version:

Terminal window
uname -r

Display hostname:

Terminal window
hostname

Display current user:

Terminal window
whoami

If these commands execute successfully, your Linux installation is ready.


After installation, you’ll begin working with directories such as:

/
├── home
├── etc
├── var
├── usr
├── opt
├── tmp

You’ll explore these directories in the next lessons.


Cloud Engineers frequently launch Linux servers in AWS.

Example:

AWS Console
EC2
Launch Instance
Ubuntu
SSH Connection
Linux Server

You’ll perform this activity later in the AWS Cloud modules.


Azure allows quick deployment of Ubuntu virtual machines.

Example:

Azure Portal
Virtual Machine
Ubuntu
SSH
Linux

Google Cloud Compute Engine supports several Linux distributions.

Example:

Google Cloud
Compute Engine
Ubuntu
SSH
Linux Server

Some common issues include:

  • Virtualization disabled in BIOS
  • Insufficient RAM
  • Corrupted ISO download
  • Network configuration problems
  • Boot order issues
  • Incorrect virtual disk configuration

These are usually easy to resolve with proper troubleshooting.


As you build your Linux lab:

  • Allocate sufficient RAM.
  • Keep snapshots before major changes.
  • Update the operating system regularly.
  • Use strong passwords.
  • Practice commands daily.
  • Avoid using the root account unnecessarily.
  • Document your configuration.
  • Build multiple virtual machines as your skills grow.

A Cloud Engineer creates a Linux server.

AWS EC2
Ubuntu Server
SSH
Install NGINX
Deploy Website
Monitor Logs

This workflow is common in production cloud environments.


After completing this lesson, you should understand:

  • Different Linux installation methods.
  • Why VirtualBox is recommended for beginners.
  • How to install Ubuntu Linux.
  • How to verify a successful installation.
  • Linux installation options in cloud environments.
  • Best practices for building a Linux lab.

Installing Linux is the first practical step toward becoming a Cloud Engineer, Linux Administrator, DevOps Engineer, or Cybersecurity Professional.

Throughout this Academy, your Linux lab will serve as the foundation for hands-on exercises covering file systems, user management, networking, services, shell scripting, security, and system administration.

By building and maintaining your own Linux environment, you’ll gain the practical experience needed to confidently work with enterprise servers and cloud infrastructure.


➡️ Lesson 03 — Linux File System

In the next lesson, you’ll explore the Linux file system hierarchy, understand important directories, learn how Linux organizes files and storage, and begin navigating the operating system using the command line.