Wednesday, 25 February 2026

🐧 Linux Virtual Machine – Practical Workshop (60 Minutes) For Data Analytics

 

🎯 Session Objective

By the end of this session, participants will:

  • Understand what a Virtual Machine (VM) is
  • Install and configure a Linux VM
  • Perform basic Linux terminal operations
  • Manage files, users, and processes
  • Understand real-world relevance (DevOps, Data Analytics, Cybersecurity)

 



🧭 Session Breakdown (60 Minutes)

Time

Module

Focus

Activity Type

0–5 mins

Introduction

VM & Linux basics

Conceptual

5–15 mins

VM Setup

Install & configure Linux

Guided Setup

15–35 mins

Linux Terminal Basics

Commands & File Management

Hands-on

35–50 mins

System & User Management

Processes, Permissions

Hands-on

50–60 mins

Real-time Use Case + Mini Task

Practical Challenge

Activity

 

🧩 Module 1: Introduction to Virtual Machines (0–5 mins)

What is a Virtual Machine?

A Virtual Machine is a software-based computer that runs inside your existing system.

Popular VM Tools:

  • Oracle VM VirtualBox
  • VMware Workstation
  • Microsoft Hyper-V

 

What is Linux?

Linux is an open-source operating system widely used in:

  • Cloud Computing
  • Data Analytics
  • Servers
  • DevOps
  • Ethical Hacking

Popular Linux Distributions:

  • Ubuntu
  • CentOS
  • Kali Linux

🖥️ Module 2: Installing Linux on Virtual Machine (5–15 mins)

Step 1: Install VirtualBox

Live Demonstration:

  1. Open VirtualBox
  2. Click New
  3. Allocate:
    • RAM: 2GB (Minimum)
    • Storage: 20GB
  4. Load Ubuntu ISO file
  5. Start VM

 

Step 2: Install Ubuntu

Walkthrough:

  • Select language
  • Normal Installation
  • Create username & password
  • Complete setup

 

💻 Module 3: Linux Terminal Hands-On (15–35 mins)

Open Terminal → Start Practice

🔹 Basic Commands

Command

Purpose

pwd

Print working directory

ls

List files

cd

Change directory

mkdir test

Create folder

touch file.txt

Create file

rm file.txt

Delete file

clear

Clear screen

Activity:

Create folder → Add 3 files → Delete 1 file

 

🔹 Viewing & Editing Files

Command

Purpose

cat file.txt

View content

nano file.txt

Edit file

echo "Hello" > file.txt

Write content

 

⚙️ Module 4: System & User Management (35–50 mins)

🔹 User Management

Command

Purpose

whoami

Current user

adduser newuser

Add user

passwd newuser

Set password

su newuser

Switch user

 

🔹 File Permissions

Command

Purpose

ls -l

View permissions

chmod 777 file.txt

Change permissions

chown user file.txt

Change owner

Explain:

  • Read (r)
  • Write (w)
  • Execute (x)

 🔹 Process Management

Command

Purpose

top

View running processes

ps aux

List processes

kill PID

Stop process

Mini Demo:

  • Run sleep 100
  • Kill the process

🚀 Module 5: Mini Real-Time Challenge (50–60 mins)

Task:

  1. Create folder project
  2. Create file report.txt
  3. Add content
  4. Change permission to read-only
  5. Create new user and assign ownership

🎓 Real-World Relevance

Linux VM is used in:

  • Cloud servers (AWS, Azure)
  • Data pipelines
  • Web hosting
  • DevOps automation
  • Cybersecurity labs

No comments:

Post a Comment