Koha-Library-Software/C2/Create-Virtual-Machine-using-WSL/English

From Script | Spoken-Tutorial
Revision as of 09:53, 5 March 2026 by VaibhaviS (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Title of the Script: Create Virtual Machine using WSL

Author: Maya Hans and Vaibhavi Satardekar

Keywords: Windows Subsystem for Linux (WSL), Virtual Machine in WSL, Linux on Windows, Ubuntu on WSL, Linux Environment on Windows, Install WSL on Windows 11, Video Tutorial.

Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this Spoken Tutorial on Create a Virtual Machine using WSL.
Slide Number 2

Learning Objectives

In this tutorial, we will learn to:

  • Define WSL
  • Install WSL
  • Install Ubuntu on WSL
  • Create and run a virtual Linux environment using WSL
In this tutorial, we will learn to:
  • Define WSL
  • Install WSL
  • Install Ubuntu on WSL and
  • Create and run a virtual Linux environment using WSL.
Slide Number 3

System Requirements

To record this tutorial, I am using:

  • Windows 11 Pro Operating System
  • A working internet connection
To record this tutorial, I am using:
  • A Windows 11 pro Operating System and,
  • A working internet connection.
Slide Number 4

Pre-requisites

To follow this tutorial,

  • Learners should have basic knowledge of using Command Prompt
To follow this tutorial,
  • Learners should have basic knowledge of using Command Prompt.
Slide Number 5

What is WSL?

WSL stands for Windows Subsystem for Linux

  • It allows users to run a Linux environment directly on Windows
  • It works without using traditional virtual machines like VirtualBox or VMware
  • WSL is lightweight, fast, and easy to use environment
Let’s understand what WSL is.

WSL stands for Windows Subsystem for Linux.

  • It allows users to run a Linux environment directly on Windows.
  • It works without using traditional virtual machines like VirtualBox or VMware.
  • WSL is lightweight, fast, and easy to use environment.
Narration only

Click on Start menu>>Right-click >>Run as Administrator

Now, let’s begin the installation.

Click on the Start menu.

In the search box, let’s type Command Prompt.

Right-click on it and select Run as Administrator.

Highlight User Account Control window.

Do you want to allow this app to make changes to your device?

Click on Yes.

Highlight Administrator Command Prompt window

Type: wsl --install and press Enter

Narration only

Highlight Operation completed successfully

The User Account Control window opens.

A message, Do you want to allow this app to make changes to your device? appears.

Click on the Yes button to continue.

The Administrator Command Prompt window opens.

Type the following command and press Enter.

This command will:

  • Enable WSL and,
  • Install the default Linux distribution, Ubuntu.

Please wait for the installation to complete.

The message Operation completed successfully appears.

Narration only

Type: wsl --install ubuntu-22.04 and press Enter.

Highlight Ubuntu 22.04 LTS

Narration only

Now, let us install Ubuntu 22 point 04.

Type the following command and press Enter.

Ubuntu 22 point 04 LTS will start launching.

The installation may take a few minutes.

Narration only

Highlight the new UNIX username

Once the installation is complete, Ubuntu will launch automatically.

You will then be prompted to create a new UNIX username.

Username: ubuntu

Password: ubuntu123

Retype the password ubuntu123 and press Enter

Let us type the username as ubuntu and press Enter.

Let’s set password as ubuntu123 and press Enter.

I will retype the same password and press Enter.

Highlight Installation successful

Highlight root path: ubuntu@DESKTOP-G4R5B47:~$

Highlight Changed root path: C:\Windows\System32>

After this, you will see the message Installation successful.

Notice that the root path has changed.

This confirms that the Ubuntu instance has been created successfully.

Now, type exit on the command prompt to log out from the running Ubuntu 22 point 04.

We can see that the command prompt path has changed.

Narration only

Type: wsl -l -v and press Enter.

Highlight the output

Now, let us verify the installed version of WSL.

Type the following command and press Enter.

The output shows that the status is Stopped and the version is 2.

Type: wsl -d ubuntu-22.04

Highlight the changed root path: ubuntu@DESKTOP-G4R5B47:/mnt/c/Windows/System32$

Narration only

Now, type the following command to start Ubuntu 22 point 04.

Once it starts, notice that the root path has changed.

With this we come to the end of this tutorial.

In the next tutorial we will learn to install Koha.

Slide Number 6

Summary

In this tutorial we learned how to:

  • Define WSL
  • Install WSL
  • Install Ubuntu on WSL
  • Create and run a virtual Linux environment using WSL

Let’s quickly recap.

Slide Number 7

Thank you

Thank you for joining.

Contributors and Content Editors

VaibhaviS