Sign In
Sign In

Node.js

Node.js is an open-source, cross-platform runtime environment that lets you run JavaScript on the server side. Built on Google’s V8 engine, it uses a non-blocking, event-driven architecture for efficient handling of simultaneous requests. 

 

Node.js is known for its speed and scalability and is ideal for web applications, APIs, real-time systems like chats, and streaming services.

nodejs.org
Hostman Cloud

Software

In Hostman Marketplace, you can install Node.js on Ubuntu versions 18.04, 20.04, and 22.04. We recommend choosing Ubuntu 20.04 or 22.04 to get the latest Node.js version. For 18.04, we will use an older version for Node.js (v16.20.2).

When you select the Node.js image, we will install the following packages on your server:

Software

Version

  • Node.js

Latest LTS version

  • Git
  • MongoDB
  • Certbot
  • build-essential
  • npm
  • gcc
  • g++
  • make 
  • python3-certbot

Latest version available in the OS repositories

  • PM2

Latest version

We will also perform a basic setup:

  • Create a node user
  • Enable the UFW firewall 
  • Allow SSH connections and HTTP and HTTPS traffic 
  • Install a sample app in /home/node/hello-world and start it via PM2

Getting Started

To install Node.js on your server:

  1. When creating a new Hostman server or reinstalling an existing one, select MarketplaceNode.js
  2. Select a preferred Ubuntu version: 20.04 or 22.04.
  3. Finish creating your server.

Your server will be online in a couple of minutes. You can navigate to the server IP address in the browser to make sure the sample app works. If everything is installed correctly, you will see a simple "It works!" message.

To connect to the server via SSH, run:

root@<your server IP address>

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support