1./configure--prefix=/export/shell/nginx: Installation directoryChecking for OS+ Linux 2.6.32-358.el6.x86_64 x86_64Checking for C compiler ... found+ using GNU C compiler+ gcc version:4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)Checking for gcc-pipe
1. Install nginx:
1. Install the pcre Library. The nginx rewrite template must be used in the pcre Library:
1. mkdir-p/works
2. cd/works
3. wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.20.tar.gz
4. tar-zxvf pcre-8.20.tar.gz
5 .
This article mainly introduces the Linux under the installation of Nginx compiler tutorial and compilation parameters, the need for friends can refer to the followingFirst, the necessary software preparation1. Installing PcreIn order to support the
First, the necessary software preparation1. Install PcreIn order to support the rewrite function, we need to install Pcre
Copy Code code as follows:
# yum Install pcre*/If you've already installed, please skip this step
2. Install
This article mainly introduces the Linux under the installation of Nginx compiler tutorial and compilation parameters, the need for friends can refer to the followingFirst, the necessary software preparation1. Installing PcreIn order to support the
IneedtocompilefewapplicationandIneedPerl5CompatibleRegularExpressionLibrary (PCRE). UnderCentOSIcanuseapackagecalledpcre-devel, butDebiandonothavethesame. HowdoIinstall
I need to compile few application and I need Perl 5 Compatible Regular
I need to compile some applications and Perl5 compatible regular expression library (PCRE ). In CentOs, I can use a pcre-devel, But Debian is different. How can I install pcre-devel in Debian/UbuntuLinux? Perl-compatibleregularexpressionlibr I need
InstallationFirst, the installation of Nginx must install the appropriate compilation toolsYum-y install gcc gcc-c++ autoconf automakeYum-y install zlib zlib-devel OpenSSL openssl-devel pcre-develSet up Nginx GroupGroupadd-r
There are a lot of content, one eye seems to be confused, but insist on reading, I believe you will have some gains.Nginx parameters:--prefix= point to the installation directory--sbin-path point (Execute) program file (nginx)--conf-path= point to
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
Nginx parameters:--prefix= point to the installation directory--sbin-path point (Execute) program file (nginx)--conf-path= point to the configuration file (nginx.conf)--error-log-path= Point to the error log directory--pid-path= point to the PID
Nginx Compile install download install package nginx-1.3.15.tar.gz tar zxvf nginx-1.3.15.tar.gz cd nginx-1.3.15/compile./configure--user=www--group=www--prefix=/usr/local/nginx\--with-http_stub_status_module--with-http_ssl_module Make && make
"Ready to Work"#在编译安装lnmp之前, first uninstall the existing RPM package.
The code is as follows
Copy Code
RPM-E httpdRPM-E MySQLRpm-e PHPYum-y Remove httpdyum-y Remove Mysql-server MySQLYum-y Remove PHPYum-y Remove
I. Process of dependence
1. Gzip module requires zlib library
2. Rewrite module requires Pcre library
3. SSL support requires OpenSSL library
Second, the CentOS Platform compilation Environment uses the following instructions, if CentOS is
: This article describes how to install nginx source code. For more information about PHP tutorials, see.
Nginx can be installed using the default packages on various platforms. This article describes how to use the source code for compilation
Nginx parameters:--prefix= point to the installation directory--sbin-path point (Execute) program file (nginx)--conf-path= point to the configuration file (nginx.conf)--error-log-path= Point to the error log directory--pid-path= point to the PID
First, the necessary software preparation1, installation PcreIn order to support the rewrite feature, we need to install Pcre# yum Install Pcre-devel2. Installing OpenSSLRequires SSL support, skip this step if SSL support is not required# yum
System based onubuntu server 14.04.4 amd64
Install the first step download and unzip the Nginx compressed packageDownload Nginx from Nginx website, or perform wget http://nginx.org/download/nginx-1.10.1.tar.gz direct download on LinuxUnzip the
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.