Planning, configuring, running and maintaining a web server -1 - PowerPoint PPT Presentation

About This Presentation
Title:

Planning, configuring, running and maintaining a web server -1

Description:

... (using HTTP) in HTML format HYPER TEXT MARKUP LANGUAGE planning required server platform (what hardware and operating system should be used) ... – PowerPoint PPT presentation

Number of Views:146
Avg rating:3.0/5.0
Slides: 12
Provided by: George737
Category:

less

Transcript and Presenter's Notes

Title: Planning, configuring, running and maintaining a web server -1


1
Planning, configuring, running and maintaining a
web server -1
2
setting up a web server
  • brief review of how a web server works
  • planning required before setup
  • server files and directories
  • Apache configuration

3
how a web server works
  • information on web identified using a URL
  • UNIFORM RESOURCE LOCATOR
  • browser requests information from the server
    (defined by URL) using HTTP
  • HYPER TEXT TRANSFER PROTOCOL
  • server returns information to browser (using
    HTTP) in HTML format
  • HYPER TEXT MARKUP LANGUAGE

4
URL
HTTP
HTML
5
planning required
  • server platform (what hardware and operating
    system should be used)
  • web server and associated software
  • provision of sufficient expertise and other
    resources for chosen system
  • clear responsibilities
  • policies for updating information, acceptable
    use, etc.
  • more?

6
planningplatform
  • easy to install
  • open standards, lots of online support
  • runs on any PC architecturewide range of
    peripheral hardware drivers available
  • inexpensive, fast
  • other criteria?

7
planningweb software
  • Apache is world leader, has evolved from one of
    first web server programs (NCSA)
  • open standards, lots of online support
  • team of experts developing updates
  • runs on many computer platforms (at home with
    Unix)
  • inexpensive, fast
  • modular approach for loading new capabilities
  • other criteria?

8
filesApache
  • httpd, the server program
  • httpd.conf, main configuration file
  • access_log, log of all accesses
  • error_log, log of all errors
  • httpd.pid, contains process id of running server
    program

9
directoriesApache
  • conf, for configuration files
  • logs, for logs
  • html, for web pages
  • cgi-bin, for programs

10
filesApache configuration
  • how httpd runs
  • set port for network access
  • identify log files and other configuration files

11
Apachechecking
  • look at site with browser remotely
  • check httpd active processes on server
  • ps -ef grep httpd
  • checking problems, confirming restart
  • tail error_log
  • telnet to your_port on server and issue GET
    request followed by blank line
  • telnet ltservergt 80
  • GET / HTTP/1.0
Write a Comment
User Comments (0)
About PowerShow.com