1,576
edits
Changes
no edit summary
{{Admon/caution | SUMMER 2010 THIS IS AN OLD VERSION OF THE ASSIGNMENT| '''This is the Summer 2010 assignment, and will be changed for Fall 2010an archived version.Do not use this in your OPS235 course.'''}}= OPS235 Assignment 1 =
=OPS235 Assignment = Create a new virtual machine ==#1 -- Summer 2010=It doesn't matter whether you use the Fedora Live CD or Installation DVD for this.# 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.# Make sure that LVM is used for your new system, "Use all space" should take care of that.
==Basic ChoresPackage Management ==
#Setup your system so that Verify the command integrity of a package using <code>mount /assignmentrpm</code> -- executed by to see if any user -- of its files have been altered since installation. (you will attach the logical volume <code>assign-vol</code> from the volume group called <code>ASSIGNGROUP</code> (minimum 100 MB) to the mountpoint <code>/assignment</code> (The volume should NOT be automatically mounted at boot time) #Setup your system login message asked to say '''The Open Source Community Is Changing The Computing World''' (to be displayed on all virtual consoles after the login prompt)#Setup demonstrate this when your system login banner to say '''Free as in Freedom.''' (User should see this before login to the systemassignment is marked)#Setup your system so that every user has a command alias called <code>deltemp</code> which will delete Add the contents of a directory called <code>~[http:/temp</code> '''NOT''' the <code>rpmfusion.org/tmp</code> directoryrpmfusion.#Setup org] repository to the bash environment for yum configuration. (you will be asked to demonstrate installing a package from the user '''root''' so that the prompt includes the current date.rpmfusion repository when your assignment is marked)
==Finding your wayAlternate Software Installation ==
#Display a list of all Find and install the files under XFCE dektop environment discussed in the <code>following article: [http://boot<www.osnews.com/code> directory and its sub-directories that have been created or modified within the last 4 hoursstory.#Display a list of all the files under the <code>php/etc<5478/code> directory and all its subXFce-4--A-Refreshingly-directories that have been created or modified today (since midSolid-night).Desktop XFCE Review]#Display a list Do the rest of all the files under assignment (including the <code>/var</code> directory and all its sub-directories that were last accessed more than 4 days agoassignment submission) while running XFCE.
==To sudo or not to sudoInstall a second Linux distribution as a Virtual Machine ==
'''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.
If you have questions about the assignment - please wait until everyone'''Research the <code>rpm</code> s assignment is submitted and <code>yum</code> commands to:'''ask your question after that.
{| class="wikitable" border=Alternate Software Installation=="1"! Task !! Maximum mark !! Actual mark'''Review the <code>yum group*</code> commands and use them to: (5 points)|-| New Fedora VM installed || 1 |||-#Find and install the XFCE dektop environment discussed in the following article: [http:| Correct VM name /hostname /www.osnews.com/story.php/5478/XFceusername || 2 |||-4| Two 1GB virtual drives added || 2 |||-| 2GB lv_extra || 2 |||-A| No space left available in the VG || 2 |||-Refreshingly-Solid| Correct fstab entry || 2 |||-Desktop XFCE Review]#*You will be asked to demonstrate how to switch to this desktop environment and back again without restarting the X server.| RPM integrity verification command || 2 |||-'''Review the procedures for compiling and installing software from source code and use them to: (8 points)'''#Find and install the E3 text editor | Installing package from source coderpmfusion. The project page for it can be found here: [http://freshmeat.net/projects/e3 E3 Project]org || 2 ||#*You will be asked to demonstrate how to create a file using this editor.|-| Using XFCE || 2 || ==SysAdmin Portion==|-| Modified ISO Master about dialog box || 2 || '''Create a bash script called <code>/bin/snapshot</code> to record the following information: (6 points)'''|-*A list of all recent bad login attempts.*A list of Logical Volumes| Other linux installed and running, Physical Volumes, and Volume Groups.one terminal window open || 2 || *A report of all mounted filesystems, the amount of space used and the amount of space available.|-*The information should be appended | Everything ready to show when professor comes by to the file <code>/var/log/snapshot.txt</code>look || 2 || |-| '''Research the <code>at</code> command and and schedule your script to execute at 2:00am on Christmas day (Dec 25). (2 points)Total'''|| 23 ||
|}
Still here for historical purposes. Obviously you don'''Copy the file called <code>backups.txt</code> t need to the filesystem imagedo them.'''
[[Category:OPS235]]