简体   繁体   English

如何将Node Js,Express和Mongo DB应用程序部署到Windows Server 2012 R2

[英]How to deploy Node Js ,Express,and Mongo DB app to the Windows server 2012 R2

我已经使用Express,Node.JS和mongo db创建了一个应用程序。我想将其部署在Windows Server 2012 R2上。请告诉我该过程。

I use IIS NODE Hosting node.js applications in IIS on Windows . 在Windows的IIS中使用IIS NODE Hosting node.js应用程序 The installation process is very straightforward, yet, If any questions, please install the sample projects as described on the product repo or refer to the IIS Node HowTos 安装过程非常简单,但是,如果有任何疑问,请按照产品库中的说明安装示例项目,或者参考IIS Node HowTos。

I use the configuration you mentioned but with SQL (for the moment). 我现在使用您提到的配置,但是使用SQL。

hope it helps. 希望能帮助到你。

You will have to keep the Node Process running. 您将必须保持节点进程运行。 The best way is to use process managers like PM2 You can directly deploy using PM2 or You can use IIS/Apache as a gateway server. 最好的方法是使用PM2之类的流程管理器。您可以直接使用PM2进行部署,也可以使用IIS / Apache作为网关服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 windows server 2012 中部署 node js - How to deploy node js in windows server 2012 节点 JS 和 SQL 服务器 2008 R2 Express - Node JS and SQL Server 2008 R2 Express 在Windows上部署Node JS REST APi Mongo DB - Deploy Node JS REST APi Mongo DB on Windows 如何使用无服务器在 Node js express 服务器中建立与 mongo db 的连接? - How to establish connection to mongo db in a Node js express server using serverless? 错误:在天蓝色服务器上侦听EACCES 0.0.0.0:80节点(Windows server 2012 r2) - Error: listen EACCES 0.0.0.0:80 Node on azure server (Windows server 2012 r2) 如何在没有`gcloud app deploy`的情况下在GCP上部署Node.js express服务器? - How to deploy Node.js express server on GCP whithout `gcloud app deploy`? 如何在AWS EC2上部署Node.js Express服务器+ Vue.js应用程序 - How to deploy Node.js Express server + Vue.js app on AWS EC2 Electronjs + Reactjs | Window 服务器 2012 R2 在应用程序启动时挂起(白屏),在 windows 10 和 windows 服务器 201 上工作正常 - Electronjs + Reactjs | Window server 2012 R2 hangs on app launch (white screen), works fine on windows 10 and windows server 2019 在 windows 服务器 2012 r2 上运行电报机器人的问题 - Problem with running telegram bot on windows server 2012 r2 strongloop无法在Windows Server 2012 R2上安装 - strongloop fails to install on Windows Server 2012 R2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM