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

August 3, 2017 3.5k views
Ubuntu 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.

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

by Etel Sverdlov
PuTTY is an open-source SSH and Telnet client for Windows. It allows you to securely connect to remote servers from a local Windows computer. This tutorial will cover how to connect to your Droplet from your local Windows computer using PuTTY.
Have another answer? Share your knowledge.

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