reachtokish
reachtokish

Reputation: 356

How to run node js in my linux based server?

I'm finding an answer for couple weeks. My question is that, is there any process to run node js in my linux based server. I know that there is amazon or digital ocean which have in build system which run node js in their own but is there any process by which node js will run in my own linux based server?

Thanks in advance..!!

Upvotes: 1

Views: 297

Answers (1)

galkin
galkin

Reputation: 5519

1) You need install node.js. Better to do this with NVM, then you will able to change Node.js version very easy. Also current long term support Node.js version is 6.9.1, so use this one.

2) You need some process runner for better stability in your backend. My offer is to use pm2.

Upvotes: 1

Related Questions