Linxu installation Nginx Detailed illustration tutorial-included installation package download address

Source: Internet
Author: User
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.

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.