Summary : Apache is the world's most used Web server software, can be used for platforms such as Linux,unix,windows, especially for Linux support perfect
Advantages of Apache:
- Powerful, self-contained modules that can be compiled according to requirements.
- Simple formulation,
- Processing static paging files is highly efficient and can be applied to large concurrent and high-load access requests.
- Stable performance
Disadvantages of Apache:
- Only static pages are supported, not for JSP, and for dynamic PHP.
- In a process-based structure, a process consumes more overhead than a thread, because it is less suited to a multiprocessor environment.
Installation Environment: Cenos 6.5
Installation process: Yum-y Install httpd
Compounding: vim/etc/httpd/conf/httpd.conf
running directory for httpd
Record the httpd daemon process number
The time interval, in seconds, for the client and server.
Used to establish a permanent connection to the server, on indicates permanent, off is permanently off, default is off
Defines the maximum number of resources A TCP connection can make for HTTP requests, which works when KeepAlive is on.
Used to limit the time delay after the last request is completed in a single connection, and if this time is exceeded, the server disconnects.
The above two paragraphs are settings for the use of the Web server, Apache can be in Prefork and worker two modes, can be httpd-l to determine what kind of Apache is the mode of the
Apache Server Configuration