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/#linux

Blog

#linux

Posts tagged with “linux”.

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 Python on a VPS

  • Xernode
  • 1-minute read
  • linux

Python 3 powers scripts, APIs (FastAPI/Django) and DevOps tooling. Use venv so project deps stay off the system Python.

Steps

  1. Install Python, pip and venv:

    sudo apt update
    sudo apt install -y python3 python3-pip python3-venv
  2. Check versions:

    python3 --version
    pip3 --version
… Read the complete guide