Difference between revisions of "OPS235 Assignment 1 Winter 2014"

From CDOT Wiki
Jump to: navigation, search
(Created page with '{{Admon/caution|Draft|This assignment is only a draft at this point.}} = OPS235 Assignment 1 = '''Weight''': 5% of the overall grade '''Due Date''': Week 7 (in class) == Crea…')
 
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Admon/caution|Draft|This assignment is only a draft at this point.}}
 
 
 
= OPS235 Assignment 1 =
 
= OPS235 Assignment 1 =
  
 
'''Weight''': 5% of the overall grade
 
'''Weight''': 5% of the overall grade
  
'''Due Date''': Week 7 (in class)
+
'''Due Date''': In class week 6 or 7 (ask your professor for exact date)
  
 
== Create a new virtual machine ==
 
== Create a new virtual machine ==
# It doesn't matter whether you use the Fedora Live CD or Installation DVD for this.
+
 
 +
# It doesn't matter whether you use the CentOS Live CD or Installation DVD for this.
 
# The virtual machine name and the hostname for the machine must be your learn user ID.
 
# The virtual machine name and 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.
 
# 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.
+
# Make sure that LVM is used for your new system.
  
 
The rest of this assignment should be done after the installation is completed successfully.
 
The rest of this assignment should be done after the installation is completed successfully.
  
 
== LVM/fstab ==
 
== LVM/fstab ==
 +
 
# Add two more drives to your virtual machine, 1GB each.
 
# Add two more drives to your virtual machine, 1GB each.
 
# Add your new drives to the existing volume group.
 
# Add your new drives to the existing volume group.
Line 28: Line 28:
 
Research the <code>rpm</code> and <code>yum</code> commands to:
 
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)
+
# 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, it doesn't matter which package you choose)
 
# 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)
 
# 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)
 +
# Add the [https://fedoraproject.org/wiki/EPEL EPEL] repository to the yum configuration. (this one has XFCE for CentOS 6)
  
 
== Alternate Software Installation ==
 
== Alternate Software Installation ==
Line 38: Line 39:
 
# Do the rest of the assignment (including the assignment submission) while running XFCE.
 
# Do the rest of the assignment (including the assignment submission) while running XFCE.
  
Review the procedures for compiling and installing software from source code and use them to:
+
Lab 5 contains practice in compiling source code. It is recommended to study these procedures for compiling and installing software from source code and use them to:
 
# Download and extract the source code for ISO Master.
 
# Download and extract the source code for ISO Master.
 
# Compile and install it (you will need gtk2-devel installed).
 
# Compile and install it (you will need gtk2-devel installed).
Line 64: Line 65:
 
! Task !!  Maximum mark !! Actual mark
 
! Task !!  Maximum mark !! Actual mark
 
|-
 
|-
| New Fedora VM installed || 1 ||
+
| New CentOS VM installed || 1 ||
 
|-
 
|-
 
| Correct VM name / hostname / username || 2 ||
 
| Correct VM name / hostname / username || 2 ||
Line 91: Line 92:
  
 
|}
 
|}
 
= Old Assignments =
 
 
Still here for historical purposes. Obviously you don't need to do them.
 
 
* [[OPS235_Assignment_1/W12]]
 
  
 
[[Category:OPS235]]
 
[[Category:OPS235]]

Latest revision as of 10:23, 24 September 2014

OPS235 Assignment 1

Weight: 5% of the overall grade

Due Date: In class week 6 or 7 (ask your professor for exact date)

Create a new virtual machine

  1. It doesn't matter whether you use the CentOS Live CD or Installation DVD for this.
  2. The virtual machine name and the hostname for the machine must be your learn user ID.
  3. The regular user you create during installation must also be your learn user ID.
  4. Make sure that LVM is used for your new system.

The rest of this assignment should be done after the installation is completed successfully.

LVM/fstab

  1. Add two more drives to your virtual machine, 1GB each.
  2. Add your new drives to the existing volume group.
  3. Create a new logical volume using all available space in the volume group, call it lv_extra
  4. Create a directory named "extra" in your home directory.
  5. 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.
  6. Make sure that the mount command can be issued successfully by your regular user.
  7. Aso make sure lv_extra is not mounted automatically at boot.

Package Management

Research the rpm and yum commands to:

  1. 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, it doesn't matter which package you choose)
  2. 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)
  3. Add the EPEL repository to the yum configuration. (this one has XFCE for CentOS 6)

Alternate Software Installation

Review the yum group* commands and use them to:

  1. Find and install the XFCE dektop environment discussed in the following article: XFCE Review
  2. Do the rest of the assignment (including the assignment submission) while running XFCE.

Lab 5 contains practice in compiling source code. It is recommended to study these procedures for compiling and installing software from source code and use them to:

  1. Download and extract the source code for ISO Master.
  2. Compile and install it (you will need gtk2-devel installed).
  3. Now run it and have a look at the Help/About dialog box. You will have to change the contents of that box.
  4. 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".
  5. 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.

Install a second Linux distribution as a Virtual Machine

  • Create another virtual machine.
  • The virtual machine name and the hostname for the machine must be your learn user ID followed by -mint. For example asmith15-mint
  • Install Linux Mint in the new virtual machine.

Submission

Due date: When you are ready for your assignment #1 to be marked, call over your instructor. Students that do not have ALL required information for instructor to mark their assignment #1 will automatically lose 20% of their assignment mark (deducted from total assignment mark calculation). In that case you may show me your submission in the second lab that week instead. Assignments submitted after that will receive a grade of 0, but must still be completed satisfactorily in order to pass the course.

Ready to show: open terminal windows having run the commands necessary to show all the required items in the rubric below. It is ok to switch windows and virtual machines while submitting your assignment, but you should not need to run any commands.

If you have questions about the assignment - please wait until everyone's assignment is submitted and ask your question after that.

Rubric

Task Maximum mark Actual mark
New CentOS VM installed 1
Correct VM name / hostname / username 2
Two 1GB virtual drives added 2
2GB lv_extra 2
No space left available in the VG 2
Correct fstab entry 2
RPM integrity verification command 2
Installing package from rpmfusion.org 2
Using XFCE 2
Modified ISO Master about dialog box 2
Other linux installed and running, one terminal window open 2
Everything ready to show when professor comes by to look 2
Total 23