% CST8207 Assignment 08 – CentOS: Install and Configure % Ian! D. Allen – – [www.idallen.com] % Winter 2015 - January to Apil 2015 - Updated Sun Apr 12 05:31:08 EDT 2015 Due Date and Deliverables ========================= > **Do not print this assignment on paper!** > > - On paper, you will miss updates, corrections, and hints added to the > online version. > - On paper, you cannot follow any of the [hyperlink URLs] that lead you > to hints and course notes relevant to answering a question. > - On paper, scrolling text boxes will be cut off and not print properly. - **Due Date**: `15h00 (3pm) Tuesday April 7, 2015 (Week 13)` - This assignment is a pre-requisite to the last assignments in this course. You must have a working CentOS installed to do those final assignments. Those assignments may have due dates earlier than this assignment. Start work on this now! Don’t delay! - Late assignments or wrong file names may not be marked. Please be accurate and punctual. - **Available online** - Version 1 – 14:00 March 12, 2015 - Version 2 – 02:40 March 22, 2015 – due date extended above - **Prerequisites** - All [Class Notes] since the beginning of term. - All your previous [Assignments] and [Worksheets]. - An ability to **READ ALL THE WORDS** to work effectively. - **Deliverables** 1. Completed [CentOS Install and Configure] virtual machine installation. - This assignment requires you to install this Linux VM. - **Do not delete any assignment work from your CentOS VM until after the term is over!** 2. One plain text file uploaded to Blackboard according to the steps in the **Checking Program** section below. 3. Directory structure and files created and left for marking on the [Course Linux Server] (**CLS**).\ **Do not delete any assignment work from the CLS until after the term is over!** **WARNING:** Some inattentive students upload Assignment #08 into the Assignment #07 upload area. Don’t make that mistake! Be exact. Purpose of this Assignment ========================== > **Do not print this assignment on paper!** On paper, you cannot follow any > of the hyperlink URLs that lead you to hints and course notes relevant to > answering a question. 1. Install a server-style (no GUI) Linux virtual machine. Introduction and Overview ========================= This is an overview of how you are expected to complete this assignment. Read all the words before you start working. For full marks, follow these directions exactly. 1. Complete the **Tasks** listed below. 2. Verify your own work before running the **Checking Program**. 3. Run the **Checking Program** to help you find errors. 4. Submit the output of the **Checking Program** to Blackboard before the due date. 5. **READ ALL THE WORDS** to work effectively and not waste time. Save your work -------------- You will create some minimal file system structure in your HOME directory on the CLS. Most work will involve changes in your own Linux Virtual Machine running Centos 6.6. You can use the **Checking Program** to check your work as you go. You can check your work with the **Checking Program** as often as you like before you submit your final mark. When you are finished, leave the files and directories in place on both the CLS and your own CentOS Virtual Machine as part of your deliverables. **Do not delete any assignment work until after the term is over!** Assignments may be re-marked at any time on the CLS; you must have your term work available on the CLS right until term end. Searching the course notes on the CLS ------------------------------------- All course notes are available on the Internet and also on the CLS. You can learn about how to read and search these CLS files using the command line on the CLS under the heading *Copies of the CST8207 course notes* near the bottom of the page [Course Linux Server]. Backup and Recovery on CentOS ----------------------------- 1. Take a snapshot of your virtual machine before you begin each section of this lab so that you can recover back to the snapshot if needed. - You can delete the unused snapshots if everything works well. - CentOS snapshots are very small and fast compared to your Windows snapshots; you can save lots of them. 2. *Are you keeping an external backup copy of all your coursework (including your virtual machines) somewhere? You should be!* Tasks ===== For full marks, follow these task directions below exactly as written. **READ ALL THE WORDS** to work effectively and not waste your time. 1. Complete the **Tasks** listed below, in order, from top to bottom. 2. **READ ALL THE WORDS!** and do not skip steps. 3. Pay attention as to which tasks must be done in your own CentOS VM and which must be done in your account on the [Course Linux Server]. 4. **Put the escape for your current machine name into your SHELL prompt so you know which machine you are working on!** 5. Verify your own work before running the **Fetch and Checking Program**. 6. Tasks done on your own Centos VM require you to run a **Fetch and Checking Program** in that Virtual machine. That program will transfer marking data from the VM to the CLS for marking. Run the **Fetch and Checking Program** to help you find errors and grade your work. 7. When you are done, run and store a copy of the standard output of the **Checking Program** in your CLS assignment base directory and upload the same file to Blackboard before the due date. - Your instructor will mark on the due date the work transferred to account on the CLS. Leave all your work on the CLS and do not modify it. - **Do not delete any assignment work from the CLS or from your Virtual machines until after the course is over.** Set Up – On The CLS ------------------- 1. Do a [Remote Login] to the [Course Linux Server] (**CLS**) from any existing computer, using the host name appropriate for whether you are on-campus or off-campus. 2. Make the CLS directory `~/CST8207-15W/Assignments/assignment08` Install CentOS 6.6 in a Virtual Machine --------------------------------------- 1. Do the [CentOS Install and Configure]. - Make sure it passes the checks for disk sizes and package counts. - Do not install any packages other than the ones specified. (You don’t get to install your favourite packages on company servers; you only install the approved set.) As you work on the CentOS installation, you can download to CentOS and run the **Checking Program** to check your work. When you are done ----------------- That is all the tasks you need to do. Read your CLS Linux EMail and remove any messages that may be waiting. See [Reading eMail] for help. Check your work a final time using the **Checking Program** and save the standard output as described below. Submit your mark following the directions below. > Optional: Keeping your main configuration snapshots, remove any > intermediate snapshots you no longer require, to free up disk space. - Be > careful not to remove your current work! Checking, Marking, and Submitting your Work =========================================== To learn how to run the **Checking Program**, see [CentOS: Remote Checking, Marking, and Submitting your Work]. **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/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [www.idallen.com]: http://www.idallen.com/ [hyperlink URLs]: indexcgi.cgi#XImportant_Notes__alphabetical_order_ [Class Notes]: indexcgi.cgi#Important_Notes__alphabetical_order_ [Assignments]: indexcgi.cgi#XAssignments [Worksheets]: indexcgi.cgi#XWorksheets__not_for_hand_in_ [CentOS Install and Configure]: 000_centos_install.html [Course Linux Server]: 070_course_linux_server.html [Remote Login]: 110_remote_login.html [Reading eMail]: 070_course_linux_server.html#email-on-the-cls [CentOS: Remote Checking, Marking, and Submitting your Work]: 000_centos_marking.html [Plain Text]: assignment08.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/