Installation Environment
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/EE/wKioL1bzgTDiDHjIAAAJuCA1vYs492.png "title=" Qq20160324135159.png "alt=" Wkiol1bzgtdidhjiaaajuca1vys492.png "/>
installation process
1. Install PCRE, otherwise the 3rd step will be error, "The HTTP rewrite module requires the PCRE library"
Yum-y Install Pcre-devel OpenSSL openssl-devel
2. Download the Code
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz
3. Automatic configuration
./configure
4. Build
Make
5. Install, install to/usr/local/nginx/sbin/by default
Make install
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/F1/wKiom1bzfxPyiIwoAABS5Q9T42k130.png "title=" Qq20160324134535.png "alt=" Wkiom1bzfxpyiiwoaabs5q9t42k130.png "/>
6. Add the PATH environment variable
vim/etc/profile# Add export path=/usr/local/nginx/sbin: $PATH
This article is from the "self-reliance, tenet" blog, please be sure to keep this source http://wangzhichao.blog.51cto.com/2643325/1754659
CentOS Compiler Installation Nginx