Can you do this Project, and how long would it takes ?
Projet 1 Course Title Linux Fundamentals Project Code LX1O Project 1 Project Title The Linux Solution Pages 5 (plus cover sheet) Released September 1, 2011 Revised January 6, 2012 WHAT TO SUBMIT When submitting your project for correction it must contain the following: A project title page (student name, student ID, date and course title). This document. The printed files as specified in the project. Student Name: Student ID#: Date given: Date due: Linux Fundamentals Project 1: The Linux Solution Page 1 Linux Fundamentals Project 1: The Linux Solution INTRODUCTION This project will test your ability to use a variety of skills you acquired throughout the course. You will be using many of the procedures you learned to implement a solution in a typical business setting. OBJECTIVES The objectives of this project are to: Install Linux Create a hierarchical Linux directory structure Create and configure user and group accounts as per given specifications Set up file system security and quota entries Configure a backup task Print project files TIME REQUIRED You have 5 hours to do the project. MATERIALS REQUIRED To complete this project, you require: A Ubuntu Linux / or Fedora Core or other Linux distribution A PC system meeting or exceeding the requirements of the Linux distribution A printer PROJECT SPECIFICATIONS Description Your recently acquired Linux skills have given you the confidence to have the operating system implemented in the business run by your family. This is your opportunity to take a leadership role as you will be the top brain in this operation. Because this is a move that may involve some risk, you decide to set up a test environment and call the project The Linux Solution. When the test is satisfactory, you will deploy it as a network solution. Instructions Use the instructions below to plan and implement your project. It is recommended that you perform the tasks in the order given below. Linux Fundamentals Project 1: The Linux Solution Page 2 Step 1. Install Linux. For this project, we recommend to use a fresh installation of Linux. When asked how to partition the hard disk, chose the option “create custom layout” and use the values below: Create a 100 MB partition for /boot Create a 10 GB partition for / Create a 1024 MB swap partition Leave a non-allocated space on the hard drive for future use. When ask to select the software to install, click “Customize now” and select the following packages: Server Configuration Tools Windows File Server Step 2. Creating a Hierarchical Directory structure. Log into the system as root and create a directory called project under the root directory of the system. Create a directory call data under the root directory of the system. Under the project directory, create two more directories and call them users and documentation. The resulting structure should look identical to the one shown in figure 1. Figure 1 Step 3. Creating and configuring Users and Groups. All three users will have similar settings. Future users will need the same settings as well. User’s passwords must be change at least every 30 days but not more often then once a week. All passwords must be at least 8 characters long. User’s home directories are to be automatically created under the directory users below the project directory. / project data users documentation Linux Fundamentals Project 1: The Linux Solution Page 3 Create the three user accounts using the above information. Paul is the manager. His primary group is a group called managers. He is also a member of a group call public. Henry is an engineer and is primary group is a group called engineers. He is also a member of a group called public. Suzan is the marketing director. Her primary group is a group called marketing. She is also a member of a group called public. Step 4. Creating, formatting and mounting a partition. Using the non-allocated space, create a 1 GB partition. Format the partition using the ext3 file system. Mount the partition in the /data directory. Make sure that the partition is automatically mounted each time Linux boots. (Hint: edit /etc/fstab). Reboot Linux to see that the partition is automatically mounted in the /data directory. Step 5. Assigning permission and quota limit to the /data directory. All files created in /data must belong to the public group. Only members of the public group have full access to the /data directory. For each user account, the specified quota limit to the /data directory is presented in the table below: Limit # of files Soft Hard Soft Hard Paul 100 MB 120 MB 500 550 Henry 150 MB 180 MB 700 750 Suzan 200 MB 240 MB 1000 1100 Make sure the quota is activated automatically each time Linux boots. Open a session with each user account and create some files in the /data directory for each user. (Hint: open a virtual terminal and use the command touch to create files). Step 6. System backup procedure. Create a backup schedule as follows: Set up a complete tape drive backup of the whole system to run every Saturday at 1:00 AM. Set up a scheduled tape drive backup of the /project and /data directories and all their contents to run every weekday (Monday through Friday) at 9:00 PM. Hint: use the crontab command to schedule the backups. Linux Fundamentals Project 1: The Linux Solution Page 4 Step 7. Preparing the project files and printing the files. Run a long listing of the / directory and redirect the output of this command to the file /project/rootlisting. Run a long listing of the /project directory and redirect the output of this command to the file /project/projectlisting Run a long listing of the /data directory and redirect the output of this command to the file /project/datalisting Copy the file /etc/fstab to the /project directory. Copy the file /etc/default/useradd to the /project directory. Copy the file /etc/login.defs to the /project directory. Copy the file /etc/passwd to the /project directory. Copy the file /etc/group to the /project directory. Copy the content of /var/spool/cron/ directory to the /project directory. Run the command repquota on the /data directory and redirect the output of this command to the file /project/reportquota. Connect to the printer and print the following files: rootlisting, projectlisting, datalisting, fstab, useradd, login.defs, passwd, group, root, and reportquota. Linux Fundamentals Project 1: The Linux Solution Page 5 MARKING SCHEME You will be graded on: Project component Points Step 1. Install Linux. 20 Step 2. Creating a Hierarchical Directory structure. 10 Step 3. Creating and configuring Users and Groups. 20 Step 4. Creating, formatting and mounting a partition. 15 Step 5. Assigning permission and quota limit to the /data directory. 15 Step 6. System backup procedure. 10 Step 7. Preparing the project files and printing the files. 10 The total number of possible points is : 100% PENALTIES For each day that a project is late, 5% will be deducted. Project that are more than three days late will earn a maximum score of 60%.