Difference between revisions of "COMP 3000 Lab 2 2011"

From Soma-notes
Jump to navigation Jump to search
(Created page with "==Part A (Mandatory)== This part is to be completed in class. # Copy the ISO images from the class DVD to your computer. Boot at least two of the ISOs in Virtualbox or VMware …")
 
Line 3: Line 3:
This part is to be completed in class.
This part is to be completed in class.


# Copy the ISO images from the class DVD to your computer.  Boot at least two of the ISOs in Virtualbox or VMware Player by creating a new virtual machine and using the ISO as
# Copy the ISO images from the class DVD to your computer.  Boot at least two of the ISOs in Virtualbox or VMware Player by creating a new virtual machine and using the ISO for the virtual CD drive.  For at least two distributions:
 
## Roughly how long did the VM take to boot completely?
# Create a virtual machine in VirtualBox for Ubuntu Linux and install Ubuntu using the ISO image in C:\support\somayaji.
## How similar is the environment to that available on the Lambda SCS hosts?
#*Create your disk image on your Desktop or on a USB stick.
# Create an account on the class wiki.  What username did you choose?
#*Images on your desktop will be deleted when you log out; USB stick images will be slower to access.
#*USB sticks may need to be formatted with NTFS to support a VirtualBox image.
#*Create a fixed-sized disk to increase performance.  However, you'll then have to wait for the fixed-sized disk to be allocated.
#*If you wish, you can use the Ubuntu install ISO as a live CD image.  In this case you don't need to install to any virtual hard disks.
#Create an account on the class wiki.  If you choose not to use your connect username please email me with your real name and your wiki username.
# Install the guest additions to your Ubuntu guest.  What new capabilities do you get?
#*To install, first mount the guest additions ISO using the "Devices" VirtualBox menu option.
#*To run the additions script, start up a Terminal window and run "sudo sh /media/<VBOXADD...>/VBoxLinuxAdditions-x86.run".
 
# How much RAM does the VM use on the host?  How much is available in the VM?
# Look at the Disk Utility application in Ubuntu.  What sort of storage hardware does it have?  How does this compare to the hardware on the Windows host?
CD Drive and hard Disk. Hard disk is 8.6GB. We assign 8G as fixed size disk, why it shows 8.6G in Disk Utility?
# Look at /proc/cpuinfo in the Ubuntu guest - is the CPU the same as that reported by Windows?
 
# What about the PCI devices as reported by the command line program "lspci"?
Guest OS can use all the PCI devices as the host can use.
# How does the performance of the VM compare to that of the host OS?  Examine GUI, disk, and network performance.
Feel free to add your tips for the above exercises here.


==Part B (Optional)==
==Part B (Optional)==

Revision as of 23:03, 25 September 2011

Part A (Mandatory)

This part is to be completed in class.

  1. Copy the ISO images from the class DVD to your computer. Boot at least two of the ISOs in Virtualbox or VMware Player by creating a new virtual machine and using the ISO for the virtual CD drive. For at least two distributions:
    1. Roughly how long did the VM take to boot completely?
    2. How similar is the environment to that available on the Lambda SCS hosts?
  2. Create an account on the class wiki. What username did you choose?

Part B (Optional)

The following exercises are optional.

  1. Run benchmarks in the guest and host OSs such as lmbench for Linux.
    • Tip: phoronix-test-suite, rambench, cpuburn, bashmark, forkbomb
  2. Enable support for flash and non-free codecs in Ubuntu.
  3. Create an Ubuntu virtual machine in VMWare Player. How does the performance of VMWare and VirtualBox compare?
  4. Can you run VirtualBox in the Ubuntu guest? Note that VirtualBox is part of the Ubuntu distribution already.
  5. Setup shared folders between the guest and host and verify that you can copy files both ways. What does the shared folder look like to Ubuntu?