简体   繁体   English

在服务器上运行Node.js的要求

[英]Requirements to run Node.js on server

What type of server/service type supports Node.JS applications? 哪种服务器/服务类型支持Node.JS应用程序? Is we need to install node/npm on server. 我们需要在服务器上安装node / npm吗?

Does it need to be a dedicated server? 是否需要成为专用服务器?

Thank you in advance. 先感谢您。

我认为您不需要任何特别的东西,即使是带有Linux的随机Raspberry PI也可以托管NodeJS应用程序。

Node.js Application can be hosted on Linux,Windows or any other OS And for node.js Application there is basic minimum setup is required. Node.js应用程序可以托管在Linux,Windows或任何其他操作系统上,对于node.js应用程序,需要基本的最低设置。 like Node.js , git bash, npm etc. Node.js,git bash,npm等。

you can follow this link 您可以点击此链接

Since node.js have executable on Linux, Windows and Mac, the hardware will not be limited by what can run node.js, but by what your script need, and the workload you expect. 由于node.js在Linux,Windows和Mac上具有可执行文件,因此硬件不受可以运行node.js的对象的限制,而是受脚本需求和所需工作量的限制。

If you run a basic website with little trafic, a RPi will be enought, if you were to port Facebook or Google to node.js, you would still need complete dataserver. 如果您运行的网站流量很少,那么RPi就足够了,如果要将Facebook或Google移植到node.js,您仍然需要完整的数据服务器。

So the only limit is third party utilities and your own knowledge of the platform you use. 因此,唯一的限制是第三方实用程序和您对所使用平台的了解。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM