installation package download address:http://pan.baidu.com/s/1c0phur2
Download separately:
Nginx-1.6.2.tar.gz
Openssl-0.9.8zc.tar.gz
Pcre-8.21.tar.gz
Zlib-1.2.7.tar.gz
Upload to Linxu in the same directory via FTP
Execute the following statement to install:
1. Installing openssl-0.9.8zc.tar.gz
[Root@tianyi opt]# TAR-ZXVF openssl-0.9.8zc.tar.gz
[Root@tianyi opt]# CD OPENSSL-0.9.8ZC
[Root@tianyi openssl-0.9.8zc]#./config
[Root@tianyi openssl-0.9.8zc]# make
[Root@tianyi openssl-0.9.8zc]# make install
2. Installing zlib-1.2.7.tar.gz
[Root@tianyi opt]# TAR-ZXVF zlib-1.2.7.tar.gz
[Root@tianyi opt]# CD zlib-1.2.7
[Root@tianyi zlib-1.2.7]#./configure
[Root@tianyi zlib-1.2.7]# make
[Root@tianyi zlib-1.2.7]# make install
3. Installing pcre-8.21.tar.gz
[Root@tianyi opt]# TAR-ZXVF pcre-8.21.tar.gz
[Root@tianyi opt]# CD pcre-8.21
[Root@tianyi pcre-8.21]#./configure
[Root@tianyi pcre-8.21]# make
[Root@tianyi pcre-8.21]# make install
4. Installing nginx-1.6.2.tar.gz
[Root@tianyi opt]# TAR-ZXVF nginx-1.6.2.tar.gz
[Root@tianyi nginx-1.6.2]#./configure
[Root@tianyi nginx-1.6.2]# make
[Root@tianyi nginx-1.6.2]# make install
By executing the test statement ./nginx-t return result is successful surface mount succeeded
Then execute the following statement to start nginx
[Root@tianyi sbin]#./nginx
Pass
[Root@tianyi sbin] #netstat-NTLP can see the nginx port number.
Open the browser, enter the deployment of the Nginx computer IP as, you can see the Welcome page
The above describes the installation of Nginx Linxu detailed graphic tutorial-with the installation package download address, including the content, I hope to be interested in PHP tutorial friends helpful.