1 From http://nginx.org/en/download.html or http://nginx.net/en/download.html
Wget http://nginx.org/download/nginx-0.6.38.tar.gz
2. Unzip and install:
Tar zxvf nginx-0.6.38.tar.gz
CD nginx-0.6.38
./Configure
Make
Make install
If the installation is normal, the following error occurs:
Configuration Summary
+ PCRE Library is not found
+ OpenSSL library is not used
+ MD5 library is not used
+ Sha1 library is not used
+ Using system zlib library
./Configure: error: the HTTP rewrite module requires the PCRE Library.
You can either disable the module by using -- without-http_rewrite_module
Option, or install the PCRE Library into the system, or build the PCRE Library
Statically from the source with nginx by using -- With-PCRE = <path> option.
The above prompt shows that the PCRE Library needs to be installed.
You can download one from below. I downloaded one from the beginning, but it still won't work. Later, the next version is high!
Ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
After the installation, enter the IP address in IE to access:
Http: // 192.168.1.200