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/_Archive/Lab11/ |
Upload File : |
<? // JimMartinson/CST2608/Lab11/Lab11.phpinc $thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc'); $thisFile=__FILE__; $thisLine=__LINE__; include('../classInfo.phpinc'); $assignmentNumber = 11; $assignmentType = "Lab"; $assignmentTitle = "Install Ubuntu 11.04 Server"; $evaluationType = "Lab"; $evaluationTitle = $assignmentTitle; if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; $evaluationName = $evaluationType."0".$assignmentNumber; } else { $assignmentName = $assignmentType.$assignmentNumber; $evaluationName = $evaluationType.$assignmentNumber; } if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle; $title = $assignmentType." ".$assignmentNumber.": ".$assignmentTitle; $headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title; $pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title; $pageMenu = 'Course/courseMenu.phpinc'; $smallTitle = true; $js='openCenteredWindow'; #$displayHeader = false; $thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc'); $sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title; $thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc'); $userFullName = str_replace(" ","",$_SESSION['userFullName']); include('JimMartinson/CST2608/Usettings.phpinc'); ?> <p> <fieldset><legend>Description</legend> Install Ubuntu 11.04 server and begin to become familiar with the server. <br><a href="https://help.ubuntu.com/11.04/serverguide/C/installation.html">Ubuntu Documentation > Ubuntu 11.04 > Ubuntu Server Guide > Installation</a> </fieldset> <fieldset><legend>Lab Instruction</legend> <ol start="1"> <li>Install Ubuntu 11.04 Server. <ol type="a"> <li>Download the <a href="../dn/Ubuntu/ubuntu-11.04-server-i386.iso">Ubuntu 11.04 server iso image <span style="white-space:nowrap;">(ubuntu-11.04-server-i386.iso)</span></a>. <br>NOTE: If your system has an AMD64 processor, download the <a href="../dn/Ubuntu/ubuntu-11.04-server-amd64.iso">Ubuntu 11.04 server iso image for AMD64 processors <span style="white-space:nowrap;">(ubuntu-11.04-server-amd64.iso)</span></a> instead.</li> <li>Create a new Linux Virtual Machine. <a href="Recordings/CST2608_Lab11_Create_VM.htm">View Create a new Linux Virtual Machine</a>. <br>Either create a CD using the Ubuntu Linux 11.04 server iso image</a> or mount the image in VMware when creating the VM. <br>You must create a user named <b><?=$Uusername?></b>. <br>The name of your server must be <b><?=$Uservername?></b>. </li> <li>Make sure that the VMware DHCP server is running. <a href="Recordings/CST2608_Lab11_Check_VMware_DHCP.htm">View Make sure that the VMware DHCP server is running</a>. </li> <li>Install Ubuntu 11.04 server in my VM. <a href="Recordings/CST2608_Lab11_Install_Ubuntu_11.04.htm">View Install Ubuntu 11.04 server in my VM</a>. </li> <li>Install ubuntu-desktop. <a href="Recordings/CST2608_Lab11_Install_Desktop.htm">View Install ubuntu-desktop</a>. <ol type="a"> <li>Update the server with the command: <br /><kbd>sudo apt-get update</kbd> <li>Install the desktop with the command: <br /><kbd>sudo apt-get install ubuntu-desktop</kbd> </li> </ol> </li> <li>Install VMware Tools. This will greatly help with turning in your assignments. I used the open-vm-tools instead of the VM package. <a href="Recordings/CST2608_Lab11_Install_VMware_Tools.htm">View Install VMware Tools</a>. <br>I did this with <tt>System, Administration, Synaptic Package Manager</tt>. Then I filtered for <tt>open-vm-tools</tt> and installed them. <br> <table> <tr> <td>NOTE:</td> <td class="right">If you see this prompt:</td> <td style="padding-left:5px; padding-right:5px;"><img src="enable-sudo-mode/EnterTheAdministrativePassword.png" alt="Enter the administrative password"></td> <td>for <tt>Synaptic Package Manager</tt> then your need to <a href="enable-sudo-mode/index.php">Enable sudo-mode</a>.</td> </tr> </table> </li> <li>In order to make sure or change the name of your Ubuntu 11.04 server you will have to edit the /etc/hostname and /etc/hosts files and make sure the name of your server (<b><?=$Uservername?></b>) is in them. You can do this with: <br><kbd>sudo pico /etc/hostname</kbd> and <kbd>sudo pico /etc/hosts</kbd>. <br>In the hosts file you need to add your <br>I waited until after I had installed the ubuntu-desktop and then edited the files manually with the commands: <br><kbd>sudo gedit /etc/hostname</kbd> and <kbd>sudo gedit /etc/hosts</kbd>. <!-- <br>Or I could have installed the Gnome network admin utility after installing ubuntu-desktop with: <br><kbd>sudo apt-get install gnome-network-admin</kbd> and run it to make the changes. --> </li> </ol> </li> <li> From the terminal window, enter the following commands:<br /> <pre class="kbd">clear uname -a cat /etc/lsb-release sudo dhclient cat /var/lib/dhcp/dhclient.leases|grep "fixed-address"</pre> </li> <li> Take a screenshot of the Terminal window and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFullName?>.png</b>. <br />I require the image to be in .png format. <a href="files/CST2608-Lab11a-JimMartinson.png" alt="View an example screenshot">View an example screenshot</a>. </li> <li>Install the Ubuntu desktop. </li> <li> Restart your server and take a screenshot of the login screen and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFullName?>.png</b>. <br />I require the image to be in .png format. <a href="files/CST2608-Lab11b-JimMartinson.png" alt="View an example screenshot">View an example screenshot</a>. </li> <li> <a href="mailto:jim.martinson@ridgewater.edu?subject=<?=$courseNumber?> <?=$evaluationName?> Submission">Send an email</a> to jim.martinson@ridgewater.edu with a subject of <b style="white-space:nowrap"><?=$courseNumber?> <?=$evaluationName?> Submission</b> and attach the following files: <ol type="a"> <li><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFullName?>.png <a href="files/CST2608-Lab11a-JimMartinson.png" alt="View an example screenshot">View an example screenshot</a>.</li> <li><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFullName?>.png <a href="files/CST2608-Lab11b-JimMartinson.png" alt="View an example screenshot">View an example screenshot</a>.</li> <li>/var/lib/dhcp/dhclient.leases <a href="files/dhclient.leases" alt="View an example dhclient.leases file">View an example dhclient.leases file</a>.</li> <li>/etc/hostname <a href="files/hostname" alt="View an example hostname file">View an example hostname file</a>.</li> <li>/etc/hosts <a href="files/hosts" alt="View an example hosts file">View an example hosts file</a>.</li> </ol> </li> </ol> </fieldset> <fieldset class="pio"><legend>Grading Criteria</legend> Demonstrated assignment effectively: 10 points. <br /> There are some things I expect. If they are incorrect you will lose the following: <br /> Incorrect attachment file name: -1 pt. <br /> Work submitted incorrectly: -1pt. <br /> Incorrect subject in email: -1pt. <br /> Second and subsequent submission of work for grading: -1pt. <br /> Work submitted late: -1pt. </fieldset> <fieldset class="pio"><legend>Objectives</legend> <ol class="obj pio" start="3"> <!-- 1 3 --> <li>Install Linux server.</li> </ol> </fieldset> <!-- <code>code</code> <samp>samp</samp> <entry>entry</entry> <tt>tt</tt> <kbd>kbd</kbd> --> <? $thisFile=__FILE__; $thisLine=__LINE__; include('../ReferencesResources.phpinc'); $thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc'); #setDebugOn(); $thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc'); ?>