Changes

Jump to: navigation, search

OPS235 Lab 2

101 bytes added, 13:28, 16 September 2018
no edit summary
While you are performing this lab, it is recommended to generally note the major differences in the different installation methods, and which method you prefer to use if you were a Linux system administrator in charge of installing many Linux distributions for an organization.
 
<br><br>
<u>Main Objectives</u>
* Installing additional Virtualization Software on your '''c7host''' machine ('''KVM''')
* '''Create 3 separate VMs (virtual machines) using different installation methods:'''
:* '''centos1''': Network Centos CentOS Installation ('''Graphical'''):* '''centos2''': Network Centos CentOS Installation (minimal install - '''CLI only'''):* '''centos3''': Network Centos CentOS Installation with Kickstart configuration file ('''CLI only''')
* Manipulate virtual machines by CLI ('''virsh''')
* Properly '''backup VM images''' and backup '''VM configuration files'''
{{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>}}
|}
</li><li>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 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 disable and remove firewalld , issue the following commands:<br>
<b><code><span style="color:#3366CC;font-size:1.2em;">systemctl disable firewalld</span></code></b><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;">yum remove firewalld</span></code></b><br>
<br></li>
<li>To install and enable the IPTables services, issue the following commands:<br>
<ol>
<li value="8">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 in the next investigation to perform several different type types of CENTOS CentOS Linux installs.</li>
</ol>
:: '''VM Name (and hostname):''' centos1
:: '''Boot media:''' Network installation
:: '''Centos CentOS Full Network Install URL:'''
:::*Seneca Lab: https://mirror.senecacollege.ca/centos/7/os/x86_64/
:::*Home: http://mirror.netflash.net/centos/7/os/x86_64/
:: '''VM Name (and hostname):''' centos2
:: '''Boot media:''' Network installation
:: '''Centos CentOS Full Network Install URL:'''
:::*Seneca Lab: https://mirror.senecacollege.ca/centos/7/os/x86_64/
:::*Home: http://mirror.netflash.net/centos/7/os/x86_64/
:: '''VM Name (and hostname):''' centos3
:: '''Boot media:''' Network installation
:: '''Centos7 CentOS 7 Full Install Network URL:'''
:::*Seneca Lab: https://mirror.senecacollege.ca/centos/7/os/x86_64/
:::*Home: http://mirror.netflash.net/centos/7/os/x86_64/

Navigation menu