Difference between revisions of "Koha-Library-Software/C2/Create-Virtual-Machine-using-WSL/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
Line 4: Line 4:
  
 
'''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.
 
'''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.
 +
  
 
{|border=1
 
{|border=1
Line 19: Line 20:
  
 
In this tutorial, we will learn to:
 
In this tutorial, we will learn to:
*Define '''WSL'''
+
* Define '''WSL'''
*Install '''WSL'''
+
* Install '''WSL'''
*Install '''Ubuntu''' on '''WSL'''
+
* Install '''Ubuntu''' on '''WSL'''
*Create and run a virtual '''Linux''' environment using '''WSL'''
+
* Create and run a virtual '''Linux''' environment using '''WSL'''
  
 
|| In this tutorial, we will learn to:
 
|| In this tutorial, we will learn to:
*Define '''WSL'''
+
* Define '''WSL'''
*Install '''WSL'''
+
* Install '''WSL'''
*Install '''Ubuntu''' on '''WSL''' and
+
* Install '''Ubuntu''' on '''WSL''' and
*Create and run a virtual '''Linux''' environment using '''WSL'''.
+
* Create and run a virtual '''Linux''' environment using '''WSL'''.
  
 
|-
 
|-
Line 37: Line 38:
 
To record this tutorial, I am using:
 
To record this tutorial, I am using:
 
*'''Windows 11 Pro Operating System'''
 
*'''Windows 11 Pro Operating System'''
*A working internet connection
+
* A working internet connection
  
 
|| To record this tutorial, I am using:
 
|| To record this tutorial, I am using:
*A '''Windows 11 pro Operating System ''' and,
+
* A '''Windows 11 pro Operating System ''' and,
*A working internet connection.
+
* A working internet connection.
  
 
|-  
 
|-  
Line 49: Line 50:
  
 
To follow this tutorial,  
 
To follow this tutorial,  
*Learners should have basic knowledge of using '''Command Prompt'''
+
* Learners should have basic knowledge of using '''Command Prompt'''
  
 
|| To follow this tutorial,  
 
|| To follow this tutorial,  
*Learners should have basic knowledge of using '''Command Prompt'''.
+
* Learners should have basic knowledge of using '''Command Prompt'''.
  
 
|-
 
|-
Line 60: Line 61:
  
 
'''WSL''' stands for '''Windows Subsystem for Linux'''
 
'''WSL''' stands for '''Windows Subsystem for Linux'''
*It allows users to run a '''Linux''' environment directly on '''Windows'''
+
* It allows users to run a '''Linux''' environment directly on '''Windows'''
*It works without using traditional virtual machines like '''VirtualBox''' or '''VMware'''
+
* It works without using traditional virtual machines like '''VirtualBox''' or '''VMware'''
*'''WSL''' is lightweight, fast, and easy to use environment
+
* '''WSL''' is lightweight, fast, and easy to use environment
  
 
|| Let’s understand what '''WSL''' is.
 
|| Let’s understand what '''WSL''' is.
  
 
'''WSL''' stands for '''Windows Subsystem for Linux'''.
 
'''WSL''' stands for '''Windows Subsystem for Linux'''.
*It allows users to run a '''Linux''' environment directly on '''Windows'''.
+
* It allows users to run a '''Linux''' environment directly on '''Windows'''.
*It works without using traditional virtual machines like '''VirtualBox''' or '''VMware'''.
+
* It works without using traditional virtual machines like '''VirtualBox''' or '''VMware'''.
*'''WSL''' is lightweight, fast, and easy to use environment.
+
* '''WSL''' is lightweight, fast, and easy to use environment.
  
 
|-
 
|-
Line 82: Line 83:
 
In the search box, let’s type '''Command Prompt'''.
 
In the search box, let’s type '''Command Prompt'''.
  
Right-click on it and select '''Run as Administrator'''.
+
Right-click on it and select '''Run as administrator'''.
 
|-
 
|-
 
|| Highlight '''User Account Control''' window.
 
|| Highlight '''User Account Control''' window.
Line 108: Line 109:
  
 
This command will:
 
This command will:
*Enable '''WSL''' and,
+
* Enable '''WSL''' and,
*Install the default '''Linux''' distribution, '''Ubuntu'''.
+
* Install the default '''Linux''' distribution, '''Ubuntu'''.
  
 
Please wait for the installation to complete.
 
Please wait for the installation to complete.
  
The message '''Operation completed successfully '''appears.
+
The message '''Operation completed successfully''' appears.
 
|-
 
|-
 
|| Narration only
 
|| Narration only
Line 128: Line 129:
 
'''Ubuntu 22 point 04 LTS''' will start launching.
 
'''Ubuntu 22 point 04 LTS''' will start launching.
  
The installation may take a few minutes.
+
The installation may take few minutes.
 
|-
 
|-
 
|| Narration only
 
|| Narration only
Line 143: Line 144:
 
Retype the password '''ubuntu123''' and press '''Enter'''
 
Retype the password '''ubuntu123''' and press '''Enter'''
 
|| Let us type the username as '''ubuntu''' and press '''Enter'''.
 
|| Let us type the username as '''ubuntu''' and press '''Enter'''.
 +
 
Let’s set '''password''' as '''ubuntu123''' and press '''Enter'''.
 
Let’s set '''password''' as '''ubuntu123''' and press '''Enter'''.
  
Line 153: Line 155:
 
Highlight Changed root path: '''C:\Windows\System32>'''
 
Highlight Changed root path: '''C:\Windows\System32>'''
 
|| After this, you will see the message '''Installation successful'''.
 
|| After this, you will see the message '''Installation successful'''.
 +
 
Notice that the root path has changed.
 
Notice that the root path has changed.
  
Line 168: Line 171:
  
 
|| Now, let us verify the installed version of '''WSL'''.
 
|| Now, let us verify the installed version of '''WSL'''.
 +
 
Type the following command and press '''Enter'''.
 
Type the following command and press '''Enter'''.
  
Line 190: Line 194:
  
 
In this tutorial we learned how to:
 
In this tutorial we learned how to:
*Define '''WSL'''
+
* Define '''WSL'''
*Install '''WSL'''
+
* Install '''WSL'''
*Install '''Ubuntu''' on '''WSL'''
+
* Install '''Ubuntu''' on '''WSL'''
*Create and run a virtual '''Linux''' environment using '''WSL'''
+
* Create and run a virtual '''Linux''' environment using '''WSL'''
  
||  
+
|| Let’s quickly recap.  
Let’s quickly recap.  
+
 
|-
 
|-
 
|| '''Slide Number 7'''
 
|| '''Slide Number 7'''

Latest revision as of 10:54, 10 March 2026

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 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

Madhurig, VaibhaviS