Register Nginx as a Windows system server. 1. download Microsoft's two tools: Composer. It includes all the necessary tools mentioned in the title. download and install them ....
Register Nginx as a Windows Server 1. download two Microsoft tools: instsrv.exew.srvany.exe go to the Microsoft website to download and install Windows Server 2003 Resource Kit Tools(rktools.exe). It includes all the necessary tools mentioned in the title. after the installation, download and install them. Http://download.microsoft.com/download/8/e/c/8ec3a7d8-05b4-440a-a71e-ca3ee25fe057/rktools.exe www.2cto.com 2. run the command in the rktools installation directory (generally in the C: \ Program Files \ Windows Resource Kits \ toolsdirectory, you can find these two programs. copy srvany.exe to the nginx installation directory (decompress) and run: open the command line and enter the following command instsrv Nginx D: \ nginx \ srvany.exe to install a service named Nginx. Also, register srvany.exe as a service Nginx. Net start nginx, you are willing to run srvany.exe
3. configure the Nginx running parameters to run the "E: \ wwwroot \ nginx \ nginx.exe" program. Www.2cto.com can directly import the configuration to the Registry Window register code Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ NGINX \ Parameters] "Application" = "e: \ wwwroot \ nginx \ nginx.exe "" AppParameters "=" AppDirectory "=" e: \ wwwroot \ nginx \ "Parameters is newly added. now you can find the service in Control Panel> Administrator tools> service and start and stop it. Author Li Kai
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