Changes

Jump to: navigation, search

OPS635-prelab

62 bytes added, 17:45, 7 January 2020
m
Investigation 3: Virtual Network & Machine Installation
===Pre-Requisites===
None. <br>
This will start with a brand-new installation of CentOS 7 on your drive. You may not re-use an installation from previous semesters.
===Materials===
*One installation medium. Either a DVD or USB flash drive configured as an installation disc.
==Investigation 1: Host Installation==
Install CentOS 7 Directly directly on your drive following the guidelines below.:*Networking Should should be on.*Set the hostname of the machine to be ''host.<domainname>.ops''. Check blackboard for your assigned domain name.*Set the timezone to '''Americas/Toronto'''*Select '''Server with GUI ''' as the installation type.
*The partition setup will be similar to what you had in previous OPS courses.
◦ Delete any old partitions on the drive.
◦ Provide a separate mount point for '''/var/lib/libvirt/images '' with at least 100GB.
*Set a good root password. No, not ‘P@ssw0rd’.
*Create a non-privileged user account using your MySeneca ID.
Make sure your machine meets the following conditions:
* Your NIC is set to automatically turn on when the machine does.
* Add a virtual interface to your existing one. Give it the '''static address 172.16.[x].1''', where x is the network number on blackboard.* SELinux is set to '''enforcing'''.
* The machine must be fully updated.
* You may use either ''iptables '' or ''firewalld '' as your firewall.* Install ''libvirt '' and ''virt-manager''. Set the virtualization service to start automatically when the machine boots.
* Reboot your machine
 
==Investigation 2: Basic Service Installation==
Configure the postfix service on your host to send and receive email for your domain.
*Install bind and configure your host as the master DNS server for your domain.
◦ It must provide forward and reverse lookups of the machines in your domain.<br>◦ As the course goes on, you will add entries to your zone for the machines you create.<br>◦ Create an MX record to direct all mail sent to users @<yourdomain>.ops to your host.<br>◦ It must allow machines in your virtual network to access the outside world (e.g. to get updates).<br>
*Ensure both services start automatically when the machine boots, and allow the traffic for both through your firewall.
 
==Investigation 3: Virtual Network & Machine Installation==
*Remove the default virtual network.
◦ Address: 192.168.1[x].0/24, where x is the network number on blackboard. E.g. if your network number is 29, your opsnet network will be 192.168.129.0/24.
* Disable DHCP, and allow forwarding to any physical device using NAT.
*Install a new vm using the same CentOS 7 release as the host machine.
◦ You may wish to provide the VM access to more than 1 CPU and 1 GiB of RAM so it installs and updates faster.
* During the installation process:
*Shut down your VM, make sure the resource settings are reduced back to 1 CPU and 1 GiB of RAM.
*When you need a new VM, clone this one.
 
==Submission==
It is not necessary to submit this lab. If you wish to confirm that it has been completed
correctly, you may ask me to review it in class.
932
edits

Navigation menu