Create the directory structure for the web site

Assignment Help Web Project
Reference no: EM131650986

Assignment

The project team is ready to create the directory structure for the Web site. You are tasked with creating the directories and implementing the security mechanism. For this assignment, you need to create the following directory structure and permissions:

Ensure that 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 www\ftp directory to allow the User and group to read, write, and execute, but everyone else to only 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
# configuration directives that give the server its instructions.

# Do not add a slash at the end of the directory path.

ServerRoot "/user"

# 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 comment to find the line containing the word(s) 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: <Comment Field> - <login id>.

Your submission should include the following, as well as a description about each step (what you did and why you are performing each command) and associated screenshots:

All commands to create the above structure
Changing to your Home directory
Creating the directories
Creating the empty files
Changing all file permissions
Show 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.

Reference no: EM131650986

Questions Cloud

What was the purpose of this evidence based practice project : What was the purpose of this Evidence Based Practice project, What is the implication on nursing practice
Analyze the key points you want to highlight : Analyze the key points you want to highlight. Contain a minimum of three slides in the body of the presentation. Each slide must include animation.
Difference between laissez-faire capitalism : What is the difference between laissez-faire capitalism, the command system, and the market system?
Discuss human factors in aviation maintenance : research and write paper on the subject of human factors in aviation maintenance
Create the directory structure for the web site : The project team is ready to create the directory structure for the Web site. You are tasked with creating directories and implementing the security mechanism.
Define the online journal off the wall : A Reader Response Perspective. The article appears on the online journal Off the Wall
Elasticity of demand at the current price levels : a. What is the elasticity of demand at the current price levels?
What is the elasticity of demand at the current price level : a. What is the elasticity of demand at the current price level? b. Is the current price level profit-maximizing?
Discuss how the lives of the ju-wasi could be improved : the government on how the lives of the Ju-Wasi could be improved. You may agree or disagree with the previous panel

Reviews

Write a Review

Web Project Questions & Answers

  Determine the scope of the quality audit

DWDP2v11 - Website Development Project Determine the objectives to be achieved by the quality audit and determine the scope of the quality audit - Develop a list of audit criteria and quality benchmarks.

  Create an application that will run four different programs

You are going to create an application that will run 4 different programs. This program will be driven by a menu screen.

  Why would it important to occasionally check your hyperlinks

Why would it be important to occasionally check your hyperlinks manually? Why would it be important to use both external and internal links on your Web site?

  Design and develop a web site for the bsit program

Purpose: To design and develop a web site for the BSIT program offered by the MSIS Department of College of Management, UMass Boston to promote this program to potential students

  Create a positive message and experience for the reader

Include in your review important design criteria that create a positive message and experience for the reader. In addition, include design criteria that should be avoided. Discuss issues such as layouts, fonts, color, white space, tone, images, an..

  Agile project management

Imagine you are the project manager for a critical project for an organization. The organization wants to implement a state of the art real-time marketing campaign system. This system has many components.

  Create a web page using color or an image as a background

Create a web page using color or an image as a background, add an image into the body of text, and then add colors that are compatible to the design. You should also include some "mock" text to your page to show position of text.

  Create a complete personal finance management app

Create a complete personal finance management APP. The app must allow the end user to manage spending vs. income on a monthly basis.

  Create a website page creation for fashion designer

Create a Website Page Creation for fashion designer. The webpage should contain scissors, sewing machines, tape measure and different types of African fashion dresses for females. The prices for the dresses should range from $75 to $100.

  The webp image format is utilized by chrome

the WebP image format is utilized by Chrome. What is the significance, if any, of this particular image file format. Do you see it taking off as being more of a standard in the future. Why or why not

  How to create a dynamic dropdown list in html

How to Create a dynamic Dropdown list in html with php and getting data from a MySQL server?

  The following are included software browse

The following are included Software Browser, except:A. Mozilla FirefoxB. Opera

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd