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

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

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