0% found this document useful (0 votes)
43 views

Lab 1

This lab report summarizes Mansour Alasais's work in Lab #1 of the Operating Systems course. [1] Mansour installed Kali Linux in a virtual machine using Oracle VirtualBox and downloaded PuTTY and WinSCP utilities. [2] He tested the Linux installation by creating, compiling, debugging, and running a small C program, uploading it to the virtual machine using WinSCP. [3] Mansour encountered an issue with the compiler not finding a header file, which he resolved by directly editing the C file in the Linux virtual machine using vim.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Lab 1

This lab report summarizes Mansour Alasais's work in Lab #1 of the Operating Systems course. [1] Mansour installed Kali Linux in a virtual machine using Oracle VirtualBox and downloaded PuTTY and WinSCP utilities. [2] He tested the Linux installation by creating, compiling, debugging, and running a small C program, uploading it to the virtual machine using WinSCP. [3] Mansour encountered an issue with the compiler not finding a header file, which he resolved by directly editing the C file in the Linux virtual machine using vim.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

King Abdulaziz University

Faculty of Engineering
Electrical and Computer Engineering Department

Operating Systems (EE463)


LAB #1

Member Name ID

1 Mansour Alasais 1944577

Instructors:
Dr. Abdulghani M. Al-Qasimi
Eng Turki Abdulhafith
Work:
In this lab session, I was required to install Linux on a virtual machine and learn basic
Linux commands. For the first step, I downloaded and installed the latest version of
Oracle's Virtual Machine, VirtualBox, along with its extension pack. I made sure to get the
version that was suitable for my operating system. Then, instead of downloading the
Guest Linux Appliance from the course website, I chose not to use the LAMP package
because I already had Kali Linux installed. So, I created a new virtual machine and
installed Kali Linux on it. Finally, I installed the Windows Utility Applications by
downloading and installing PuTTY and WinSCP.

Once I had Linux installed on a virtual machine on my computer, I tested the installation
by creating, uploading, compiling, debugging, editing, and executing a small C program.
I ran the WinSCP application in the host computer and connected to the guest using the
IP address I noted before. I used the username "kali" and the password "kali" to connect.
After the connection was successful, I uploaded the C program to the guest Linux system
and opened PuTTY to get a secure command shell client. I typed "g++ add.c -o add" in
the command prompt, but the compiler did not find the file "studio.h" as part of the C
library. I corrected this issue by using the "vim" editor to edit the file directly in the guest

2
Linux system. Finally, I opened the references page and reviewed the UNIX tutorials and
applied them. The following figures demonstrates my work.

3
Figure 1: Pining Kali from Host

Figure 2: Connection between Kali and Host

4
Figure 3: Putty Connection from Host

5
Figure 4: Trying to run add.c

6
Figure 5: Output of add.c after correcting

7
Figure 6: Exploring File System

8
Figure 7: Exploring File System

9
Figure 8: Exploring File System

10
Figure 9: Tutorial 2

11
Figure 10: Tutorial 2

12
Figure 11: Tutorial 2

13
Figure 12: Tutorial 2

14
Figure 13: Creating new user using terminal

15
Figure 14: Accessing new user from WINSCP

16

You might also like