mohammed-lvw644-IS1003_Lab-01

pdf

School

University of Texas, San Antonio *

*We aren’t endorsed by this school

Course

1003

Subject

Computer Science

Date

Apr 3, 2024

Type

pdf

Pages

14

Uploaded by BailiffGuanacoMaster519

Report
1 IS-1003-ON1-Spring-2022-Unlocking Cyber Lab 01 Virtualizing Your Machine Author : Fiona Mohammed Course Section : IS-1003-ON1-Spring-2022-Unlocking Cyber Date : February 18, 2022 I NTRODUCTION The objective of this lab is for me to learn how to enable virtualization on my host computer by downloading and installing VirtualBox and Ubuntu on to my host computer, and then installing Ubuntu unto VirtualBox. The lab will also enable me to learn how to perform some basic commands in my Ubuntu terminal and troubleshoot problems I might encounter in the process. P ROCESS BIOS Settings: Below is an image of my Bios Settings, confirming that my Computer Virtualization is enabled. I found my BIOS Settings by searching in my Task Manager, Selecting the Performance tab, and Clicking on my CPU. ( Breakpoint #1 BIOS Setting ) VirtualBox download: Below is an image of my downloaded VirtualBox. I successfully downloaded it yesterday (February 15, 22), but could not proceed or complete the lab due to Ubuntu’s long downloading duration. (Breakpoint #3 VirtualBox download)
2 Linux ISO image file : Below is an image of my Linux ISO. Downloading Ubuntu took me a total of over 12 hours for a successful and complete download. It failed halfway through my first two tries, and I had to re-start my wifi, and double check on my RAM space to make sure everything was in order. I did not do anything special or different for the final, successful download. I just kept re-downloading every time it failed, until it finally downloaded all the way. (Breakpoint #4 Linux ISO download) VirtualBox Interface and Settings: Installing and Setting up the VirtualBox was straightforward. I followed the instructions and did not encounter any challenges. It felt familiar even though I have never installed a virtual machine. Below are images of the Virtual Interface, User Interface and Settings. (Breakpoint #5a VirtualBox Interface)
3 (Breakpoint #5b VirtualBox Interface (Settings)) VirtualBox Storage Display / Secondary Disk Icon Display/ Loaded Disk File Display: I accidentally clicked on OK to save everything before taking a screenshot of the Displays for this step. I followed the steps correctly and did not encounter any problems. I successfully uploaded Ubuntu operating system (ISO file) inside my virtual machine. (Breakpoint #6 - Image N/A)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
4 VirtualBox Interface and a Display of the Virtual Machine Properties/Settings: Below are Images of my Virtual Interface, and my Virtual Machine Properties. I watched the Instruction video and copied exactly step by step what the professor was doing, however my computer kept freezing, even though I had a large RAM space. I was so happy that everything worked. No errors, my password was accepted, no need to troubleshoot. I was a little confuse with the exact image you wanted us to screenshot for righthand pane, so I provided the below images, alongside the image of Ubuntu machine running in the window. (Breakpoint #7a VirtualBox Interface and a Display of the Virtual Machine Properties/Settings)
5 (Breakpoint #7b Virtual Machine Properties/Settings)
6 The Ubuntu machine running in the window: (Breakpoint #7c Ubuntu machine running in the window)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
7 Screenshot of full screen Linux machine with the terminal open: This was the toughest part of the whole lab for me. I could not Insert Guest Additions CD Image, even after I Removed disk from virtual drive. I meticulously followed the steps on the video, and on the instruction’s manual, but I kept getting the error message. I googled to see if there were other alternatives to inserting it, but I came back more confused and worried that I might mess everything up if I try some of the suggestions I found online. I kept re-trying, existing and re-entering the program, and at some point I thought I lost everything or corrupted my VM , cause the machine refused to start back up. I decided to re-start my host machine, and let it rest for an hour, and after that, I was able to successfully run the Insert Guest Additions CD Image. The reboot Ubuntu with sudo reboot took almost an hour, and I was worried it will come out unsuccessful, but it was successful. I enjoyed exploring the terminal and learning some of the commands. (Breakpoint #8 installing GuestAdditions and using the command line)
8 Exploring New Operating System and Terminal: I did not provide a screenshot of all the commands in the terminal because it seemed to be a lot, and I think the two images provided below covered most of the commands I ran (I ran all of them). I enjoyed seeing each command translated, and its function(s) provided on the terminal. Pwd: The "pwd" command prints the full name (the full path) of current/working directory Ls: The ls command is used to list files ls a: command will enlist the whole list of the current directory including the hidden files. It will show the list in a long list format. This command will show you the file sizes in human readable format. ls al: command option flag lists all files including hidden files starting with '.' ll: List the names of the files in the current directory along with the permissions, date, time and size ls -lt | head: The head command, as the name implies, print the top N number of data of the given input. By default, it prints the first 10 lines of the specified files. ls /usr/bin: is a standard directory on Unix-like operating systems that contains most of the executable files (i.e., ready-to-run programs) that are not needed for booting (i.e., starting) or repairing the system. (Breakpoint #9a screenshot(s) of the command(s))
9 (Breakpoint #9b screenshot(s) of the command(s))
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
10 Create and Navigate Your Directories: I was able to create my own directory successfully, using the provided commands below. I named my directory mohammed . Mkdir: This command allows the user to create directories (also referred to as folders in some operating systems ). This command can create multiple directories at once as well as set the permissions for the directories. Cd: The cd command, also known as chdir (change directory), is a command-line shell command used to change the current working directory in various operating systems. It can be used in shell scripts and batch files. Pwd: As earlier stated, the "pwd" command prints the full name (the full path) of current/working directory . By default, right after ssh-ing to a Linux machine you would find yourself in your home directory, usually /home/<username>. Ll: List the names of the files in the current directory along with the permissions, date, time and size ll..: The dotdot directory argument is used to list the contents of the parent directory: cd..: The cd dotdot directory argument is used to change the working directory to a parent directory pwd: This command is used for verification. It prints the full name (the full path) of current/working directory. (Breakpoint #10 Create and Navigate Your Directories)
11 Look at and Create a File: This was one of the easiest and probably fun steps for me, because of the echo command, and the fact that is an introduction to writing script. My echo word is lets go . cat /etc/passwd: The / etc / passwd in Linux is a file that stores the list of users on the system along with important information regarding these users. To display the contents of a text file to the screen, the cat (concatenate) command can be used to display the contents of the password file in the etc directory. echo: The echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that is mostly used in shell scripts and batch files to output status text to the screen or a file (Breakpoint #11 Look at and Create a File)
12 Use Shortcuts: Using the Shortcuts would helps me keep track of my commands, and navigate through the terminal without having to re-type everything. The below image shows a history of my terminal, and I achieved this by using my history command. History: history command is used to view the previously executed command. ... These commands are saved in a history file. In Bash shell history command shows the whole list of the command. (Breakpoint #12 use shortcuts) L IMITATIONS /C ONCLUSION This lab was tedious and complicated. It took me over a period of three days to complete. My biggest limitation was how slow, and long it took for Ubuntu to download and install. I kept running into different errors, and because I waited last minute to work on the lab, I felt like it was too late to reach out or ask any for help. I had to figure out, and troubleshoot by myself, which taught me a lot, and built my confidence. The goal of this lab is to help us navigate and troubleshoot problems we might encounter in the IT world. It is also an introduction into Computer Programming, Installation, and Maneuvering. Learning Virtualization will particularly help me secure and protect my host machine, run multiple OS installations, work with operating systems and hardware simulations other than the setup on my machine.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
13 Since this is my first time installing a VM, it did not come easy, but maybe after I get used to it, then I will appreciate the techniques and tools I learnt from the lab. There are no other aspects I want to explore now, but maybe once I get comfortable with all the new information I learnt from the lab, then I will look forward to exploring different aspects. R EFERENCES University of San Antonio Library (Last updated: Feb 3 2021). Cite It Right APA Style 7 th Edition . https://libguides.utsa.edu/cite/APA How to Install Ubuntu 20.04 LTS VirtualBox (Kumar, Fossbytes, 2020). Download ubuntu desktop: Download. Ubuntu. (n.d.). Retrieved February 18, 2022, from https://ubuntu.com/download/desktop Download virtualbox. Downloads Oracle VM VirtualBox. (n.d.). Retrieved February 18, 2022, from https://www.virtualbox.org/wiki/Downloads High performance computing. Home | High Performance Computing. (n.d.). Retrieved February 18, 2022, from http://www.hpc.iastate.edu/ Linuxize. (2020, November 7). LS command in Linux (list files and directories). Linuxize. Retrieved February 18, 2022, from https://linuxize.com/post/how-to-list-files-in-linux-using-the-ls-command/ Linux tutorials - javatpoint. www.javatpoint.com. (n.d.). Retrieved February 18, 2022, from http://www.javatpoint.com/linux LS command in unix with syntx and options and practical examples. Software Testing Help. (2022, February 3). Retrieved February 18, 2022, from https://www.softwaretestinghelp.com/ls-command-in- unix/ Linux LS command examples. alvin alexander. (n.d.). Retrieved February 18, 2022, from https://alvinalexander.com/blog/post/linux-unix/linux-ls-command/ LS -A command in linux. ls -a command in Linux/Unix | show all / hidden files. (n.d.). Retrieved February 18, 2022, from https://www.rapidtables.com/code/linux/ls/ls-a.html User, S. (n.d.). FAQ. Retrieved February 18, 2022, from https://www.gbar.dtu.dk/index.php/faq The /usr/bin directory. /usr/bin. (n.d.). Retrieved February 18, 2022, from http://www.linfo.org/usr_bin.html Unix commands. Welcome. (n.d.). Retrieved February 18, 2022, from https://www.gbar.dtu.dk/index.php/faq/48-unix-commands JournalDev. (2020, June 16). Retrieved February 18, 2022, from https://www.journaldev.com/41380/etc-passwd-file-in-linux
14 comments, 01 A. 2020S. M. F. (n.d.). Opensource.com. Retrieved February 18, 2022, from https://opensource.com/article/18/6/history-command (Breakpoint #2 - References) C OLLABORATION NONE.