Skip to content

Basics overview

Every chapter starts with a basics page: the concepts, tables and workflows you need before the individual commands make sense. Here they are all in one place, in the order of the handbook.

Linux administration

Server services

  • Understanding web servers


    Web servers: Where the configuration lives on each distribution, server blocks and virtual hosts, reverse proxy and TLS

  • Understanding file shares


    File shares: NFS or Samba, /etc/exports and smb.conf, setting up a share step by step, ports and firewall

  • Understanding databases


    Databases: PostgreSQL or MariaDB, packages and paths per distribution, how login works, users and rights, access from other machines

  • Understanding caches and message queues


    Caches and message queues: Cache or message broker, Redis and Valkey, ports, securing Redis, persistence and memory limits, RabbitMQ concepts

  • Understanding search servers


    Search with Elasticsearch and OpenSearch: Elasticsearch or OpenSearch, installation and paths, the REST API with curl, green, yellow and red, memory and system settings

Automation & DevOps

  • Understanding scripts


    Bash scripting: How a script is built: shebang, quoting, variables, arguments and exit codes

  • Understanding Git


    Git: Working directory, staging area and repository, .gitignore, SSH keys and the daily workflow

  • Understanding virtualization


    Virtualization: KVM, QEMU and libvirt, checking the host, networks and bridges, where the files live, Proxmox

  • Understanding Docker


    Docker: Images and containers, installation, ports and volumes, a Dockerfile and a compose.yaml

  • Understanding Kubernetes


    Kubernetes: What you need to install, pods, deployments and services, manifests and kubeconfig

  • Understanding Ansible


    Ansible: Control node and managed servers, inventory, modules, playbooks, roles and installation

  • Understanding CI/CD


    CI/CD: Pipelines, jobs and runners, what to install, a workflow for GitHub and one for GitLab

  • Understanding monitoring


    Monitoring: How Prometheus works, ports and packages, a scrape configuration, PromQL, alert rules and Alertmanager

Security

  • Understanding security scanning


    Security scanning: Attack surface, what each tool finds, what to install, and the rules for scanning

  • Understanding certificates


    Certificates and encryption: How TLS works, certificate chains, file formats, where certificates live and what to install

  • Understanding SELinux and AppArmor


    SELinux and AppArmor: How SELinux and AppArmor work, which distribution uses which, and the way from a denial to a fix

  • Understanding WireGuard


    VPN with WireGuard: How WireGuard works, what to install, a complete server and client setup and the firewall