Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

378 bytes removed, 15:05, 12 September 2021
no edit summary
=INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX=
<span style="color:red;">'''ATTENTION''': Depending on your ULI101 instruction, you may be required to complete this tutorial for marks in the course.<br>Please refer to your instructor's course notes in terms of marked assigned to the course.<br><br>This is an OPTIONAL assignment, but is worth a bonus mark of 1% if successfully completed by the student.<br><br>The due date for successfully completing this tutorial (i.e. will provide additional '''tutorial 12'practice'') is by '''Friday by midnight''' next week (i.ewith some interesting system administration skills. This does not provide any practice for your '''Week 12assignments''').<br>If your instructor has NOT assigned and is not worth marks for completing this tutorial, you can perform it for practice purposes.</span><br><br>
In this investigation, you will first ''download'' and ''install'' the '''VirtualBox''' VM application on your home computer,<br>then you will then ''download'' and unzip the '''Knoppix Live Distribution VM''' file to your computer.
# '''Click''' the '''Knoppix Start button''' (refer to <u>left</u> icon in diagram on right). In the '''Knoppix menu''', select '''System Tools'''<br><br>[[Image:xterm.png|thumb|right|280px|The '''Konsole''' application will display the Bash shell to issue Linux commands.]]
# In the system tools menu, and select '''Konsole''' to launch a terminal application.<br><br>'''FYI:''' To '''increase''' font size, press '''ctrl+''' to '''reduce''' font size, press '''ctrl-'''.<br>You can drag the Konsole terminal window from the bottom-right corner<br>to increase the window size.<br><br>
# In the bash shell, issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">whoami</span><br><br>What is the name of your generic Knoppix Linux Live account?<br>On your Knoppix live OS, there is a '''generic''' user called "'''knoppix'''" that can<br>be accessed <u>without</u> a password. This account has its own home directory.<br><br>Let's test this out by using the ssh command to connect to your Matrix account.<br>Your Knoppix virtual machine uses your host computer's operating system which<br>is already connected to '''Seneca's Global PortalGlobalProtect VPN'''.<br><br><!-- # Issue the following Linux command to '''download''' a Bash Shell script to connect<br>to the '''Seneca Global PortalGlobalProtect VPN''':<br><span style="color:blue;font-weight:bold;font-family:courier;">wget itas.senecacollege.ca/~mark.fernandes/vpn</span><br><br>
# Issue the following Linux command to add execute permissions to be able to run this script:<br><span style="color:blue;font-weight:bold;font-family:courier;">chmod +x vpn</span><br><br>
# Issue the following Linux command to the '''/usr/bin''' directory so this script works like a command:<br><span style="color:blue;font-weight:bold;font-family:courier;">sudo mv vpn /usr/bin</span><br><br>
# Issue the following shell script to connect to the Seneca Global PortalGlobalProtect VPN: <span style="color:blue;font-weight:bold;font-family:courier;">vpn -c</span><br><br>You should be connected to the Seneca Global PortalGlobalProtect VPN. <br>Let's test this out by using the ssh command to connect to your Matrix account.<br><br>
# We need the '''vpn -c''' command to <u>keep</u> running in this terminal; therefore, '''open <u>another</u> Konsole terminal'''.<br><br>
# In that '''<u>new</u>''' terminal, issue the following Linux command to connect to your Matrix account:<br><span style="color:blue;font-weight:bold;font-family:courier;">ssh yourSenecaId@matrix.senecacollege.ca</span><br><br>
# '''Save''' editing changes and '''exit''' the text editor.<br><br>
# Confirm that you created this file and confirm that the contents of this file are correct.<br><br>Let's run a <b>shell script</b> to check that you created the '''myvm.txt''' file (with correct file contents) in your home directory.<br><br>
#Enter the following command: <span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/myscripts~uli101/week7-check-1</span><br><br>
# If you encounter errors, make corrections and then re-run the checking script until you receive<br>a congratulations message, and proceed to the next step.<br><br>
# Issue the following Linux command to '''terminate''' your Matrix session: <span style="color:blue;font-weight:bold;font-family:courier;">exit</span><br><br>
# List '''4 applications''' that are contained in the Knoppix Linux Live distribution.
# Explain the difference between a '''Live Linux distribution''' and an '''installed Linux distribution'''.
 
[[Category:ULI101]]

Navigation menu