13,420
edits
Changes
no edit summary
===Purpose of Lab 1===
In order to save money and resources when learning to install, to manage, and to connect Linux machines to form networks, we will be using '''Virtual Machines''' for this course. In fact, we will be using two virtual machine programs:
:*'''lab1:''' Create a Centos7 Host virtual machine ('''c7host''') in the virtual program called<br> '''VMware Workstation''' (this host will be stored on your Solid State External Drive (SSD).
:*'''Lab2:''' Install a Virtual package on your host VM called '''KVM''' which will be used to create 3 remaining virtual Virtual Machines (VMs) that will be used to learn about Linux system administration for the remainder of this course.
It is ESSENTIAL to have a '''Solid State Drive (SSD) with a minimum storage capacity of 240 GB''' to perform your lab sessions and provide a host for your other Centos7 host and other VMs that you will create in lab2. '''Due to space requirements, you are <u>NOT</u> permitted to share this SSD drive with any other course material than this our OPS235 course'''.
===Part 1: Using VMware Workstation 12 Pro to Create a New Virtual Machine (VM) ===
'''<u>c7host VM Details:</u>'''
:'''Perform the Following Steps:'''
{{Admon/important|Enabling Virtualization on your Home Computer|If you are going to try this lab on your home computer, there are a few things you need to be aware:<br><br><ul><li>'''RAM Size considerations:''' Your Seneca Lab Workstations have '''16GB''' of RAM. Your home computer should have a <u>sufficient amount of RAM </u> in order to function efficiently.<br><br></li><li>'''Enable Virtualization in home computer's BIOS:''' Most home computers do not have Virtualization enabled on their computer's BIOS. In your machines BIOS/UEFI: Enable the options VT-X(required) and VT-D(only if available)</li></ul>}}
# Create a folder called: '''Virtual Machines''' on your SSD device.
# On your Seneca computer lab workstation, click the '''Windows Menu''' button and type '''VMware'''.
# There are two VMware products: '''VMware Workstation 12 Pro''' and ''VMware Player''.Only run # Run the '''VMware Workstation 12 Pro''' application(do '''<u>NOT</u>''' run VMware Player!).
# <span style="background-color:yellow;">In your VMware Workstation application window, click the '''Edit''' menu, then select '''Preferences'''. Under the '''Default Location For Virtual Machines''', enter the pathname for the newly created folder in your SSD device and click '''OK'''</span>.
# Click on the item labelled '''Create a New Virtual Machine'''.<br><br>'''NOTE:''' We will just be creating a "shell" for the VM the contain our Centos7 Linux operating system.<br>This will allow us to configure the VM properly so it will boot-up properly in our Seneca labs.<br><br>
# Click '''Next''' to accept the default number of processors.
# In the following screen, change the Memory from ''1GB'' to '''2GB''' (i.e. '''2048 MB''') and click '''Next'''.
# Click '''Next''' to accept the default (i.e. '''NAT''') for the network type.# Click '''Next''' to accept the default (i.e. '''LSI Logic''') for the SCSI Controller type.# Click '''Next''' to accept the default (i.e. '''SCSI ''' for the virtual disk type).
# Click '''Next''' to accept ''Create New Virtual Disk''.
# Change the Maximum Disk Size from ''20GB'' to '''238GB''' and click '''Next'''.
# Accept the default Disk File name (i.e. c7host.vmdk) and click '''Next'''.
# Quickly review your VM settings in the final setup wizard dialog box and click '''Finish'''.
# Double-click on your c7host machine under My Computer. You should now see a detailed screen for that your '''c7host''' VM on the right-hand side.
# In the right window pane, click the '''Edit virtual machine settings'''.
# <span style="background-color:yellow">In this setup dialog box, click the '''options''' tab and then click the '''Advanced''' option at the bottom of the list. On the right-hand side, '''click'''the checkbox to enable the option to '''Boot with EFI instead of BIOS'''. Then click on the '''Hardware''' tab, and then select the '''CD/DV (IDE)''' device and select in the right-side select the radio button for the '''use ISO I<u>m</u>age Image file'''. Click the '''Browse''' button and specify the path of your downloaded Centos7 Full install DVD (most likely file is contained in your Downloads folder). Click '''Processors''', and click the check-box to <u>enable</u> '''Virtual Intel VT-X/EPT'''. When finished, click on the '''OK''' button</span>.
# You will return to your c7host VM. Click '''Power on this virtual machine''' icon near the top to boot your c7host VM to start your c7host VM, and proceed to Part 2.
# Study the Linux commands and their purpose to note computer software information for your installed c7hostVM. You should take time to issue each of these commands to view the output, and record this chart in your lab1 logbook.<br><br>
# Login to your c7hostVM, open a Bash Shell terminal, and login as root by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">su -</span></code></b><br><br>
# Make certain to '''<u>record output </u>''' from these commands (except for the '''ps -ef''' output) in your lab1 logbook.