Open main menu

CDOT Wiki β

Changes

Temp OPS235 Lab 2

No change in size, 16:31, 6 January 2012
no edit summary
Virtualization
* [http://docs.fedoraproject.org/virtualization-guide/f13f16/en-US/html/ Fedora 13 16 Virtualization Guide]
Installation Methods
* Live Image Installation
** [http://docs.fedoraproject.org/readme-live-image/en-US.html Fedora 13 16 Live Image Guide]** [http://docs.fedoraproject.org/installation-quick-start-guide/f13f16/en-US/html/ Fedora 13 16 Installation Quick Start Guide]
* Network Installation
** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/ Fedora 13 16 Installation Guide]*** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/s1-steps-network-installs-x86.html Preparing for a Network Installation]*** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/s1-begininstall-perform-nfs-x86.html Performing a Network Installation]
* Kickstart Installation
** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/ Fedora 13 16 Installation Guide]*** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/sn-automating-installation.html Automating the Installation with Kickstart]*** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/ch-kickstart2.html Kickstart Installations]*** [http://docs.fedoraproject.org/install-guide/f13f16/en-US/html/ch-redhat-config-kickstart.html Kickstart Configurator]
== Required Materials ==
* Removable disk pack with Fedora installed (see [[Temp OPS235 Lab 1]]).
* Fedora 13 16 x86_64 Live CD.
{{Admon/tip|Performing this Lab off the Seneca network|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 [http://mirrors.fedoraproject.org/publiclist Fedora mirror server] -- note that you may need to change the directory name as well as the server name. The installation of the ''fedora3'' virtual machine must be done at Seneca.}}
=== Investigation 1: Installing from a Live Disc ===
{{Admon/tip|Using an Image instead of a Live Disc|If you do not have a Live Disc available, you can download the .iso image file from http://belmont.senecac.on.ca/fedora/releases/1316/Live/x86_64/Fedora-1316-x86_64-Live.iso and then use the iso image file in place of the physical disk.}}
==== Introduction ====
==== Steps ====
{{Admon/note|Fedora 12 Screen Shots|The following screen shots are from Fedora 12. The Fedora 13 16 version of virt-manager varies slightly -- there are a few extra controls on some dialogs which may be ignored.}}
# In the Virtual Machine Manger, click on the icon to ''Create a Virtual Machine'' in the upper-left corner: <br />[[Image:Virt-manager1.png]]
# 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 name and select ''Local install media''.<br />[[Image:Virt-manager2.png]]
# Step 2 of 5: Insert the CDROM or DVD containing the Fedora Live Disc image. Wait a moment for the disc to be recognized, then select it as the install media. Set the ''OS type'' to Linux and the ''Version'' to Fedora 1316.<br />[[Image:Virt-manager3.png]]
<!-- {{Admon/tip|Using an ISO image|Instead of using a physical CD or DVD, you can use an ISO image of a CD or DVD. The virtualization software will make this ISO image appear like an actual CD within the virtual machine. Because hard disks are faster then optical discs, this will work faster than an actual CD/DVD.}}{{Admon/note|Choosing the operating system type and version|The purpose of the ''OS type'' and ''Version'' fields is to fine-tune some of the virtual machine settings for best performance. The VM will work even if these are set incorrectly.}} -->
# Step 3 of 5: Set the memory to 512 MB and the number of CPUs to 1.<br />[[Image:Virt-manager4.png]]
* Name: fedora2
* Boot media: Network installation
* Installation source: http://belmont.senecac.on.ca/fedora/releases/1316/Fedora/x86_64/os/
* Memory: 512MB
* Disk space: 15GB
# Create the VM as you did with the ''fedora1'' virtual machine, except:
#* In step 1 of 5, set the installation type to "Network Install (HTTP, FTP, or NFS)"
#* In step 2 of 5, provide the URL http://belmont.senecac.on.ca/fedora/releases/1316/Fedora/x86_64/os/#* In step 2 of 5, set the ''OS Type'' to "Linux" and ''Version'' to "Fedora 1316"
# Observe the boot process. How is it different from booting from an optical disc (CD/DVD)?
# Start the installation process. When you get to the disk partitioning step, enable the checkbox labelled ''Review and modify partition layout''. On the next screen, change the logical volumes as follows:
#* Add a logical volume with a size of 2000 MB and a mountpoint of /home (you can name it whatever you want, and use ext3 or ext4 as the filesystem type).
# On the software selection screen, select ''Graphical Desktop''.
# On the same screen, select the "Fedora 13 16 - x86_64" and the "Fedora 13 16 - x86_64 - Updates". Leave "Installation Repo" selected. ''DO NOT'' enable the "Test Updates" repository.
# Complete the installation. Record the time taken to install, and compare this to the time taken by the previous installations.
* Name: fedora3
* Boot media: Network installation
* Installation source: http://belmont.senecac.on.ca/fedora/releases/1316/Fedora/x86_64/os/* Kickstart location: http://zenit.senecac.on.ca/~chris.tyler/fedora13fedora16-vda-ks.cfg
* Memory: 512MB
* Disk space: 10GB
# Create the VM as you did with the ''fedora2'' virtual machine, specifying a network install as before, except:
#* In step 2 of 5, after entering the URL for the installation source, click on the ''URL Options'' control.
#* Enter the Kickstart URL: http://zenit.senecac.on.ca/~chris.tyler/fedora13fedora16-vda-ks.cfg
# Observe the installation. How is it different from booting from an optical disc (CD/DVD)?
# Complete the installation. Record the time taken to install, and compare this to the time taken by the previous installations.
{|border="1" width="100%"
|-
! ||f13hostf16host||fedora1||fedora2||fedora3
|-
|'''Installation Method'''||Installation Disc||Live Disc||Network Installation||Network Installation + Kickstart
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 ''f13hostf16host'', plus the ''fedora1'', ''fedora2'', and ''fedora3'' virtual machines). Copy them all to your f13host f16host system (tip: use <code>scp</code>).
# 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