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

Blog

Guides for your server.

Hands-on tutorials on Linux, security, networking, and game servers, written so you can follow along step by step.

How to Install Java on Ubuntu

  • Xernode
  • 1-minute read
  • linux

For most VPS services, distro OpenJDK LTS is enough — no paid Oracle JDK required.

Steps

  1. Install OpenJDK 21 (LTS) and basic tools:

    sudo apt update
    sudo apt install -y openjdk-21-jdk
    java -version
    javac -version
  2. If several JDKs exist, pick the active one:

… Read the complete guide

How to Set Up Cron Jobs in Linux

  • Xernode
  • 1-minute read
  • cron

cron runs jobs on a fixed schedule. On Ubuntu/Debian you edit the user (or root) crontab and you are done.

Steps

  1. Open the current user’s crontab:

    crontab -e
  2. Format: minute hour day-of-month month day-of-week command. Example daily at 04:00:

    0 4 * * * /usr/local/bin/vps-backup.sh

Tips

… Read the complete guide

How to Install Redis on Ubuntu

  • Xernode
  • 1-minute read
  • redis

Redis is an in-memory cache and queue. On Ubuntu the redis-server package is enough to start locally.

Steps

  1. Install and start Redis:

    sudo apt update
    sudo apt install -y redis-server
    sudo systemctl enable --now redis-server
  2. Check that it answers:

    redis-cli ping

Tips

… Read the complete guide