Nginx Windows: How To Install

how to set up windows 10
Nginx is definitely a high performance web server that has the ability to handle a huge number of requests per second with little hardware requirements. It can be set up on any main system and it provides an open source application at the same time.

As almost as much as Nginx is setup and supported for Windows, it lets you do come with numerous issues which limit it’s performance. We highly recommend that you setup Nginx on the Linux server. You can get moving on our cloud servers for one few dollars every month.

We’re likely to go over how to put in Nginx for Windows and we will also cover the facts of tips on how to set it up like a service within Windows, thus it can start automatically.. You will need to have full Administrator entry to the machine that you just will be setting up at the same time to continue.

Download & Extract Nginx



Nginx comes pre-compiled for Windows rendering it extremely an easy task to get started. If it didn't come pre-compiled, you'll have to have a compiler attached to your computer that has a full environment. Fortunately, this may not be the case. At the time of this information, the newest Nginx version is 1.5.4 so we’ll download it from this point:

Download Nginx Windows



Once you’ve downloaded Nginx for Windows, you may extract it for your folder of preference, we recommend you install it somewhere readily available such as C:nginx.

Verify Nginx Windows Installation



In order to make certain the service is dealing with no problems, we recommend that you simply start a command prompt window and type this, make sure that you simply update the way if you’ve installed it in another folder.

You must be able to go to http://localhost/ and you need to see the “Welcome to Nginx” default page. If you see that page, only then do we can be sure that Nginx may be installed properly. We will now shut it down and install it being a service, to quit it, you may use this command.

Now, if you've been using Nginx to be a simple development server, you may use these simple commands to start out and stop the server as you have. However, if you are using it like a production server, you would want to put in it as being a Windows service, that is what we’re covering over the following step.

Install Nginx Windows Service



We will likely be using the WINSW project to develop a service out of your existing Nginx binaries. The first step should be to download it from the subsequent URL and save it inside same folder as Nginx as nginxsvc.exe.

Download WINSW



how to set up windows 10Once that is certainly setup, you will need to develop a service file, please be sure to develop a file using the name nginxsvc.xml and with this contents:

You at the moment are ready to put in the Windows service, you'll be able to proceed to run the subsequent command:



You can now check out manage the service out of your service manager. The easiest and fastest means to access it should be to type the next in your command prompt:

You really should be all setup and done after all this. You have Nginx being a service and you'll be able to set it up to get started on automatically when it can be booted with your operating-system!

Launching New Container Services Featuring Kubernetes

An Introduction to Kubernetes

Kubernetes Vs. Docker Swarm: A Comparison of…

Cloud 101: What is the Public Cloud?
Next Post Previous Post
No Comment
Add Comment
comment url