(source code compiler installation) how to install nginx, PCRE, zlib, OpenSSL in
How to install nginx on Linux, pcre, zlib, openssl
- |
- Browse: 2911
- |
- To update: 2012-03-10 17:58
How to install nginx, PCRE, zlib, OpenSSL tools in the Linux system
Tools / raw material
-
Loading the Linux system computer
-
nginx, pcre, zlib, The tool such as OpenSSL download address
Procedure / method
-
1
Need to install PCRE database installation before installing nginx
Download FTP://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
tar –zxvf pcre-8.21.tar.gz, Unzip to: pcre-8.21
And then into the CD pcre-8.21, configure, compile, install
To configure
./Configure or/config
Compile
make
Installation
make install
-
2
Install the zlib library installation
tar -zxvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure
make
makeinstall
-
3
Install the openSSL Library
The download page:
tar –zxvf openssl-1.0.0.tar.gz, Unzip to: openssl-1.0.0
And then into the CD openssl-1.0.0, configure, compile, install
To configure
./Configure or/config
Compile
make
Installation
make install
-
4
The above three base to ensure that the installed next to install nginx
tar zxvf nginx-1.1.12.tar.gz
cd nginx-1.1.12/
./configure --user=root --group=root--prefix=/usr/local/nginx--with-http_stub_status_module --with-openssl=/usr/local/ssl/include/openssl
make && make install
cd ../
After the installation is completed in /usr/local will have a nginx directory
Posted by Hugh at March 16, 2014 - 2:44 PM