Open main menu

CDOT Wiki β

Changes

no edit summary
{{Admon/caution|DO NOT USE THIS VERSION OF THE COURSE. This page will no longer be updated.|'''New version here:''' https://seneca-ictoer.github.io/ULI101/B-ExtraResources/interest-topic}}
=INSTALLING LINUX / LIVE LINUX / VIRTUALIZATION=
<br>
|- valign="top" style="padding-left:15px;"
|colspan="2" |Course Notes:<ul><li>[https://ictwiki.cdot.senecacollege.ca/~murray.saululi101/uli101slides/ULI101-Week77.1.pdf PDF] | [https://ictwiki.cdot.senecacollege.ca/~murray.saululi101/uli101slides/ULI101-Week77.1.pptx PPTX]</li></ul>
| style="padding-left:15px;" |Installing Linux
# Issue the following shell script to connect to the Seneca GlobalProtect VPN: <span style="color:blue;font-weight:bold;font-family:courier;">vpn -c</span><br><br>You should be connected to the Seneca GlobalProtect 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 yourSenecaIdYourSenecaUsername@matrix.senecacollege.ca</span><br><br>
# Enter '''yes''' to share your ''public key''.<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>
-->
# Issue the following Linux command to connect to your Matrix account:<br><span style="color:blue;font-weight:bold;font-family:courier;">ssh yourSenecaIdYourSenecaUsername@matrix.senecacollege.ca</span><br><br>
# Enter '''yes''' to share your ''public key''.<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>
# Make certain that you are running your Ubuntu Linux Live virtual Machine<br>(refer to '''step #7''' in [https://wiki.cdot.senecacollege.ca/wiki/Interest_Topic:_Graphical_Linux_via_a_Virtual_Machine_(VM)#INVESTIGATION_1:_BOOTING_UBUNTU_.28LIVE_LINUX.29_VIA_VIRTUALBOX] )<br><br>Although you will be learning to create and run '''shell scripts''' (near the end of this course)<br>in your '''Matrix''' server , those scripts will only run in a '''command-line''' environment.<br><br>Since you are running a '''<u>graphical</u> Knoppix''' Linux distribution on your computer,<br>you can run scripts graphically (including the use of '''dialog boxes''' for ''input'', ''output'', etc.).<br><br>[[Image:input-dialog.png|thumb|right|250px|Graphical '''input dialog box'''.]]
# Make certain that you are in a '''Terminal''' ''terminal window''<br>(but '''NOT''' connected to your Matrix account).<br><br>
# Issue the following command to '''download''' a shell script called '''week7-demo-1''' from the Internet:<br><span style="color:blue;font-weight:bold;font-family:courier;">wget <nowiki>https://matrixwiki.cdot.senecacollege.ca/~jason.carmanuli101/tutorialsfiles/week7-demo-1</nowiki></span><br><br>
# Issue the '''ls''' command to confirm that the file called '''week7-demo-1'''<br>has been downloaded to your current directory.<br><br>
# Issue the following to run this shell script:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash week7-demo-1</span><br><br>
simulate a quiz:
https://ictwiki.cdot.senecacollege.ca/~murray.saululi101/uli101files/uli101_week7_practice.docx
Your instructor may take-up these questions during class. It is up to the student to attend classes in order to obtain the answers to the following questions. Your instructor will NOT provide these answers in any other form (eg. e-mail, etc).