Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7 - SSD

162 bytes removed, 08:25, 19 June 2016
no edit summary
* '''Installing Virtualization Software''' on your '''c7host''' machine
* '''Create 3 separate VMs (virtual machines) using different installation methods:'''
:* Centos Live DVD (with Install to Harddisk programoption)
:* Network Centos Installation without configuration file
:* Network Centos Installation with configuration file (Kickstart)
===Part 1: Virtualization Application Setup / Comparison Chart===
You will be learning to perform several different type of CENTOS Linux installs. Lab2 already has an empty table for comparing various Linux installs. You In lab1, you were required in lab1 to record your observation for c7host installation observations in the comparison chart contained in your lab2 log-book. Use this comparison chart to complete your '''c7host''' installationobservations for the other 3 VMs that you install in this lab.
As you proceed throughout this lab, you will be required to fill in the comparison chart for three of the VMs (virtual machines) that you will be installing.
'''Perform the following steps:'''
# Make certain you used the wget command to download the LiveGNOME iso file from the Belmont server (from previous instructions).
# In the Virtual Machine Manger, click on the icon to ''Create a Virtual Machine'' in the upper-left corner:
# A window will appear with the title ''New VM''. There are five steps to be completed; click Forward after each step:# '''Step 1 of 5:'<ol type="a"><li>''Select '''Local install media''' and click '''Forward'''.# '''Step 2 of 5:''' </li><li>Select '''Use ISO Image''', click the '''Browse''' button, and then the '''Browse Local''' button. Navigate to the location of the downloaded Centos7 LIVE CD image, select the image file and click '''Open'''. When finished, click Forward to proceed.# '''Step 3 of 5:</li><li>''' Set the memory to '''2048 MB''' and the number of CPUs to '''1'''</li></ol>
[[Image:vm-path.png|thumb|right|300px|When installing your centos1 VM from the Gnome Live iso, the Linux system will boot graphically, You are then required to double-click the icon called: '''Install to Hard Drive'''.]]
<oltype="a"><li value="74">'''Step 4 of 5:''' This next step creates a disk file that will be used to simulate the virtual machine's disk drive. Select a size of '''10 GB''' and then click '''Forward''' to proceed.</li><li>'''Step 5 of 5:''' Enter the virtual machine name: '''centos1'''. Review the VM information, and click '''Finish'''.<br><br></li></ol></li><li>'''The virtual machine will now start''' - start timing your installation and making notes for '''centos1''' virtual machine in the installation comparison chart in lab2 logbook. The virtual machine is running from the live disc at this point, and no software has been installed on the ''hard drive'' of the virtual machine. The point of a live disk is to allow you to test the distribution to see whether you like it without installing to the hard-drive first.</li><li>Double-click '''Install to Hard Drive'''. The installation program, similar to the one used when installing CentOS in Lab 1, will appear. You basically perform the same installation operations for this VM including for '''Date & Time''', '''Network & Hostname''', and '''Installation Destination'''. Make certain to use the '''hostname''': '''<u>centos1</u>''' as opposed to ''c7host'') for this installation. (with a few slight differences).</li><li>For '''Installation Destination''', select the destination option: '''I will configure partitioning''' and then click '''Done'''. Make certain that the '''Partition Scheme''' is set to '''LVM''' and then click on the link: '''Click to Create Automatically'''. '''Done'''. Check to make certain that the root partition has file system type: '''ext4'''.</li><li>Accept the changes and then click '''Begin Installation'''.<ol type="a"><li>You will be required to make selections very similar to what you did in lab1.</li><li>While the system is installing, take a few minutes to record your observations (including slight differences with centos1 install as opposed to c7host install).</li><li>When the installation process is complete, note the time required to install this system and record in the installation comparison chart of your lab2 logbook.<br><br></li></ol></li><li>Power-off your Centos7 LIVE system.</li><li>You should notice that the Centos7 boot menu appears. Either press '''ENTER''' to start or wait for it to start automatically.</li><li>Finish the final steps in the setup process (like you did in lab1).</li><li>#You may want to turn off the screen-saver (like you did in Lab1): [http://zenit.senecac.on.ca/wiki/index.php/OPS235_Lab_1_-_CentOS7#Customizing_Your_Account How to Turn-off Screen Saver (lab1)]</li>
<li>Enable SSH access to your virtual machine with these commands (semi-colon allows commands to be run in sequence):<br /> <b><code><span style="color:#3366CC;font-size:1.2em;">service sshd start; chkconfig sshd on</span></code></b></li>
<li>Find out the IP address of your virtual machine and the name of your Ethernet network adaptor: <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b> </li>
13,420
edits

Navigation menu