Css126 Phase 4 Ip

Submitted by: Submitted by

Views: 14

Words: 490

Pages: 2

Category: Science and Technology

Date Submitted: 02/05/2016 06:38 PM

Report This Essay

Matthew Peterson

Colorado Technical University

CS126-1601A-02 Unix Fundamentals

Phase 4 Individual Project

Professor Ralph Reilly

February 1, 2016

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:

The first step was to ensure that I was in the home directory by using the cd command. After ensuring that I was in the home directory, I began creating the directories and subdirectories using the mkdir command for each directory name. The main directories are apache and www. The subdirectories for apache are bin, conf, and lib. The subdirectories for www are html, cgi-bin and ftp.

Next the permissions were set for the directories and subdirectories using the chmod command for each permission. For apache the main directories as well as all subdirectories have the same permissions which are 755. This permission ensures that the user can read, write and execute, the group can read and execute and others can read and execute.

The www directory permissions were set to 644 using the chmod command. This gives the user read, write and execute but gives no permissions to anyone else. The www/ftp file permissions were set to 711 using the chmod command. This gives the user permissions to read, write and execute but gives the group and everyone else write permissions only.

Files were then created using the touch command. The files created are httpd, located within the bin subdirectory of apache. Next, within the subdirectory of html in www, the file index.html was created. Last the file process.pl was created within the cgi-bin subdirectory of www. Permissions were then set for each file by using the chmod command.

The next step was to create a new file called...