Question
1. Using the updatedb and locate commands, locate the httpd.conf file. Enter the path to the file in the space provided. 2. Use the cd
1. Using the updatedb and locate commands, locate the httpd.conf file. Enter the path to the file in the space provided.
2. Use the cd command to change your working directory to the same one you have entered in Step 1.
3. Use the cp command to make a copy of the httpd.conf file in the same directory as the original. This will provide a means to restore the file to its original configuration in the event you need to do so.
4. Open the httpd.conf file using the vi editor. Navigate to the ServerRoot directive and record the path that is contained in quotes to the right of the directive.
5. Read the comments that immediately precede this ServerRoot directive. In the space below, summarize what purpose it serves in configuring Apache.
6. Navigate to the Listen directive. Read the comments that immediately precede this directive and summarize its purpose in the space below. _______________________________________________________________ _______________________________________________________________
7. What would be the result of adding an IP address in front of the port number in the Listen directive? _______________________________________________________________ _______________________________________________________________
8. Navigate to the DocumentRoot directive. Record the path that is in quotes to the right of this directive in the space provided. _______________________________________________________________
9. Read the comments that immediately precede this directive and summarize its purpose in the space below. _______________________________________________________________ _______________________________________________________________ _______________________________________________________________
10. Close the vi editor and navigate to the path that you recorded in Step 8. List the contents of that directory and record them in the space provided.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started