Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7 - VMware

102 bytes removed, 16:39, 8 June 2016
no edit summary
Make certain to record your observations of this install in the comparison chart for '''centos1''' in your '''lab2 logbook'''.
===Part 1: Using VMware Workstation 12 to Create a New Virtual Machine (VM) ===
'''<u>centos1 VM Details:</u>'''
===Part 2: Install Centos on your Newly-Created VM ===
The next step is to perform a custom installation for your Centos7 virtual machine using the Centos7 Full DVD. Upon creation of your centos1 virtual machine, The VMware Workstation application will automatically simulate a "boot" to allow you to complete the installation process to create the Centos7 operating system on that virtual machine.
=== Part 3: Completing the Installation ===
{|width="40%" align="right" cellpadding="10"
#Open a web-browser and check to see if you can connect to the Internet.
 
=== Part 4: Backing up Virtual Machines to a USB Key ===
{{Admon/caution|VMs MUST be Backed up to USB key before Leaving Seneca Labs|It is absolutely essential that you backup your virtual machine image to USB key after completing your virtual machine session at Seneca Labs, or you will lose your work! Make certain to PROPERLY follow the instructions to copy and archive the required files to your USB key as opposed to using your USB key directly, which can cause problems.}}
 
As mentioned above, you need to backup your VM image files for ALL of your virtual machines that you create in Seneca's computer labs via a USB key to restore and continue your virtual machine sessions in future lab sessions. You can also move a virtual machine created in a host to another host for VM Workstation. For example, you can move saved image files to your home computer to complete labs, etc. Students can download the license key for VM Workstation 12 - refer to the following link for details: [ link ]
 
'''Backing Up VM to a USB Key:'''
 
'''Perform the following Steps:'''
 
#Shut down your centos1 VM.
#Determine the location that contains your centos1 virtual machine files. Here are some common locations for various Operating Systems:
 
 
<table cellspacing="0" cellpadding="5" width="55%" style="border-top: thin solid black;margin-left:45px;">
<tr valign="top>
 
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''Operating System (Platform)'''</td>
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''VM Directory Pathname'''</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Windows</td>
<td style="border-bottom: thin solid black;">C:\Users\username\My Documents\My Virtual Machines\</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Linux</td>
<td style="border-bottom: thin solid black;">/home/userid/vmware</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Mac OS/X</td>
<td style="border-bottom: thin solid black;"></td>
</tr>
 
</table>
 
 
[[Image:moved.png|thumb|right|300px|When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.]]
<ol>
<li value="2">Create a zipped archive of the '''centos1.vmx''' file located in the '''centos1''' VM directory.</li>
<li>Copy the zipped archive to your USB key.</li>
</ol>
 
'''Restoring a VM from a USB Key:'''
 
:Perform the following Steps:
 
<ol>
<li>To move work to your computer system running VMware Workstation, copy the archived file from your USB key to the appropriate VM storage location.</li>
<li>Restore the archived file</li>
<li>Launch the other VMware Workstation.</li>
<li>Select '''File''' -> '''Open''' -> '''Browse''' to select the VM image in the centos1 subdirectory and a file labeled: '''centos1.vmx'''</li>
<li>When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.<br><br></li>
<li>Proceed to Investigation 2 to obtain basic information from your newly installed centos1 virtual machine.</li>
</ol>
First, we will focus on using the virtual machine and become familiar with some command VM operations such as switching between the full-screen and window modes. We will also learn to turn-off the screen-saver settings so you do NOT have to periodically re-issue passwords to gain access to your account (although it is a good security feature to consider in the future beyond this lab). We will also show you how to temporarily log in as the root user in order to perform tasks that require a Linux administrator.
===Part 1: Managing your Virtual Machine===
===VMware Workstation Toolbar===
# Edit the file '''/etc/selinux/config'''
# In the editing session, set SELINUX to '''disable<u>d</u>''' (from ''targeted'') and save your editing session.
 
 
==Part 2: Final Steps==
 
=== Backing up Virtual Machines to a USB Key ===
{{Admon/caution|VMs MUST be Backed up to USB key before Leaving Seneca Labs|It is absolutely essential that you backup your virtual machine image to USB key after completing your virtual machine session at Seneca Labs, or you will lose your work! Make certain to PROPERLY follow the instructions to copy and archive the required files to your USB key as opposed to using your USB key directly, which can cause problems.}}
 
As mentioned above, you need to backup your VM image files for ALL of your virtual machines that you create in Seneca's computer labs via a USB key to restore and continue your virtual machine sessions in future lab sessions. You can also move a virtual machine created in a host to another host for VM Workstation. For example, you can move saved image files to your home computer to complete labs, etc. Students can download the license key for VM Workstation 12 - refer to the following link for details: [ link ]
 
'''Backing Up VM to a USB Key:'''
 
'''Perform the following Steps:'''
 
#Shut down your centos1 VM.
#Determine the location that contains your centos1 virtual machine files. Here are some common locations for various Operating Systems:
 
 
<table cellspacing="0" cellpadding="5" width="55%" style="border-top: thin solid black;margin-left:45px;">
<tr valign="top>
 
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''Operating System (Platform)'''</td>
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''VM Directory Pathname'''</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Windows</td>
<td style="border-bottom: thin solid black;">C:\Users\username\My Documents\My Virtual Machines\</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Linux</td>
<td style="border-bottom: thin solid black;">/home/userid/vmware</td>
</tr>
<tr valign="top">
<td width="30%" style="border-bottom: thin solid black;">Mac OS/X</td>
<td style="border-bottom: thin solid black;"></td>
</tr>
 
</table>
 
 
[[Image:moved.png|thumb|right|300px|When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.]]
<ol>
<li value="2">Create a zipped archive of the '''centos1.vmx''' file located in the '''centos1''' VM directory.</li>
<li>Copy the zipped archive to your USB key.</li>
</ol>
 
'''Restoring a VM from a USB Key:'''
 
:Perform the following Steps:
 
<ol>
<li>To move work to your computer system running VMware Workstation, copy the archived file from your USB key to the appropriate VM storage location.</li>
<li>Restore the archived file</li>
<li>Launch the other VMware Workstation.</li>
<li>Select '''File''' -> '''Open''' -> '''Browse''' to select the VM image in the centos1 subdirectory and a file labeled: '''centos1.vmx'''</li>
<li>When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.<br><br></li>
<li>Proceed to Investigation 2 to obtain basic information from your newly installed centos1 virtual machine.</li>
</ol>
 
 
'''Answer Investigation 2 observations (all parts and questions) in your lab log book.'''
13,420
edits

Navigation menu