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...

1 answer below »
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 co
ection 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
usiness 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
ain 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
oot
 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 XXXXXXXXXX
Henry 150 MB 180 MB XXXXXXXXXX
Suzan 200 MB 240 MB XXXXXXXXXX
 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
ootlisting.
 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 /va
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
eportquota.
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%.
Answered 7 days AfterJun 06, 2021

Answer To: Projet 1 Course Title Linux Fundamentals Project Code LX1O Project 1 Project Title The Linux...

Nithin answered on Jun 14 2021
49 Votes
LinuxAssingment
Linux Assignment
1. Question 1 is supposed to be done by self. Can’t share my linux distro, but let me clue you
exactly what t
o you.
a. Go to https:
www.virtualbox.org/wiki/Downloads
. Click “Windows hosts” under VirtualBox 6.1.22 platform packages and a .exe file
will start downloading. Install that first.
c. Once installed, download an Ubuntu OS box from
https:
ubuntu.com/download/desktop and install as per the given instructions.
2. Open terminal and do the following :
a. cd /
This command navigates you to root
. mkdir project
This command creates project directory
c. mkdir data
This command creates data directory
d. mkdir project/users
This command creates users under project
e. mkdir project/documentation
This command creates documentation under proj
3. First creating users
a. For password length
i. sudo nano /etc/pam.d/common-password
ii. Find this line : password [success=2 default=ignore] pam_unix.so obscure
sha512
iii. Append minlen=8 to this file
. cd /project/users
Navigate to users directory
c. sudo useradd -m Paul -G managers,public
d. sudo useradd -m Henry -G engineers,public
e. sudo useradd -m Suzan -G marketing,public
f. chage -M 30 Paul
Creates expiry date
g. chage -M 30 Henry
h. chage -M 30 Suzan
4. Formatting disk space
a. First detect disks and space : fdisk -l | grep '^Disk'
. Find non allocated space and do : mkfs.ext3 /dev/sdb1
c. To mount in data directory : mount /dev/sdb1 /data
df -H
d. Edit /etc/fstab to : /dev/sdb1 /data ext3 defaults 1 2
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here