0% found this document useful (0 votes)
6 views4 pages

OS Lab 1

This lab manual provides a step-by-step guide for installing Ubuntu on Windows 10 using the Windows Subsystem for Linux (WSL). It includes detailed instructions on enabling WSL, installing Ubuntu, setting up the environment, and basic command usage for file management and system monitoring. The manual is aimed at students in the Cyber Security and Digital Forensics program at The Islamia University of Bahawalpur.

Uploaded by

Ummi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

OS Lab 1

This lab manual provides a step-by-step guide for installing Ubuntu on Windows 10 using the Windows Subsystem for Linux (WSL). It includes detailed instructions on enabling WSL, installing Ubuntu, setting up the environment, and basic command usage for file management and system monitoring. The manual is aimed at students in the Cyber Security and Digital Forensics program at The Islamia University of Bahawalpur.

Uploaded by

Ummi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

THE ISLAMIA UNIVERSITY OF BAHAWALPUR

University College of Engineering & Technology


Department of Cyber Security and Digital Forensics

LAB MANUAL Operating Systems 5TH Semester

Step-by-Step Guide to Installing Ubuntu on Windows 10

Student Name: Umair Ashraf Roll No: S23BINCE1M04016

Lab Instructor Signatures: Date:

Lab No: 1
Objectives: Linux installation and launching ubuntu within windows. Pre-
requisite: Windows 10 (Anniversary Edition and Above)

Procedure
Students are required to follow instructor’s hands on practice.

Step-by-Step Guide to Installing Ubuntu on


Windows 10
Step 1: Enable Windows Subsystem for Linux (WSL)

1. Open Settings from the Start menu.


2. Go to Update & Security.
3. Click on For Developers on the left side.
4. Under the Developer Mode section, toggle the switch to On.

Step 2: Install WSL

1. Open PowerShell as Administrator by right-clicking on the Start menu and selecting


Windows PowerShell (Admin).
2. Enter the following command to enable WSL:
wsl –install
THE ISLAMIA UNIVERSITY OF BAHAWALPUR
University College of Engineering & Technology
Department of Cyber Security and Digital Forensics

3. Restart your computer.

Step 3: Install Ubuntu

1. Open the Microsoft Store from the Start menu.


2. Search for “Ubuntu” in the search bar.
3. Select the desired version of Ubuntu from the list (e.g., Ubuntu 20.04 LTS) and click
on Get to install.

Step 4: Set Up Ubuntu

1. Once installed, launch Ubuntu from the Start menu.


2. The console will open, and you’ll be prompted to create a new user account and set
a password. Follow the on-screen instructions.

Step 5: Update and Upgrade Packages

1. After setting up your user account, it’s a good practice to update and upgrade
your packages. Run the following commands in the Ubuntu terminal:
sudo apt update sudo
apt upgrade

Exploring the Ubuntu Environment


Once Ubuntu is installed and set up, you can start familiarizing yourself with the
environment by using various tools and commands:

• Use the ls command to list files and directories.


• Use the cd command to change directories.
• Use the mkdir command to create directories.
• Explore the Nano text editor by typing nano filename.
THE ISLAMIA UNIVERSITY OF BAHAWALPUR
University College of Engineering & Technology
Department of Cyber Security and Digital Forensics

Lab Task
Getting familar with the ubuntu environment by using various tools
1. Terminal:

The terminal is a powerful tool in Ubuntu. You can open it by searching for
"Terminal" in the applications menu or by using the shortcut Ctrl + Alt + T.

2. Basic Commands:

• ls: Lists files and directories in the current directory.


• cd: Changes the current directory.
• mkdir: Creates a new directory.
• nano: Opens the Nano text editor.

3. File Management:

• cp: Copies files or directories.


• mv: Moves or renames files or directories.
• rm: Deletes files.

4. Package Management:

• sudo apt update: Updates the list of available packages.


• sudo apt upgrade:Upgrades installed packages to their latest versions.
• sudo apt install [package_name]: Installs a new package.

5. Text Editors:

• Nano: A simple, user-friendly text editor. You can open a file with Nano by typing
nano filename.

• Vim: A more advanced text editor. You can open a file with Vim by typing vim
filename.
THE ISLAMIA UNIVERSITY OF BAHAWALPUR
University College of Engineering & Technology
Department of Cyber Security and Digital Forensics

6. System Monitoring:

• top: Displays system tasks and processes.


• htop: A more user-friendly version of top (needs to be installed).

7. Network Tools:

• ping: Checks the connectivity to a host.


• ifconfig: Displays network configuration (use ip a instead in newer versions).

You might also like