Knowledge Base

    Guides, tutorials, and answers to help you get the most out of Xitoring.

    117 articles found

    DevOps & Workflow

    Backup and Restore a GPG Key on Linux

    "Back up my GPG key" sounds like one command, but a working restore actually needs four pieces — the public key, the secret key, the ownertrust database, and a revocation certificate. Miss any one and you end up on a new box with keys that exist but don't decrypt, don't sign, or are flagged "unknown trust." This guide walks the full backup-and-restore loop on Linux, with the exact gpg invocations, the right import order, a worked end-to-end example, and the failure modes that surprise people the first time.

    linuxgpgbackupsecuritysysadminencryptionkey-managementdisaster-recovery
    DevOps & Workflow

    Troubleshoot Linux Using dmesg

    When something goes wrong on a Linux box — a disk drops, a service gets killed, the network card resets, a process segfaults — the kernel almost always wrote the reason into the ring buffer before anything else noticed. `dmesg` is how you read that buffer. This guide covers how to read it well: the right filters, the right time format, what each common message class actually means (OOM killer, block-layer errors, MCEs, USB resets, segfaults), and the workflow for going from "the box is misbehaving" to "this specific line in dmesg is the root cause."

    linuxdmesgtroubleshootingkernelsysadmindebugginglogsobservability
    Server Monitoring

    How to check running processes on Ubuntu Server

    Every Ubuntu Server question that starts with "why is the box slow?" or "what's listening on that port?" ends in the same place — looking at the process table. This guide covers `ps`, `top`, `htop`, `pgrep`, `systemctl`, the `/proc` filesystem, and how to map a noisy process back to the port, file, or service that owns it, with the commands and flags that actually earn their keep on a production server.

    ubuntulinuxprocessespstophtopsystemdsysadmintroubleshooting
    DevOps & Workflow

    Add a User to Sudoers in AlmaLinux/Rocky Linux

    Granting sudo on AlmaLinux or Rocky Linux is a one-liner — but the right shape of that grant (wheel group vs `/etc/sudoers.d/`, password vs NOPASSWD, all commands vs a narrow list) decides whether the next admin inherits a clean setup or a footgun. This guide walks through every common way to add a user to sudoers on RHEL-derived distros, how to verify the grant works, and how to avoid the classic mistakes that lock you out of the box.

    linuxalmalinuxrocky-linuxrhelsudosudoerssecuritysysadmin