Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Planning, configuring, running and maintaining a web server -1."— Presentation transcript:

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 browser server HTML HTTP URL

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 planning—platform easy to install open standards, lots of online support runs on any PC architecture—wide range of peripheral hardware drivers available inexpensive, fast other criteria?

7 planning—web 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 files—Apache 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 directories—Apache conf, for configuration files logs, for logs html, for web pages cgi-bin, for programs

10 files—Apache configuration how httpd runs set ‘port’ for network access identify log files and other configuration files

11 Apache—checking 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 80 GET / HTTP/1.0


Download ppt "Planning, configuring, running and maintaining a web server -1."

Similar presentations


Ads by Google