Difference between revisions of "OPS235 Assignment 1 Fall 2013"
(→OPS235 Assignment #1 (ASSIGNMENT TOTAL: 85 Marks)) |
|||
Line 1: | Line 1: | ||
− | + | = OPS235 Assignment 1 = | |
− | + | Weight: 5% of the overall grade | |
− | + | Due Date: 4th of July at the start of class. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Admon/important|Backup Your Configuration Files|Before making any changes to your system configuration, backup the original configuration files into the <code>/backups</code> directory. The contents of that directory will be considered during marking.}} | {{Admon/important|Backup Your Configuration Files|Before making any changes to your system configuration, backup the original configuration files into the <code>/backups</code> directory. The contents of that directory will be considered during marking.}} | ||
− | == | + | == Create a new virtual machine == |
− | + | # It doesn't matter whether you use the Live CD or Installation DVD for this. | |
− | ' | + | # The hostname for the machine must be your learn user ID. |
− | + | # The regular user you create during installation must also be your learn user ID. | |
− | + | # Make sure that LVM is used for your new system, "Use all space" should take care of that. | |
− | |||
− | |||
− | # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The rest of this lab should be done after the installation is completed successfully. | |
− | + | == LVM/fstab == | |
− | + | # Add two more drives to your virtual machine, 1GB each. | |
− | + | # Add your new drives to the existing volume group. | |
− | + | # Create a new logical volume using all available space in the volume group, call it lv_extra | |
− | + | # Create a directory named "extra" in your home directory. | |
− | + | # Make a change to your fstab so that lv_extra can be mounted on that new directory when the command "mount /home/youruser/extra" is issued. | |
− | + | # Make sure that the mount command can be issued successfully by your regular user. | |
− | + | # Aso make sure lv_extra is not mounted automatically at boot. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Package Management == | |
− | |||
− | |||
− | |||
− | + | Research the <code>rpm</code> and <code>yum</code> commands to: | |
− | + | # Verify the integrity of a package using <code>rpm</code> to see if any of its files have been altered since installation. (you will be asked to demonstrate this when your assignment is marked)(4 points) | |
+ | # Add the [http://rpmfusion.org/ rpmfusion.org] repository to the yum configuration. (you will be asked to demonstrate installing a package from the rpmfusion repository when your assignment is marked) (4 points) | ||
+ | == Alternate Software Installation == | ||
+ | Review the <code>yum group*</code> commands and use them to: | ||
− | + | # Find and install the XFCE dektop environment discussed in the following article: [http://www.osnews.com/story.php/5478/XFce-4--A-Refreshingly-Solid-Desktop XFCE Review] | |
+ | # Do the rest of the lab (including the lab submission while running XFCE). | ||
− | + | Review the procedures for compiling and installing software from source code and use them to: | |
+ | # Download and extract the source code for ISO Master. | ||
+ | # Compile and install it. | ||
+ | # Now run it and have a look at the Help/About dialog box. You will have to change the contents of that box. | ||
+ | # Edit the file about.c in the source you use earlier, and change "An application for editing ISO9660 images based on the bkisofs access library and the GTK2 GUI toolkit." to "An application used by YOURNAME for OPS235 Assignment 1". | ||
+ | # Compile and install the application again, exactly the same way you did the first time. Your change should be simple enough that complicated bugs are unlikely. | ||
− | + | = Old Assignments = | |
− | * | + | * [[OPS235_Assignment_1/W12]] |
[[Category:OPS235]] | [[Category:OPS235]] |
Revision as of 22:03, 10 June 2012
Contents
OPS235 Assignment 1
Weight: 5% of the overall grade
Due Date: 4th of July at the start of class.
Create a new virtual machine
- It doesn't matter whether you use the Live CD or Installation DVD for this.
- The hostname for the machine must be your learn user ID.
- The regular user you create during installation must also be your learn user ID.
- Make sure that LVM is used for your new system, "Use all space" should take care of that.
The rest of this lab should be done after the installation is completed successfully.
LVM/fstab
- Add two more drives to your virtual machine, 1GB each.
- Add your new drives to the existing volume group.
- Create a new logical volume using all available space in the volume group, call it lv_extra
- Create a directory named "extra" in your home directory.
- Make a change to your fstab so that lv_extra can be mounted on that new directory when the command "mount /home/youruser/extra" is issued.
- Make sure that the mount command can be issued successfully by your regular user.
- Aso make sure lv_extra is not mounted automatically at boot.
Package Management
Research the rpm
and yum
commands to:
- Verify the integrity of a package using
rpm
to see if any of its files have been altered since installation. (you will be asked to demonstrate this when your assignment is marked)(4 points) - Add the rpmfusion.org repository to the yum configuration. (you will be asked to demonstrate installing a package from the rpmfusion repository when your assignment is marked) (4 points)
Alternate Software Installation
Review the yum group*
commands and use them to:
- Find and install the XFCE dektop environment discussed in the following article: XFCE Review
- Do the rest of the lab (including the lab submission while running XFCE).
Review the procedures for compiling and installing software from source code and use them to:
- Download and extract the source code for ISO Master.
- Compile and install it.
- Now run it and have a look at the Help/About dialog box. You will have to change the contents of that box.
- Edit the file about.c in the source you use earlier, and change "An application for editing ISO9660 images based on the bkisofs access library and the GTK2 GUI toolkit." to "An application used by YOURNAME for OPS235 Assignment 1".
- Compile and install the application again, exactly the same way you did the first time. Your change should be simple enough that complicated bugs are unlikely.