Step 1: Start a server with Ubuntu and root access

Log to your favorite cloud provider and spin up an Ubuntu 16.04+ server, log in as root so you can install everything you need, create an "application" user and configure NGINX

Step 2: Install everything that you need on the server

Start by installing build-essential so your server has all the needed tools

apt-get install build-essential

1. NodeJs 8+

Download it and unpack it

wget <https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-x64.tar.gz>
tar -xf node-v8.11.3-linux-x64.tar.gz

Copy the binaries into your bin folder

cp -a node-v8.11.3-linux-x64/bin /usr
cp -a node-v8.11.3-linux-x64/include /usr
cp -a node-v8.11.3-linux-x64/lib /usr
cp -a node-v8.11.3-linux-x64/share /usr

To verify that everything was installed correcty run node -v and npm -v. Review the most current version on https://nodejs.org/en/

2. MongoDb

This commands are from here: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

Import the public key used by the package management system.

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4

Create a list file for MongoDB.