简体   繁体   English

如何在Godaddy VPS服务器中安装Node.js应用程序?

[英]How to install nodejs application in godaddy vps server?

我已经在本地系统中成功运行了node.js应用程序,现在我想将其应用程序托管在godaddy vps托管中。这是centos服务器,那么如何安装和运行node js?

I also have this problem in GoDaddy and their support is not good at least for technical things. 我在GoDaddy中也遇到了这个问题,他们的支持至少对于技术方面不是很好。 but that is just for sharing. 但这只是为了分享。 if you going with VPS then this is like home PC in GoDaddy infrastructure. 如果您使用VPS,则就像GoDaddy基础架构中的家用PC。 so that will not have the problem. 这样就不会有问题。 second, this is based on the server os. 其次,这是基于服务器操作系统的。 may be you are using centOS. 可能是您正在使用centOS。 so link 所以链接

that work for me. 对我有用。 second and most important that nodeJs are not that type of application that has to be there in root so if you have something problem in permission then you can download and work nodeJs anywhere you want. 第二个也是最重要的一点是,nodeJ并不是必须存在于根目录中的那种类型的应用程序,因此,如果您在权限方面遇到问题,则可以在任何需要的地方下载和使用nodeJ。 by just calling like /your path/node app.js or /your path/npm start 只需调用/ your path / node app.js或/ your path / npm start

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

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