Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

83 bytes removed, 14:00, 10 February 2021
INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX
# Allow '''time''' for the Knoppix Linux distribution to start. This is a<br>'''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<br>a Linux Live distribution and you have been assigned a '''generic account'''.<br><br>[[Image:knoppix-desktop.png|thumb|right|380px|The '''Knoppix Linux desktop environment''' has a similar look as the MS Windows desktop environment.<br>(Image licensed under[https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
# On the bottom left-hand side, click on the '''Knoppix start menu'''<br>(similar to the Windows start menu).<br><br>
# In the start menu, select '''System Tools'''<br><br>[[Image:xterm.png|thumb|right|200px|The '''xtermKonsole''' application will display the Bash shell to issue Linux commands.]]# In the system tools menu, scroll down and select to launch the terminal application called '''xtermKonsole'''<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><br>We will try to connect to your Matrix account, but FIRST, we need to perform a couple of steps to first connect to the Seneca Global Portal.<br><br><!-- # Issue the following Linux command to download a Bash Shell script to connect<br>to the '''Seneca Global Portal''':<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 Portal: <span style="color:blue;font-weight:bold;font-family:courier;">vpn -c</span><br><br>You should be connected to the Seneca Global Portal. <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> xterm 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>
# 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 your '''home''' directory.<br><br>
# Use a '''text editor''' to create a file in your current directory called '''data.txt''' and enter the following text displayed below:<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>
#Enter the following command: <span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/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>
# After your checking script is OK, issue the following command to terminate your Matrix session: <span style="color:blue;font-weight:bold;font-family:courier;">exit</span><br><br>
# Close your '''xtermKonsole''' application.<br><br>
# Switch to the Bash shell where the command '''vpn -c''' is running. Press '''ctrl-c''' to stop this program from running.<br><br>
# Close the xterm Konsole window.<br><br>
# Use the ''Knoppix start menu'' to launch a '''web-browser''' and go to the '''Google''' website.<br><br>
# Use the ''Knoppix start menu'' to select '''Office''' and then select '''LibreOffice - Writer''' to launch a word processor application.<br><br>
13,420
edits

Navigation menu