1,576
edits
Changes
no edit summary
{{Admon/caution|THIS IS AN OLD VERSION OF THE ASSIGNMENT|'''This is an archived version. Do not use this in your OPS235 course.'''}}
= OPS235 Assignment 1 =
=OPS235 Assignment = Create a new virtual machine ==#1 -- Winter 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 /assignmentdirrpm</code> -- executed by to see if any user -- of its files have been altered since installation. (you will attach be asked to demonstrate this when your assignment is marked)# Add the logical volume <code>assignment-vol<[http://code> from the volume group called <code>ASSIGNMENTGROUP<rpmfusion.org/code> (minimum 100 MB) rpmfusion.org] repository to the mountpoint <code>/assignmentdir</code> yum configuration. (The volume should NOT you will be automatically mounted at boot time) #Setup your system login message asked to say '''The Open Source Community Is About Freedom And Choice''' (to be displayed on all virtual consoles after demonstrate installing a package from the login prompt)#Setup rpmfusion repository when your system login banner to say '''Free as in --Free of Charge-- assignment is good too.''' (User should see this before login to the systemmarked)#Setup your system so that every user has a command alias called <code>rmtempdir</code> which will delete the contents of a directory called <code>~/temp</code> '''NOT''' the <code>/tmp</code> directory.
==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:/etc</code> directory and its sub-directories that have been created or modified within the last 4 hourswww.osnews.com/story.#Display a list of all the files under the <code>php/var<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 of all the files under the <code>/boot</code> directory and all its sub-directories that have been accessed or modified within Do the last 30 minutes#Display a list rest of all the files under assignment (including the <code>/home</code> directory and all its sub-directories that were last modified more than 4 days agoassignment submission) while running XFCE.
==To sudo or not to sudoInstall a second Linux distribution as a Virtual Machine ==
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 |||-| Two 1GB virtual drives added || 2 |||-4| 2GB lv_extra || 2 |||-| No space left available in the VG || 2 |||-A| Correct fstab entry || 2 |||-Refreshingly| RPM integrity verification command || 2 |||-Solid| Installing package from rpmfusion.org || 2 |||-Desktop | Using XFCE Review]|| 2 || |-#*You will be asked to demonstrate how to switch to this desktop environment and back again without restarting the X server.| Modified ISO Master about dialog box || 2 || |-'''Review the procedures for compiling | Other linux installed and installing software from source code and use them to: (7 points)'''running, one terminal window open || 2 || #Find and install the E3 text editor from source code. The project page for it can be found here: [http://freshmeat.net/projects/e3 E3 Project]|-#*You will be asked | Everything ready to demonstrate how show when professor comes by to create a file using this editor. ==SysAdmin Portion==look || 2 || |-| '''Create a bash script called <code>/bin/snapshot.sh</code> to record the following information: (6 points)Total'''*A list of all recent bad login attempts.*A list of Logical Volumes, Physical Volumes, and Volume Groups.*A report of all mounted filesystems, the amount of space used and the amount of space available.*The information should be appended to the file <code>/var/log/mysnapshot.txt</code>|| 23 ||
|}
Still here for historical purposes. Obviously you don'''Create a file called <code>backupst need to do them.txt</code> that contains a directory listing of your <code>/backups</code> directory.'''