Examine current settings for logging and record the location

Assignment Help Web Project
Reference no: EM13864645

Instructions:

I. First, Apache on Fedora. The date time stamp for each entry in a log is useful information when searching a log containing thousands of entries for entries that occurred at a certain time on a certain date. However, withFedora virtual machines, the odds of your date and time being accurate are small unless your machine is synchronized with an external time server. Therefore, the first thing we'll do in this lab is to synchronize your date and time with an ntp server.

1. Start this process by logging into your virtual machine as root and opening a command window. At the command prompt, type yum install -y ntp and press Enter. The yum installer will install the ntp daemon, and you will return to the command prompt.

2. Type ntpdate pool.ntp.org and press Enter. The ntp daemon will update your time and date.

3. To verify that the date and time are correct, type date at the command prompt. Record the date and time in the space provided.

II. There are many ways that you can locate the Apache log files. We'll examine one method.

1. At the command prompt, type

grepCustomLog /etc/httpd/conf/httpd.conf

grep will display several lines, one of which contains the relative path of the log file. Record the name and location of the Apache log file in the space provided. Note that line containing the name is the only line that doesn't start with a pound sign. Also, it is expressed as a relative path.

2. Locate the log file and record its absolute path in the space provided. Hint: You can use the locate or find commands to obtain the absolute path.

III. Now that we've found the log file, let's put something into it that we should recognize.

1. Switch to the graphical user interface for your Fedora machine, log in, and open Firefox. Type the following URL into the address text box and press Enter:

https://localhost

Summarize the web page that is displayed by your browser.

2. Switch back to the command window. At the command prompt, type

grepCustomLog /etc/httpd/conf/httpd.conf

Record the name and location of the Apache log file in the space provided. Note that this value is expressed as a relative path in the Apache configuration file.

3. Open the log file using vi and the absolute path you previously recorded. Scroll down to the last entry in the log and record that entry in the space provided.

4. Based on your reading assignment and any information you can find about the log on the Internet, describe the various parts of the entry you recorded and what they are used for.

5. Exit out of vi.

IV. Now we'll do the same thing with the error log file.

1. typegrepErrorLog /etc/httpd/conf/httpd.conf at the command prompt, and then press Enter.

Record the name and location of the Apache error log file in the space provided. Note that this value is expressed as a relative path in the Apache configuration file.

2. Locate the error log file and record its absolute path in the space provided. Hint: You can use the locate or find commands to obtain the absolute path.

3. Switch to the graphical user interface for your Fedora machine, and open Firefox. Type the following URL into the address text box and press Enter:

localhost/pagenothere.html

Summarize the error message that is reported by your browser.

4. Switch back to the command line and open the error log using vi and the path for the error log that you recorded above. Scroll to the last entry in the log and record it in the space provided.

5. Compare the information in the log with the error message displayed by the browser. Do they match?

V. Next, we'll examine how we view logging for IIS 7.

1. Start your Windows Server 2008 virtual machine, and log in as administrator.

2. Verify that the date and time for your machine is correct. Windows virtual machines are better about keeping time, so this should not be a problem.

3. Open your Web browser, type localhost in the address text box. and press Enter. The home page for your Web site will display in the browser.

4. Navigate to the IIS manager, open your Web site in the left-hand pane, and double click on it. The icons associated with the features and settings for your Web site will display in the right-hand pane.

5. Under the IIS section, click on the Logging icon to open it. The Logging page will display.

6. Examine the current settings for logging and record the location of the log files in the space provided.

7. Navigate to the location you previously recorded where the log files are stored. You will see several log files.

8. Open the most recent log file and scroll to the bottom. Record the line with the most recent date in the space provided.

9. Using your text book and sources from the Internet, research each field in the line and record what each represents in the space provided.

Reference no: EM13864645

Questions Cloud

What is the role of politics in organizations : What is the role of politics in organizations and how does it play out in terms of decision making?
Seventeen guidelines for the strategic : Process to TABLE 1-2 Seventeen Guidelines for the Strategic-Paning -RATEGIC MANAGEMENT Be Effective t, it shoul¦.-1 N. a people process more than a paPer parnocicess. '. It should be a learning process for all managers employees. 3. It should be word..
Taxable income before the deduction : In the current year, Firm L purchased machinery costing $2,300,000 and elected to expense as much as possible under Section 179. How much of the expense can Firm L deduct under Section 179 if its taxable income before the deduction was $1,400,000?
Describes the basics of database planning : The link should be to an informative piece that describes the basics of one of the following: Database Planning, SQL, Access 2010, Queries and Form Design
Examine current settings for logging and record the location : Start process by logging into your virtual machine as root and opening a command window. At the command prompt, type yum install -y ntp and press Enter. The yum installer will install the ntp daemon, and you will return to the command prompt.
Totals for equivalent units of direct material-conversion : Hampton Textile Co., manufactures a variety of fabrics. All materials are introduced at the beginning of production; conversion cost is incurred evenly through manufacturing. Calculate the totals for equivalent units of direct material and conversion..
How do changes in technology affect innovation? : What are some of the steps that can be taken by managers to help develop an organization rich in creativity and innovation?
Two items of business personality during the year : Firm O purchased two items of business personality during the year. The first item cost $500,000 and has a five-year recovery period, and the second item also cost $500,000 and has a seven-year recovery period. Firm O wants to make the section 179 el..
Made with long-term borrowings instead of cash : Transaction 2: The $200,000 equipment purchase is made with long-term borrowings instead of cash. Transaction 3: The $20,000 in supplies are purchased with cash instead of on trade credit. Transaction 4: The $50,000 in services provided are immediate..

Reviews

Write a Review

Web Project Questions & Answers

  The emotional design model

The user experience framework can help designers constrain and scope the user experience of a given system. The user experience framework also informs about the relationship between a conceptual model and a user's understanding of it for past, c..

  Case study on usability of ipads and websites

The following report must be used for reference to complete this assignment. The Nielsen Norman Group published a report titled, "Usability of iPads and Websites." The report is a case study of the iPad usability

  Analyze the different phases

Analyze the different phases that will be required for the project. Your analysis should include the deliverables that will be submitted for each phase. Also provide a description for each phase and deliverables

  Create a web application test plan for web-based business

Create a Web application test plan based on a real-life scenario involving a Web-based business which processes credit card information

  Project on it-related ethical workforce issue

Write an organizational policy (a text-only report with a total minimum of 1,000 words) to address an IT-related ethical workforce issue that you wrote about in your matrix for the B1 assignment.

  Assignment of project report

Search any topic from internet to stimulate your idea and creativity. You might identify the main problems that the user faced in their daily life or analyze the weaknesses of existing THE college SIS and COLLEGE learning systems.

  Do you think your company has a right to do this

The sales team of Sand Shell Inc. consists of six persons who use the e-mail service extensively for their communication with clients. Bob, one of the salespeople, is going on a vacation.

  What is an example of funding for a project

What is an example of funding for a project that is only available for a short period of time under special circumstances?

  Discussion on future of web

Create a 1 or 2 screen prediction on what effects you think the Website, and in particular, the enormous amount of documents accumulating on the Web will play in your life, and your children's life in future.

  Employee accreditation activity project

Developing an Employee Accreditation Activity process is an important step toward the Network Enterprisers Corporation's (NEC) vision as a winning business in a competitive market.

  Patient portal project charter

While Panther Memorial has implemented an electronic medical record (EMR), our patients have never been provided with a patient portal.

  Identify characteristics that make good design effective

Identify the characteristics that make the good design effective and efficient. Include readability, use of colors, font, and the overall design of the website.

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