Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7

5 bytes removed, 08:14, 27 March 2015
no edit summary
* '''Name:''' centos1
* '''Boot media:''' CentOS CentOS7 Live DVD
* '''Installation source:''' Live DVD
* '''Memory:''' 768MB
# A window will appear with the title ''New VM''. There are five steps to be completed; click Forward after each step:
# '''Step 1 of 5:''' Enter the virtual machine (called '''centos1''') name and select '''Local install media'''
# '''Step 2 of 5:''' Insert the DVD containing the Centos Live Disc image. Wait a moment for the disc to be recognized, then select '''Use CDROM or DVD''' as the install media. Set the ''OS type'' to '''Linux''' and the ''Version'' to '''Red Hat Enterprise Linux 67''' (the CentOS6 equivalent).
# '''Step 3 of 5:''' Set the memory to '''768 MB''' and the number of CPUs to '''1'''
# '''Step 4 of 5:''' This next step creates a disk file that will be used to simulate the virtual machine's disk drive. Select a size of '''10 GB''' and checkmark the box labeled '''Allocate entire disk now'''
* '''Name:''' centos2
* '''Boot media:''' Network installation
* '''Installation source:''' http://belmont.senecac.on.ca/centos/6.57/os/x86_64/
* '''Memory:''' 1024MB
* '''Disk space:''' 20GB
* '''Name:''' centos3
* '''Boot media:''' Network installation
* '''Installation source:''' http://belmont.senecac.on.ca/centos/6.57/os/x86_64/
* '''Kickstart location:''' http://matrix.senecac.on.ca/~andrew.smith/ops235/centos6-kickstart-v01.cfg
* '''Memory:''' 1024MB
# Start the ''centos1'' virtual machine, and stop the ''centos2'' and ''centos3'' virtual machines.
# Switch to the c6host c7host machine, and open a shell terminal.# Enter these commands into your c6host c7host machine and note the result:
#* <code>'''virsh list'''</code>
#* <code>'''virsh list --all'''</code>
{{Admon/tip|Shutting Down the Host while Virtual Machines are Running|If you shut down your host system while virtual machines are running, they will be suspended, and will resume the next time you boot your host system.}}
'''Answer the Investigation 6 observations / questions in your lab log book.'''
== Investigation 7: Kickstart Files ==
Even when you perform a non-Kickstart installation, the installation program creates a Kickstart file in the <code>/root</code> directory for reference.
# Obtain the kickstart files for all four of your installations (your disk pack ''c6hostc7host'', plus the ''centos1'', ''centos2'', and ''centos3'' virtual machines).
# To prevent confusion, copy your kickstart files to kickstart filenames that describe their purpose (eg. kickstart_host, kickstart_centos1, kickstart_centos2, etc...)
# Copy them all to your c6host c7host system (tip: use <code>scp</code>, webmail, or command-line mail. Refer to the manpages for help).
# Compare these files. What are the differences? Similarities? (Tip: you may want to use tools such as <code>sdiff</code> to help with the comparison).
# How could you use the kickstart file produced by the installation program to perform additional, identical installations?
13,420
edits

Navigation menu