Question

How can a newbie connect and configure a VPS server, UBUNTU and Node js?

Help me. I’m new. Neither of which I do not know at all. I bought the VPS server for the first time. I absolutely do not know how to connect and configure the server. Please tell me which version of UBANTU is better to choose and Node js. And how to set it up. I would like to configure the server and using node.js with socket.io for instant chat application.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

@ephemer

When it comes to Ubuntu, I normally recommend the latest LTS (long-term support) release. That’d be 16.04 as of right now :-).

To get you started, I’d recommend the following guide which covers NodeJS installation on 16.04:

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04

In terms of connecting to your Droplet, you’d need to use a terminal emulator such as PuTTy (on Windows and Linux) or the Terminal application on MacOS.

If you’ve never used PuTTy, I’d check out:

https://www.digitalocean.com/community/tutorials/how-to-log-into-your-droplet-with-putty-for-windows-users

On MacOS, you’d open Terminal and run:

ssh root@ip

Where ip is your Droplet IP. You’d then be prompted for your root password.