Changes

Jump to: navigation, search

OPS235 Assignment 1 Fall 2013

52 bytes removed, 13:02, 27 November 2019
no edit summary
{{Admon/caution | Caution! THIS IS AN OLD VERSION OF THE ASSIGNMENT| '''This assignment is very much under construction and the contents will changean archived version. Your Professor will notify you when the assignment is releasedDo not use this in your OPS235 course.'''}}= OPS235 Assignment 1 =
=OPS235 Assignment #1 -- Winter 2010='''Weight''': 5% of the overall grade
Weight: 5% of the overall grade<br>'''Due Date''': First week after study week.<br>Week 7 (Check with your Professor for exact datein class)<br>Due at the start of class.
{{Admon/caution | Caution! | Before making any changes to == Create a new virtual machine ==# 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 configuration, backup the original configuration files into the <code>/backups</code> directory"Use all space" should take care of that.}}
==Basic Chores==The rest of this assignment should be done after the installation is completed successfully.
'''Complete == LVM/fstab ==# Add two more drives to your virtual machine, 1GB each.# Add your new drives to the following tasks 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 system (4 points for each completed task)regular user.# Aso make sure lv_extra is not mounted automatically at boot.'''
#Setup your system so that the command <code>mount /assigndir</code> -- executed by any user -- will attach the logical volume <code>assign-vol</code> from the volume group called <code>ASSIGNGROUP</code> (minimum 100 MB) to the mountpoint <code>/assigndir</code> (The volume should NOT be automatically mounted at boot time) Use <code>/dev/sda5</code> as the physical volume.#Setup your system login message to say '''Long Live The Open Source Community''' (to be displayed on all virtual consoles after the login prompt)#Setup your system login banner to say '''Free as in --Free of Charge-- is good too.''' (User should see this before login to the system)#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.== Package Management ==
==Finding your way==Research the <code>rpm</code> and <code>yum</code> commands to:
'''Research on your Fedora system # Verify the integrity of a package using <code>rpm</code> to come up with sets see if any of commands its files have been altered since installation. (you will be asked to accomplish demonstrate this when your assignment is marked)# Add the following tasks [http://rpmfusion.org/ rpmfusion.org] repository to the yum configuration. (5 points for each completed taskyou will be asked to demonstrate installing a package from the rpmfusion repository when your assignment is marked)'''
#Display a list of all the files under the <code>/home</code> directory and its sub-directories that have been created or modified within the last 2 hours.#Display a list of all the files under the <code>/etc</code> directory and all its sub-directories that have been created or modified today (since mid-night).#Display a list of all the files under the <code>/var</code> directory and all its sub-directories that have been accessed or modified within the last 20 minutes#Display a list of all the files under the <code>/boot</code> directory and all its sub-directories that were last modified more than 6 days ago== Alternate Software Installation ==
Put each set of Review the <code>yum group*</code> commands in a separate file. Name the file for task (1) as ass1-1, task (2) as ass1-2, etc. It must be possible and use them to run these script files simply by typing their name (set the permissions appropriately).:
==To sudo or not to sudo==# 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 assignment (including the assignment submission) while running XFCE.
'''Study Review the man page procedures for compiling and installing software from source code and use them to:# Download and extract the <source code>sudo<for ISO Master.# Compile and install it (you will need gtk2-devel installed).# Now run it and have a look at the Help/code> command 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.
#Update sudo's configuration file (using the proper program) to allow your Learn account to run <code>sudo</code> for the following commands == Install a second Linux distribution as <code>root</code>: (8 points)#*<code>mount</code>#*<code>route</code>#*<code>ifconfig</code>#*<code>chown</code>#Create a new user called <code>helpme</code> and allow this user to run <code>sudo</code> for the following commands as your learn account: (4 points)#*<code>head</code>#*<code>grep</code>Virtual Machine ==
==Package Management==* 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.
'''Research the <code>rpm</code> and <code>yum</code> commands to:'''== Submission ==
'''Due date:''' When you are ready for your assignment #Verify the integrity of a package using <code>rpm</code> 1 to see if any of its files be marked, call over your instructor. Students that do not have been altered since installation. (you ALL required information for instructor to mark their assignment #1 will be asked to demonstrate this when your automatically lose 20% of their assignment is marked)mark (4 pointsdeducted from total assignment mark calculation)#Add the "rpmfusion.org" repository to In that case you may show me your submission in the yum configurationsecond lab that week instead. (you Assignments submitted after that will receive a grade of 0, but must still be asked completed satisfactorily in order to demonstrate installing a package from pass the rpmfusion repository when your assignment is marked) (4 points)course.
==Alternate Software Installation=='''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'''Review the <code>yum group*</code> commands s assignment is submitted and use them to: (5 points)ask your question after that.
#Find and install the XFCE dektop environment discussed in the following article: XFCE Review#*You will be asked to demonstrate how to switch to this desktop environment and back again without restarting the X server.== Rubric ==
'''Review {| class="wikitable" border="1"! Task !! Maximum mark !! Actual mark|-| New Fedora 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 procedures for compiling and installing software VG || 2 |||-| Correct fstab entry || 2 |||-| RPM integrity verification command || 2 |||-| Installing package from source code rpmfusion.org || 2 |||-| Using XFCE || 2 || |-| Modified ISO Master about dialog box || 2 || |-| Other linux installed and use them running, one terminal window open || 2 || |-| Everything ready to: (7 points)show when professor comes by to look || 2 || |-| '''Total''#Find and install the E3 text editor from source code. The project page for it can be found here: E3 Project#*You will be asked to demonstrate how to create a file using this editor.' || 23 ||
==SysAdmin Portion==|}
'''Create a bash script called <code>/bin/snapshot.sh</code> to record the following information: (6 points)'''*A list of all recent bad login attempts.*A list of all successful logins.*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>= Old Assignments =
Still here for historical purposes. Obviously you don'''Research the <code>at</code> command and and schedule your script t need to execute at 2:00am on Wednesday March 31stdo them. (2 points)'''
==Exploring Your Options==* [[OPS235_Assignment_1/W12]]
'''Research and install one software application for each of the following tasks[[Category: (4 points)''' *Desktop Publishing*Video Editing*Accounting/Bookkeeping*First Person Shooter GameOPS235]]

Navigation menu