Install openssh under linuxas4u2-Linux Enterprise Application-Linux server application information. The following is a detailed description. I. Preparations
1. Installation Package (preferably
Nginx can be installed using the default packages of each platform, this article is to introduce the use of source code compilation installation, including specific compilation parameters information.Before the official start, the compilation
System:
CentOS
First of all, install gcc,gcc-c++, make and other compile tools
Y um install XXXX
Installation of Nginx
Module Dependencies Nginx need to rely on the following 3 a bag
1. Gzip module requires zlib library (Download:/ http/
: This article describes how to set up the LNMP environment-Nginx. For more information about PHP tutorials, see.
1. Nginx configuration file test
root@kallen:/usr/local/nginx/sbin# nginx -t nginx: the configuration file /etc/nginx/nginx.conf
How does PHP enable compression and output for websites to increase website access speeds. Share Two Ways to compress page output data to speed up webpage access, one is to use phpzlib extension to implement gzip compressed page output (use the php
: This article describes how to install and deploy Nginx in CentOs. For more information about PHP tutorials, see. System: centOS
First, install gcc, gcc-c ++, make, and other compilation tools.
Yum install XXXX
Nginx installation
Module-dependent
These three functions are simple calling methods of the three algorithms for better name presentation. The three functions can achieve the same effect by specifying the same encoding, and PHP also provides the zlib_encode function as a common
In linux, zlib must be enabled. The following describes how to enable this function.1. Download and install zlibHttp://www.gzip.org/zlib/Decompress the tar package and enter the directory to execute the command:./Configure & make install 2. Add the
LNMP environment setup-Nginx, lnmp build nginx
1. Nginx configuration file test
root@kallen:/usr/local/nginx/sbin# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is
LNMP environment setup-Nginx, lnmp build nginx
1. Nginx configuration file test
root@kallen:/usr/local/nginx/sbin# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is
1 . Confirm that the environment required to build the lamp has been installed
[ROOT@CENTOS6 ~]# rpm-q make gcc gcc-c++ zlib-devel Libaio
Note: installation libpng need zlib-devel
need Libaio When installing MySQL
Install Nginx RPM package under CentOS Www.169it.com1 Download an RPM package on the Nginx official website, yes: http://nginx.org/en/download.htmlwget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm2
CentOS 6.7 compilation and installation of LAMP
CentOS 6.7 compilation and installation of LAMP
I. Prepare the environment and Software Package
[Root @ bkjia ~] # Cat/etc/RedHat-releaseCentOS release 6.7 (Final)[Root @ bkjia ~] # Uname-rm2.6.32-573.
Under phpora16, PHP 5.4 Compilation and Installation notes are reinstalled today. By the way, I will try 5.4. most of the software involved during this period is the latest stable version. Note that a compilation parameter of PHP is -- with-gd =
Mrtg can be used to monitor linux parameters. If you do not understand the parameters, you can search for them. Today I will mainly explain his setting method.I. Initial Release(1) MRTG must be based on the SNMP service. Therefore, make sure that
I have just installed ubuntu server14.04. Now I want to install a web server. Use the nginx Application Server for static purposes. The performance is outstanding.
Install the compiling environment
Here we use the source code compilation and
Generally we need to first install Pcre, Zlib, the former in order to rewrite rewrite, the latter in order to gzip compression.1. Select the source directoryCan be any directory, this article is selected/USR/LOCAL/SRCCd/usr/local/src2. Installing
PHP compression function implementation: gzencode, gzdeflate, and gzcompress use ZLIB_ENCODING_GZIP encoding by default and gzip compression format. In fact, the defalte algorithm is used to compress data, and the file header and adler32 are added
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.