Changes

Jump to: navigation, search

OPS235 Lab 2

355 bytes added, 08:42, 18 January 2017
no edit summary
# Log into your c7host machine, and switch to root user.
# perform a software update on your '''c7host''' VM by issuing the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">yum update</span></code></b>
# {{Admon/important |Yum Update Hangs|If you experience yum update "hanging" around item 689 of over 1200 packages, issue the following commands:<br><source>pkill systemctlyum clean allyum update</source>'''NOTE:''' Do NOT press '''&lt;ctrl&gt;c''' since it may cause your machine to cause a kernel panic when you restart your machine.}} <ol><li value="3">As root, 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></li># <li>'''Restart your c7host virtual machine'''. If you fail to do this, you may experience virtualization network problems.
{| width="40%" align="right" cellpadding="10"
|- valign="top"
{{Admon/note|About KVM|There are actually several key programs installed for virtualization using KVM:<ul><li>'''kvm/qemu''' - the hypervisor and other hardware emulation systems.</li><li>A system service named '''libvirtd''' that manages the VMs.</li><li>A graphical tool for managing virtual machines ('''virt-manager''') and the '''virsh''' command-line tool.</li></ul>}}
|}
<ol/li><li value="5">Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">systemctl start libvirtd</span></code></b><br><br>'''NOTE:''' The most recent variants of Centos and Fedora are using a service called '''firewalld''' that is intended to replace '''iptables''', however the ''iptables'' service is still in relatively common usage. In this course we will concentrate on ''iptables''.<br><br></li>
<li>To Disable firewalld issue the following commands:<br>
<b><code><span style="color:#3366CC;font-size:1.2em;">systemctl disable firewalld</span></code></b><br>
13,420
edits

Navigation menu