Assignment Type: Individual Project Deliverable Length: 2–3 pages
Points Possible: 125 Due Date: 9/20/2015 11:59:59 PM CT [removed]
The project team is ready to create the directory structure for a test Web site. You are tasked with creating the directories and implementing the directory permissions. For this assignment, you need to create the following directory structure and permissions:
Ensure you are starting in your individual home directory.
+- apache/
|
|- bin/
|
|- conf/
|
|- lib/
|
+- www/
|
| – html/
|
| – cgi-bin/
|
| – ftp/
The following file permission should be enabled for the directories:
-
The owner can read, write, and execute all.
-
The group can read and execute all directories.
-
Everyone else can only read and execute the files in Apache only (and no permissions in www).
-
Change the wwwftp directory to allow the user and group to read, write, and execute, but everyone else only to write to the directory.
In addition, create the following empty files, and set the following file permissions:
-
apache/bin/httpd – 755
-
www/html/index.html – 644
-
www/cgi-bin/process.pl – 711
Finally, create a file called apache/conf/httpd.conf, and add the following lines to the file:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.# Do not add a slash at the end of the directory path.
#
ServerRoot “/usr”#
# DocumentRoot: The directory out of which you will serve your documents.
#
DocumentRoot “/Library/WebServer/Documents”
-
Save the file, and exit the editor. Set the file permission for this file to be 664.
-
Show the command used to show content of the file and the content of the file.
-
Using the grep command, write comments to find the line containing the words “ServerRoot” and “DocumentRoot” in the httpd.conf file.
-
Write a sed command that will change the ServerRoot value from /usr to the absolute directory patch for your Apache directory.
-
Write a sed command that will change the Document value from /Library/WebServer/Documents to the absolute directory patch for your www directory.
-
Write an awk command that will print only the comment field and the login id of all users in the /etc/passwd file in this format:
Your submission should include the following, as well as a description about each step (what each command is and why you are performing it):
-
All commands to create the above structure
-
Changing to your home directory
-
Creating the directories
-
Creating the empty files
-
Changing all file permissions
-
The directory list of the new structure, including a list of permissions
-
A grep, sed, and awk command
Adhere to MLA formatting and reference guidelines when writing your response. Additionally, your response should be free of grammatical errors, use complete sentences, and give specific details to support statements.
Please submit your assignment.
Grading Criteria
.awasam-promo3 {
background-color: #F5F9FF;
color: #000000;
text-align: center;
padding: 20px;
border-radius: 10px;
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 5px;
}
.button-whatsapp {
background-color: #41D07D;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 5px;
}
.awasam-alert {
color: red;
}
Need help with similar assignment? We are available 24×7 to deliver the best services and ready within 3-4 hours?
Order a custom-written, plagiarism-free paper
Get Answer Over WhatsApp
Get Your Custom Answer Now
.awasam-promo {
background-color: #ffffff;
text-align: center;
padding: 10px;
color: #000000;
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 10px;
}
.button-no {
background-color: #9ED5EA;
border: none;
color: #000000;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 10px;
}
.awasam-alert {
color: red;
}
Do you have an upcoming essay or assignment due?
Your first order with us is FREE!
If yes
Get Your Custom Answer Now
function openColorBox(){
$.colorbox({overlayClose: true,width:”60%”, inline:true, href:”#awasam-promo”});
}
setTimeout(openColorBox, 15000);
The post
Assignment Type: Individual Project Deliverable Length: 2â3 pages
Points Possible: 125 Due Date: 9/20/2015 11:59:59 PM CT
The project team… appeared first on Assignment Help Services.
Order Now! Order Now!