Infrastructure tutorials
Production-grade guides for Linux, servers, security and performance. Copy-paste commands, multi-distro support, written by engineers who run this in production.
Browse by topic
Linux
System administration, shell scripting, package management
Hosting & Servers
Web servers, reverse proxies, SSL, domains
Security
Firewalls, hardening, encryption, access control
Performance
Caching, optimization, profiling, load testing
Databases
MySQL, PostgreSQL, Redis, backups, replication
Networking
DNS, load balancing, VPN, TCP/IP, routing
DevOps
CI/CD, Docker, Kubernetes, automation
Monitoring
Logging, alerting, metrics, observability
Most viewed
Install and configure Deno for web development with systemd and reverse proxy
hostingFix apt update E: Repository no longer has a Release file
linuxInstall and configure Uptime Kuma for website monitoring with SSL and email alerts
monitoringInstall and configure Caddy web server with automatic HTTPS and reverse proxy
hostingInstall and configure TimescaleDB with PostgreSQL for high-performance time-series data
databasesRecently published
Check Linux system information with uname, hostnamectl and neofetch
linuxInstall and configure Nginx virtual hosts for beginners
hostingBuild a highly available Linux NFS cluster with Pacemaker and DRBD
linuxCopy files between Linux servers with scp and rsync
linuxBuild a custom Linux kernel module for hardware device monitoring
linuxInstall and configure Nginx virtual hosts for beginners
Learn how to install Nginx on Ubuntu, Debian, AlmaLinux, Rocky Linux and Fedora, then set up your first server block to host a static website. Covers directory structure, systemctl management and firewall configuration.
Build a highly available Linux NFS cluster with Pacemaker and DRBD
Build a two-node NFS high availability cluster using DRBD block replication, Pacemaker and Corosync resource management, and STONITH fencing to eliminate split-brain and survive node failures with automatic failover.
Fix Redis OOM command not allowed when used memory greater than maxmemory
Learn why Redis throws OOM command not allowed when used memory greater than maxmemory, how to diagnose it with redis-cli and free -m, and how to fix it by setting a sane maxmemory and eviction policy.
Build a highly available Linux cluster with Pacemaker and Corosync
Build a two-node active-passive cluster with Pacemaker, Corosync and pcs, including STONITH fencing, resource constraints and automatic failover of a floating virtual IP.
Find out which process is using all your CPU or memory on Linux
Learn how to identify which process is consuming your Linux server's CPU or memory using top, ps aux, and sort, then safely terminate runaway or zombie processes without guessing.
Fix PostgreSQL FATAL sorry, too many clients already
Learn why PostgreSQL throws FATAL: sorry, too many clients already, how to check and close idle connections, safely raise max_connections, and prevent the error from coming back with connection pooling.
Configure Istio multi-cluster disaster recovery and automated failover
Build a production-grade Istio primary-remote multi-cluster topology with shared trust, locality-aware failover, and automated recovery testing. Covers cross-cluster service discovery, Kiali and Prometheus monitoring, and control plane backup procedures.
Set up automated MariaDB Galera cluster backups with compression
Learn how to build a cluster-safe backup strategy for MariaDB Galera using Mariabackup, compression, systemd timers and remote storage offloading, with verification and node restore procedures.
Configure MariaDB ColumnStore for high-performance analytics workloads
Deploy and tune MariaDB ColumnStore for columnar analytics, covering single-node and multi-node cluster setup, table design, memory tuning, bulk loading with cpimport, and cluster health monitoring.
Implement Thanos Ruler for distributed alerting and recording rules across Prometheus clusters
Deploy Thanos Ruler to evaluate recording and alerting rules across multiple Prometheus clusters, integrate it with Alertmanager and S3-compatible storage, and run it in HA mode with deduplication.
Set up Thanos Query and Compactor for distributed metrics querying
Deploy Thanos Sidecar, Query, and Compactor to unify multiple Prometheus instances into a single global query view with long-term S3-backed storage. Covers deduplication, TLS, and production troubleshooting.
Configure Kubernetes network monitoring with Hubble and Cilium for traffic visibility
Enable Hubble on Cilium to get real-time eBPF-based flow visibility, deploy Hubble UI and Relay, and integrate flow metrics with Prometheus and Grafana for full Kubernetes network observability.
Don't want to manage this yourself?
We handle infrastructure for businesses that depend on uptime. Fully managed, with one fixed contact who knows your setup.
You get one fixed contact who knows your setup
Rotterdam 13:33 · reachable in a message, no ticket form