Nginx build a linuxnginx configuration file in linux environment linuxnginx download nginx download linu

Source: Internet
Author: User
Linux, nginx: nginx build in linux environment 1: Download the nginx installation package. step 1: log on to nginx official website: nginx.org Step 2: Click the red font section to start downloading. Step 2: install the installation package on the linux server, I put it in the usrlocaldown directory and decompress it with the following command: 1. download the nginx installation package.

Step 1: Log onto nginx official website: http://nginx.org/


Step 2: Click the font in red to start downloading.

II. start installation

Step 1: put the installation package on the linux server, I put it in the/usr/local/down directory, and then decompress it with the following command ,:

Tar-zxvf nginx-1.9.15.tar.gz

Step 2: switch to the root user and install the necessary plug-ins: execute the following command:

Yum-y install gcc-c ++ autoconf automake make

Yum-y install zlib-devel openssl -- devel pcre-devel

III. check whether the installation is successful

Switch to the/usr/local/Directory. if The nginx directory exists, the installation is successful.


The above describes how to set up nginx in a linux environment, including Linux and nginx, and hope to help those who are interested in PHP tutorials.

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.