========================================================== Assignment #13 - GRUB, kernels, Run Levels, processes ========================================================== - Ian! D. Allen - idallen@idallen.ca - www.idallen.com Read *all* the words in this assignment before you begin to type. Available online: Monday November 26, 2012 Prerequisite: You need a working Fedora 12 virtual machine to do this work. Installing Fedora 12 was part of Assignment 7. Goals: Practice modifying the GRUB boot and Run Levels in Fedora 12. Deliverables and due date: DUE: Noon on Monday December 3, 2012 1. Upload the assignment13.txt file from your Fedora 12 system. Late assignments or wrong file names may not be marked. Be accurate. File Submission method: The upload file must have the *exact* name: assignment13.txt Upload the file via the assignment13 "Upload Assignment" facility in Blackboard in a manner similar to how you submitted the previous assignments (but upload under assignment13). Be exact! WARNING: Some inattentive students upload Assignment #13 into the Assignment #12 upload area. Don't make that mistake! Be exact. ============================================================================== Part A - Configure a GRUB boot menu =================================== Work in Part A is based on Worksheet 13. 1. Create the following GRUB configuration. In each boot menu entry, insert the given words at the start of the title for that boot menu entry, as you did in the worksheet. a) Take a snapshot and save your current GRUB configuration file. b) Have GRUB ask for a password (unencrypted): MyGrub c) Have GRUB time out after 30 seconds. d) Have GRUB choose the third (last) default boot menu entry. e) The title of the first boot menu entry must start with: normal - this first boot menu entry does the usual boot f) The title of the second boot menu entry must start with: single user - this second boot menu entry boots in single-user mode g) The title of the third boot menu entry must start with: text only - this third boot menu entry boots in text-only mode - this will be the default boot menu entry GRUB chooses Check your work using the assignment13check program. Part B - Configuring Run Levels =============================== Work in Part B is based on the Class Notes and man pages. 1. Save a listing of all services and all run levels. 2. Disable (turn off) the Bluetooth service in all run levels. 3. Completely remove the "smolt" service from chkconfig management. 4. Enable the Apache HTTP Server service only in run level 5. 5. Save a second listing of all services and all run levels and compare that second listing file with the first listing file. Three lines should have changed. 6. Start the Apache HTTP Server using either its start-up script or the corresponding "service" command (RTFM). Confirm that it is running by using the Firefox web browser inside Fedora 12. Check your work using the assignment13check program. Part C - Process Listing ======================== 1. Place a full list of all processes, all users, long format, full wide listing, into file assignment13ps.txt in your HOME directory. It should be "approximately" 150 lines and 14KB. Check your work using the assignment13check program. Part Z - Check your work and submit =================================== 1. Download the assignment13check program to Fedora 12. (Instructions for downloading were given in previous labs.) 2. Run the assignment13check program as many times as you like. (Instructions for running checking programs were given in previous labs.) 3. Rename the assignment13marks.txt file to be assignment13.txt and submit it to Blackboard from Fedora 12. (You can use the Firefox browser inside Fedora 12 to do the upload.) 4. Make sure you use the correct file name! READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS! -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/