Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7 - SSD

3,509 bytes added, 17:52, 9 June 2016
no edit summary
|}
=INVESTIGATION 1: USING VIRTUALIZATION SOFTWARE TO CREATE VIRTUAL MACHINES=
=INVESTIGATION ==Part 1:CREATE OTHER VIRTUAL MACHINES (INSTALL COMPARISON)===Virtualization Application Setup / Comparison Chart=== [[Image:lab2-logbook.png|thumb|right|200px|'''comparison chart''' in lab2 logbook.]]
'''Record VM Installation in Lab2 (Installation Comparison Chart):'''
You will be learning to perform several different type of CENTOS Linux installs. Lab2 already has a '''comparison chart''' an empty table for comparing various Linux installs. You were required in lab1 to record your observation for your '''centos1c7host''' installation. 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.  '''Complete the following steps to install and run the virtual manager application:'''  # Open a web-browser, and open the OPS235 Lab #2 WIKI.# Open a shell terminal.<br><br>'''WARNING:''' You must perform a '''yum update''' on your '''c7host''' machine before proceeding with the next steps.<br><br># You will need to download an image file for the Centos7 LIVE DVD by issuing the following command (best works while at Seneca):<br><b><code><span style="color:#3366CC;font-size:1.2em;">wget http://belmont.senecac.on.ca/centos/7/isos/x86_64/CentOS-7-x86_64-LiveGNOME-1511.iso</span></code></b><br><br># Install the virtualization software by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python \<br>python-virtinst libvirt-client virt-install virt-viewer bridge-utils</span></code></b> <br><br> {{Admon/important|Restart your Host Machine|You must restart your '''c7host''' machine after installing the virtualization program above. If you fail to do this, you may experience virtualization network problems!}}  ::This will install many applications (including)::::* '''kvm/qemu''' - the hypervisor and other hardware emulation systems.:::* A system service named '''libvirtd''' that manages the VMs.:::* A graphical tool for managing virtual machines ('''virt-manager''') and the '''virsh''' command-line tool.<br><br><ol> <li value="5">Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">service libvirtd start</span></code></b></li> <li>The firewall configuration is altered by the addition of the virtualization software. Centos7 uses firewalld for firewall, but we will be switching back to using iptables. Issue the following series of command to install iptables and restart the firewall:<br><br> <b><code><span style="color:#3366CC;font-size:1.2em;">systemctl stop firewalld</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl mask firewalld</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">yum install iptables-services</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl enable iptables</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl start iptables</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">service iptables save</span></code></b><br><br></li></ol>{| width="40%" align="right" cellpadding="10"|- valign="top"|colspan="2"|{{Admon/important|Run virt-manager as a regular user, not as root|Otherwise all your virtual machines will be owned by root and you won't be able to use them as a regular user.}}
|}<ol> <li value="7">Start the graphical tool by selecting the menu options '''Applications'''>'''System Tools'''>'''Virtual Machine Manager''' or by typing the command<b><code><span style="color:#3366CC;font-size:1.2em;"> virt-manager</span></code></b></li><li>You will be learning to perform several different type of CENTOS Linux installs. Lab2 has a '''comparison chart''' for comparing various Linux installs. You were required in lab1 to record your observation for your '''centos1''' installation.</li><li>As you proceed throughout this lab, you will be required to fill in the comparison chart for the remaining 3 virtual machines that you will be installing.</li></ol>
=== Part 12: Installing from a Downloaded Image (Centos7 LIVE CD) ===
{| width="40%" align="right" cellpadding="10"
|- valign="top"
13,420
edits

Navigation menu