" provides development tools (make, GCC, etc. ) and development environment (Development Library, header file, standard library, etc.)Since httpd-2.4 need to rely on apr-1.4 and apr-util-1.4 more than the version, so we first compile and install the two source code. APR full name Apache Portable runtime (Apache Portable Runtime). Provides an underlying support interface library that can be used across multiple operating system platforms primarily for
After installing APACHE-HTTPD, the start times error is as follows:[[Email protected] app]# service httpd startstarting Httpd:httpd:apr_sockaddr_info_get () failed for ppthttpd:could not Reliably determine the server ' s fully qualified domain name, using 127.0.0.1 for ServerName [OK]Resolved as follows:1. Edit the httpd configuration file,Vim/etc/
Check the environment (turn off the firewall and change the SELinux status to ensure access to the outside world):
[[email protected] ~]# iptables-f//-f rep shuts down the firewall anyway, production environment is not recommended[Email protected] ~]# IPTABLES-VNLChain INPUT (Policy ACCEPT 5 packets, 448 bytes)Pkts bytes Target prot opt in Out source destination
Chain FORWARD (Policy ACCEPT 0 packets, 0 bytes)Pkts bytes Target prot opt in Out source destination
Chain OUTPUT (Pol
GIS image cutting performance tuning and GIS image Performance TuningStatus Quo and objectives
DellR920 Server, virtualized vmware vsphere 5.5 system, Guest System Windows Server 2012 R2. Deploy software ARCGIS 10. Image graph cutting test: the original cut takes 70 hours, And now it takes 17 hours. There is still room for further optimization. Debugging objectives:
1. Verify the optimal graph cutting parameter configuration in the virtualization env
timeout; b read timeout; c write timeout);2.2. Parallelization of the serial request;A) use of curl_multi_* ();b) Use the swoole extension.
3. compress the PHP interface output:Using gzip compressionBenefits: Facilitates faster reception of data by client side;Cons: Extra CPU overhead
4. Cache Duplicate content: multiple requests, the content is not changed under the circumstances;
5.smarty Tuning and time window overlap ideas (which can be used in c
Performance optimization is to improve the system performance, reduce energy usage, or reduce the impact of applications on other parts. If the optimization is hasty or there is no measurement, of course, performance optimization may have a bad effect.
Performance optimization is to improve the system performance, reduce energy usage, or reduce the impact of applications on other parts. If the optimization is hasty or there is no measurement, of course, performance optimization may have a bad e
/run/php-fpm.pid defined PID fileService PHP-FPM Start------------------------------------------------------FPM Default authentication on port 9000Configure HTTPD
Enabling the relevant modules for httpdAfter Apache HTTPD 2.4 has a module specifically for the implementation of the FASTCGI, this module is mod_proxy_fcgi.so, it is actually as an extension of the mod_proxy.so module, so the two modules
Preface: A long time ago loaded once, and then rest for a while and need to use, found that they have forgotten almost, hence the article. One installation Instructions 1.1 Environment [Email protected] ~]# lsb_release-alsb Version:: Base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:Graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchdistributor id:centosdescription: CentOS Release 6.6 (Final) release:6.6codename:final 1.2 Installing user root 1.3 Installatio
If you are browsing Baidu, or Google is not difficult to find, these sites have achieved the total station Https,https relative to HTTP, due to the increased SSL tunneling mechanism, security has been greatly improved, so the whole station HTTPS will be the trend of the future site, and httpd default is not support HTTPS, because HTTPD has a strong module support, here we
The cluster is actually very simple, let's say what parts of the Httpd+tomcat cluster should be aware of:First things to use haveapache-tomcat-8.0.32:http://tomcat.apache.org/download-80.cgihttpd-2.4.18-x86-vc11-r3/apache24:http://httpd.apache.org/download.cgi Http://apache.opencas.org//httpd/binari Es/win32/http://www.apachehaus.com/cgi-bin/download.plxtomcat-connectors-1.2.40-windows-i386-
First, the preparatory workInstall the Development Kit group and the required packages:[Email protected] apr-util-1.6.0]# Yumgroupinstall "Development tools" [[email protected] apr-util-1.6.0]# Yum install E Xpat-devel[[email protected] httpd-2.4.28]# yum install pcre-devel openssl-develNote: The httpd-2.4.28 version needs to rely on more than apr-t.4 versions, and CENTOS6 installs the apr-1.3 version by de
Software version:Pcre-8.36.tar.gzApr-1.5.1.tar.gzApr-util-1.5.4.tar.gzhttpd-2.4.12.tar.bz2Mysql-5.6.24.tar.gzLibxml2-2.7.8.tar.gzLibpng-1.5.12.tar.gzFreetype-2.4.10.tar.gzJpegsrc.v7.tar.gzGd-2.0.35.tar.gzPhp-5.4.39.tar.gzBaidu Cloud: Http://pan.baidu.com/s/1dDGT9KHSummary of steps:1. Apache2. mysql3. php4. VerificationRemark :All operations (not specified) are in the following:/USR/LOCAL/SRC is the operating directory, and all packages are in this directory.Specific steps: Installing ApachePacka
---restore content starts---9 , log Settingserror log:Errorlog logs/error_log//The relative path is used here, relative to the/etc/httpd/pathLogLevel warn//Define the logging level, indicating the level at which this level is recorded, the higher log level will be recordedLog levels: Debug, info, notice, warn, error, crit, alert, Emerg (default is Warn)Access log:Customlog Logs/access_log Combined//conbined is the log format, which is the followingLog
following is the interpretation of the/etc/init.d/httpd script, the unknown is also hope that everyone understanding, you are welcome to criticize the advice.
#!/bin/bash
#
# httpd Startup script for the Apache HTTP Server
#
# Chkconfig:-85 15
# Description:apache is a world Wide Web server. It is used to serve \
# HTML files and CGI.
# PROCESSNAME:HTTPD
# config:/etc/
First, httpd-2.4 Features OverviewReference website Information: http://httpd.apache.org/docs/2.4/new_features_2_4.html1.httpd-2.4 official Announcement new Features ( full )(1) MPM support the operation of the DSO mechanism, in the form of modules on demand loading; (2) Support event-driven,eventmpm Module production environment is available ;(3) Support asynchronous read and write; (4) support each mod
#下载pcre最新版本的Http://sourceforge.net/projects/pcre/files/pcre/#下载apr and Apr-util The latest version (note, here is the download of two)http://apr.apache.org/download.cgi#下载httpdhttp://mirror.bit.edu.cn/apache/httpd/4 files#注以上只给链接地址, you can choose the appropriate version, where the installation is the latest stable version#安装编译工具Yum install-y gcc gcc-c++#解压4个文件TAR-ZXVF apr-1.5.2.tar.gz tar-zxvf apr-util-1.5.4.tar.gz tar-zxvf pcre-8.37.tar.gz tar-zxvf
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.