Debian 13 Trixie System Administration Guide is a practical handbook for running stable, secure, and efficient Debian servers in production. It takes you from a fresh install to a monitored, automated, and hardened environment using tools and workflows that match real operations on bare metal, virtual machines, and containers.
WHAT THIS BOOK COVERS
System installation and baseline setup
Plan hardware, storage layout, and networking for Debian 13
Install with guided and manual partitioning using LVM and RAID
Configure mirrors, repositories, users, locales, timezones, and basic networking
Service management and operating system internals
Work with systemd units, services, targets, and journals
Control boot order and dependencies between services
Configure logging with journald and rsyslog
Tune CPU, memory, disk I O, and network settings for stable performance
Security hardening
Lock down SSH with keys, hardened configs, and safe sudo use
Build host firewalls with nftables
Apply kernel security parameters with sysctl
Use intrusion detection, auditing, and a repeatable security baseline
Package and update management
Use APT for installation, upgrades, and rollbacks
Manage repositories, components, and pinning
Configure automatic security updates in a controlled way
Service deployment and data platforms
Deploy Nginx or Apache on Debian 13
Run PostgreSQL and MariaDB with safe defaults
Add caching with Redis, Memcached, and HTTP caching
Design backup routines for config, data, and databases, with restore tests
Virtualization and cloud ready systems
Set up KVM, storage pools, and virtual networks
Build cloud ready images with cloud init and guest agents
Deploy Debian on AWS, Google Cloud, and Azure using metadata and user data
Containers and orchestration
Run Podman rootless containers and Docker
Build efficient OCI images with multi stage builds
Orchestrate multi container apps with Docker Compose or Podman Compose
Apply security measures such as reduced privileges and read only filesystems
Automation and configuration management
Write Bash automation scripts with safe defaults and logging
Use Ansible playbooks and roles for system state as code
Schedule tasks with cron, at, and systemd timers
Build provisioning workflows with cloud init, Ansible, and golden images
Monitoring, alerting, and troubleshooting
Track CPU, memory, disk, and network metrics
Install Prometheus and exporters for host and service metrics
Build Grafana dashboards and useful alert rules
Troubleshoot boot issues, network failures, package conflicts, service crashes, and hardware faults
Operations, upgrades, and appendices
Plan upgrades from Debian 11 and 12 to Debian 13
Reduce risk with backups, staging, and rollback planning
Validate systems after upgrades with focused checks
Use a command reference, config guide, security baseline, and error index for daily work
WHY THIS BOOK STANDS OUT
Focused on Debian 13 Trixie, not generic Linux
Plain language, short steps, and direct commands
Organised by operations themes from installation to hardening, automation, monitoring, and troubleshooting