Installing Nginx under Windows

Source: Internet
Author: User

    1. First go to the official website to download Nginx The latest version of Windows, as follows:

Http://nginx.org/download/nginx-1.6.3.zip

After downloading to the package, unzip the Nginx-1.7.6.zip package to your favorite root directory and change the directory name to Nginx

650) this.width=650; "style=" float:left; "src=" http://s3.51cto.com/wyfs02/M02/60/0E/ Wkiom1uqeaqxbjdmaafkymurr48255.jpg "title=" 1.png "alt=" Wkiom1uqeaqxbjdmaafkymurr48255.jpg "/>

2. Then, under the command line, switch Nginx's home directory to do the following:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/60/1C/wKiom1Uqe-Xx_91dAAJGLYM5YrE522.jpg "title=" 2.png " alt= "Wkiom1uqe-xx_91daajglym5yre522.jpg"/>

3. In this way, the Nginx service is started. Open Task Manager to view the Nginx.exe process, with two processes showing

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/60/1E/wKiom1UqfFrSI3GyAAGUAyPQQME583.jpg "title=" 3.png " alt= "Wkiom1uqffrsi3gyaaguaypqqme583.jpg"/>

4. Then open the browser, enter http://127.0.0.1, you can see the Welcome page of Nginx. As follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/60/1B/wKioL1UqfiKSLEh7AAIGI5dddgM383.jpg "title=" 4.png " alt= "Wkiol1uqfiksleh7aaigi5dddgm383.jpg"/> In fact, we can also do the following on the command line nginx:

Exactly the same as Linux:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/60/1C/wKioL1UqfpuS6MlrAAGtARYEDxc437.jpg "title=" 5.png " alt= "Wkiol1uqfpus6mlraagtaryedxc437.jpg"/>

The next step is to configure the Nginx conf file. The Nginx configuration file under Windows is the same as the Linux configuration file.

This article is from the "Linux Revolution" blog, so be sure to keep this source http://kaibinyuan.blog.51cto.com/7304008/1631644

Installing Nginx under Windows

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.