Changes

Jump to: navigation, search
INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX
=INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX=
<span style="color:red;">'''ATTENTION''': Depending on your ULI101 instructor, you may be required to complete this This tutorial for '''marks''' in the course.<br>Please refer relates to your instructor's course notes or lectures to refer to evaluation for this course.<br><br>This is an OPTIONAL assignment, but interest topic and is NOT worth a '''bonus mark''' of 1% if successfully completed by the student.<br><br>The due date for successfully completing this tutorial (i.e. '''tutorial 7''') is by '''Friday by midnight''' next week (i.e. '''Week 12''').<br>If your instructor has NOT assigned marks for completing this tutorial, you can perform it for practice.</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.
# Launch the '''Knoppix''' Linux distribution by clicking the '''Launch''' button.<br><br>''''''NOTE:'''''' Your '''file manager''' will open and display both the '''Knoppix virtual machine icon''' and a '''Knoppix Installation ISO file'''. You will be launching the Knoppix Virtual machine in the '''Virtualbox''' application.<br><br>
# '''Double-click''' on the icon Knoppix.vbox in the Virtualbox menu.<br><br>
# Another dialog box will appear. '''Double-click''' on the '''Switch''' button when prompted to enter '''scale mode'''or '''Switch''' to scale mode.<br><br>'''NOTE:''' You should notice that you can switch between your Knoppix VM and your Windows computer which is referred to as the '''host machine'''.<br><br>
-->
# Open a '''File Manager''' application and '''navigate''' to directory that the '''Knoppix.zip''' file<br>was downloaded (eg. '''Downloads''').<br><br>[[Image:knoppix-file.png|thumb|right|280px|Knoppix VM file contained in the zipped file. '''Double-click''' '''Knoppix.vbox''' file to launch the '''Knoppix Live Linux''' Distribution.]]
# '''Unzip''' the downloaded zip file (In MS Windows: ''Right click'' and Select "''Extract All''" )<br><br>'''NOTE:''' The contents of this zipped file should appear in another file manager window.<br><br>
# Navigate to the folder containing the ''extracted zipped files'' and '''double-click''' the file called '''Knoppix.vbox''' to launch the Knoppix VM.<br><br>'''NOTE:''' By '''double-clicking''' on this file (even if the VirtualBox application is not running)<br>it will launch the VirtualBox application and start the Knoppix virtual machine.<br><br>'''For Mac Users:''' If you experience an error message regarding the Kernel extension,<br>click on '''System Preferences''', select '''Security and Privacy'''<br>and click to '''allow Oracle''' service extensions to run on your machine.<br><br>If you have difficulty running Knoppix on your home machine/laptop you may ask your <br>'''Learning Centre ULG leaders''' for additional help in troubleshooting why Knoppix<br>is not working on your home machine/laptop.<br><br><table align="right"><tr valign="top"><td>[[Image:knoppix-start-menu.png|thumb|right|150px|'''Knoppix Start button''' (icon on the '''left''').]]</td><td>[[Image:knoppix-desktop.png|thumb|right|280px|The '''Knoppix Linux desktop environment''' has a similar look as the MS Windows desktop environment. (Image licensed under[https://creativecommons.org/licenses/by-sa/3.0/ cc])]]</td></table># If you are using MS Windows, look in the taskbar below to see if the Virtual Box application is running click to display that application window.<br><br># Click on the Start button (looks like a green arrow pointing to the right).<br><br># If prompted, '''click''' '''Scale''' or '''Switch''' to scale mode to proceed.<br><br># If using ''MS Windows'', click the mouse on the Knoppix screen and press '''ENTER''' to login.<br><br># Allow '''time''' for the Knoppix Linux distribution to start. This is a '''graphical Linux distribution''' which will start-up in a desktop environment.<br><br>'''NOTE:''' You are '''NOT''' prompted for a ''username'' and ''password'' because this is a Linux Live distribution and you have been assigned a '''generic account'''.<br><br>'''NOTE:''' If you are using MS Windows, press the '''RIGHT CTRL''' key to change to other applications by pressing '''ALT-TAB'''.<br>When you want to use Graphical Linux (i.e. Knoppix screen), click in the screen to focus and use that screen.<br><br>
# '''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 GlobalProtect VPN'''.<br><br>
<!-- # Issue the following Linux command to '''download''' a Bash Shell script to connect<br>to the '''Seneca GlobalProtect VPN''':<br><span style="color:blue;font-weight:bold;font-family:courier;">wget itas.senecacollege.ca/~mark.fernandes/vpn</span><br><br>
# When prompted, enter your '''password''' (remember that password does not "echo-back").<br><br>Were you able to connect to your Matrix account?<br><br>
# Confirm that you are in <u>your</u> '''home''' directory on your Matrix account.<br><br>
# Use a '''text editor''' (''nano'' or ''vi'') to create a file in your current directory called '''myvm.txt'''<br>and enter the following text displayed below. Make certain there are ONLY 3 lines:<br><br><span style="font-family:courier;font-weight:bold">This is line 1<br>This is line 2<br>This is line 3</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>
# Use the ''Knoppix start menu'' to '''launch''' a '''<u>graphical</u> file manager'''<br>('''Hint:''' ''Accessories'' -&gt; ''Files'').<br><br>
# In the file manager, search for your word processing document file and your downloaded shell script that were contained on your home directory.<br><br>Does your word processing document or your downloaded shell script exist?<br>If not, why?<br><br>[[Image:frozen-bubble.png|thumb|right|200px|The '''Frozen-Bubble''' arcade game.]]
# Open the ''Knoppix start menu'', select '''games''' and try running a few games<br>(a few recommendations are: '''Frozen Bubble''', and '''Extreme Tux Racer''' and '''Open Arena''').<br><br>Now that you have had an opportunity to use your Knoppix Linux Live distribution,<br>let's shutdown the VM and move onto the practice questions at the bottom of this tutorial.<br><br>
# Open the ''Knoppix start menu'' and select '''logout''' and '''shutdown''' to end your Knoppix Live session.<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]]
13,420
edits

Navigation menu