1

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..!!

2
  • You just need to install nodejs using npm or similar. Write your application to listen to a port (3000 as an example) and make your router forward that port to the linux server Commented Nov 5, 2016 at 7:55
  • You of course can install node.js on your own linux server. What problems have you had installing on linux? nodejs.org/en/download/package-manager/… Commented Nov 5, 2016 at 7:55

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.