Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server
Xernode/ Blog/#nodejs

Blog

#nodejs

Posts tagged with “nodejs”.

How to Set Up a Static Site with Gatsby

  • Xernode
  • 1-minute read
  • linux

Gatsby builds React static sites. On a VPS you compile once and serve HTML/JS/CSS with Nginx.

Steps

  1. Ensure Node.js LTS and the Gatsby CLI:

    node -v || (curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && sudo apt install -y nodejs)
    sudo npm install -g gatsby-cli
    gatsby --version
… Read the complete guide

How to Install Node.js on Ubuntu

  • Xernode
  • 1-minute read
  • linux

ode.js runs JavaScript on the server (APIs, bots, front builds). On a VPS pick a stable LTS release.

Steps

  1. Add the NodeSource LTS repo (22.x example) and install:

    curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
    sudo apt install -y nodejs
  2. Check versions:

… Read the complete guide