Open main menu

CDOT Wiki β

Changes

OPS235 Lab 3 - Fedora17

2,143 bytes added, 12:18, 19 January 2010
no edit summary
# Start the graphical tool by selecting the menu option Applications>System Tools>Virtual Machine Manager or by typing the command <code>virt-manager</code>
=== Investigation 1: Installing from a Live Disc ===
These are the details for the first virtual machine:
# Confirm that you can ssh to your virtual machine from the host (your main Fedora installation): <code>ssh ''IPaddress''</code>
=== Investigation 2: Installing from the Network ===
{{Admon/tip|Authenticate to the network|The rest of this lab uses network access. Be sure to authenticate to the network using your browser before proceeding.}}
# Complete the installation. Record the time taken to install, and compare this to the time taken by the previous installations.
=== Investigation 3: Installing using Kickstart ===
{{Admon/tip|Authenticate to the network|The rest of this lab uses network access. Be sure to authenticate to the network using your browser before proceeding.}} VM details: * Name: fedora2* Boot media: Network installation* Installation source: http://belmont.senecac.on.ca/fedora/releases/12/Fedora/x86_64/os/* Kickstart location: http://zenit.senecac.on.ca/~chris.tyler/fedora3-ks.cfg* Memory: 512MB* Disk space: 10GB* CPUs: 1 Steps:# 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/fedora3-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. # What happens when the installation is finished?# Take a look at the kickstart file to determine the root password as well as the name and password for the first user account.# Boot the virtual machine and log in. Compare the experience to booting the other virtual machines. === Investigation 4: How do I backup a virtual machine? === # Shut down all of the virtual machines.# Change to the directory <code>/var/lib/libvirt/images/</code>. Note the size of the files in this directory.# Make a compressed backup of the <code>fedora3.img</code> file with this command: <code>gzip <fedora3.img >fedora3.img.backup.gz</code># Compare the size of the compressed and original files.# Start the ''fedora3'' VM.# Wreck it! Try this command: <code>rm -rf /</code># Shut down the VM.# Restore the original image from backup: <code>gunzip <fedora3.img.backup.gz >fedora3.img</code># Restart the VM. Is it working normally?
== Preparing for the Quizzes ==
 
# What are the advantages and disadvantages of each type of installation?
# Which type of installation works best for confirming compatibility with hardware before installation? Why?
# Which type of installation works best for installing large numbers of computers? Why?
# What factors affect installation time?