Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - CentOS6

71 bytes added, 19:01, 3 January 2014
no edit summary
{{Admon/caution|Draft Lab|This lab has NOT been released for regular distribution. When the lab is ready to be released, this caution banner will disappear.}}
# Open a web-browser, and open the OPS235 Lab #2 WIKI. '''<br /><br />NOTE:''' You need to enter your "MySeneca" username and password to obtain a "wired" Internet connection (otherwise, you will not be able to perform the yum install command in the next step). Remember to perform a "wired-connection" (logging in with your MySeneca username and password via a web-browser) every time you boot-up your host machine...<br /><br />
# Install the virtualization software (virtualization, libvirt, virt-manager) using <code>yum install virtualization libvirt virt-manager</code> (and reply "y" to all of the prompts)
# The command you issued will install the following software:
:* 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 and the virsh command-line tool.
<ol>
<li value="4">Start the virtualization service: <code>service libvirtd start</code></li>
<li>The firewall configuration is altered by the addition of the virtualization software. Restart the firewall so that these changes become active: <code>service iptables restart</code></li>
</ol>
<ol>
<li value="6">Start the graphical tool by selecting the menu options '''Applications'''>'''System Tools'''>'''Virtual Machine Manager''' or by typing the command <code>virt-manager</code>.</li>
</ol>
{{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.}}
= CentOS Installation Methods (on Virtual Machines: centos1, centos2, centos3) =
=Performing Lab 2=
 == Preparation Preparing the Virtual Machine Manager == # Open a web-browser, and open the OPS235 Lab #2 WIKI. '''<br /><br />NOTE:''' You need to enter your "MySeneca" username and password to obtain a "wired" Internet connection (otherwise, you will not be able to perform the yum install command in the next step). Remember to perform a "wired-connection" (logging in with your MySeneca username and password via a web-browser) every time you boot-up your host machine...<br /><br /># Install the virtualization software (virtualization, libvirt, virt-manager) using <code>yum install virtualization libvirt virt-manager</code> (and reply "y" to all of the prompts)# The command you issued will install the following software::* 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 and the virsh command-line tool.<ol> <li value="4">Start the virtualization service: <code>service libvirtd start</code></li> <li>The firewall configuration is altered by the addition of the virtualization software. Restart the firewall so that these changes become active: <code>service iptables restart</code></li></ol><ol> <li value="6">Start the graphical tool by selecting the menu options '''Applications'''>'''System Tools'''>'''Virtual Machine Manager''' or by typing the command <code>virt-manager</code>.</li></ol> {{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.}} == Using the Virtual Machine Manager == 
{{Admon/tip|Performing this Lab off the Seneca network (eg. at home)|'''It is recommended to perform this lab in one of Seneca College's labs'''. This lab uses servers which are on the Seneca network and which are not available from other locations (such as your home). If you attempt this lab from another location, adjust the belmont.senecac.on.ca URLs to point to another mirror server -- note that you may need to change the directory name as well as the server name. The installation of the '''centos3''' virtual machine <u>must</u> be done at Seneca.}}
13,420
edits