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 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

How to Install the Apache Web Server

  • Xernode
  • 1-minute read
  • apache

Apache remains a common choice for PHP and VirtualHosts. Minimal install on Ubuntu/Debian.

Steps

  1. Install Apache:

    sudo apt update
    sudo apt install -y apache2
  2. Enable the service:

    sudo systemctl enable --now apache2
    sudo systemctl status apache2

Tips

… Read the complete guide

How to Reset MySQL Root Password

  • Xernode
  • 1-minute read
  • mysql

If you forgot the MySQL/MariaDB root password, restart without privilege tables, set a new hash, then return to normal mode.

Steps

  1. Stop MariaDB/MySQL:

    sudo systemctl stop mariadb
  2. Start in recovery mode (MariaDB example):

    sudo mysqld_safe --skip-grant-tables --skip-networking &

Tips

… Read the complete guide

How to Change the Hostname in Linux

  • Xernode
  • 1-minute read
  • linux

A clear hostname helps with logs, monitoring and certificates. On modern Ubuntu/Debian (systemd) use hostnamectl.

Steps

  1. Check the current name:

    hostnamectl
  2. Set the new hostname (short name or FQDN label):

    sudo hostnamectl set-hostname vps-madrid-01

Tips

… Read the complete guide