EnvironmentSystem: CentOS 7.3apache:2.4.27modjk:1.2.42tomcat:8.5jdk:1.8.92apr:1.6.2apr-util:1.6.0Turn off all firewalls and selinuxSystemctlstop Firewalldserviceiptables Stopsetenforce0First,Installing Apache1. Installation DependenciesYum-y
Install some necessary mod for Apache
PS:Apache powerful points out that it is convenient plug-ins and module technologies. Some of the modules installed here are not commonly used but very good, including mod_evasive, which prevents server
Web server software installation sequence: Mysql --> Apache (httpd) --> PHPApache: http://www.apache.org/dist/httpd/
Decompress the package and enter the decompressed directory. Execute:
. /Configure -- prefix =/home/apache -- enable-so --
++ How to set the request wait timeSet in httpd. conf:Timeout nN is an integer in seconds.
++ How to receive the total time of a GET requestTime Between the TCP packet that receives a post and put requestResponse (ACK) interval during TCP packet
+ + How to set request Wait timeInside the httpd.conf set:TimeOut Nwhere n is an integer and the unit is seconds.
+ + How to receive the total time of a GET requestThe time between the TCP packets that receive a post and put requestResponse (ACK)
Apache Configuration
The Apache configuration is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic configuration)
(1) Basic configuration:
1 Installation
The yum or apt-Get method is not described here. The following describes the source code installation problems.
In Linux, the source code is usually installed. /configure; Make; make install. however, because different versions depend
In ubuntu and debian, the main functional modules of apache2 (MPM) are divided into different software packages:
Apache2-mpm-event: event-driven MPM;
Apache2-mpm-perchild: This is just a transitional "fake" software package that relies on
In ubuntu and debian, the main functional modules of apache2 (MPM) are divided into different software packages, which are: Apache2-mpm-event: Event-driven MPM; apache2-mpm-perchild: this is just a transitional...
In ubuntu and debian, the main
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.