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
Install and configure Nginx with PHP 8.4 for beginners
hostingCheck 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
linuxInstall and configure Nginx with PHP 8.4 for beginners
Learn how to install Nginx and PHP 8.4 with PHP-FPM, configure a server block to process PHP files, and troubleshoot 502 errors and white screens on a fresh Linux server.
Check Linux system information with uname, hostnamectl and neofetch
Learn how to check your Linux kernel version, OS release, CPU, memory and hardware details using uname, hostnamectl, neofetch and lscpu. Includes a scriptable system info report for documentation.
Install 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.
Copy files between Linux servers with scp and rsync
Learn how to transfer files securely between Linux servers using scp and rsync, including SSH key authentication, incremental transfers with progress tracking, and troubleshooting common connection errors.
Check and manage running services on Linux with systemctl
Learn how to check running services on Linux, start, stop and restart them, enable them at boot, and read their logs with journalctl using systemctl on any systemd-based distro.
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.
Find and view hidden files and directories on Linux
Learn how hidden files and dotfiles work on Linux, list them with ls -a and ls -la, find them with the find command, and view them in GUI and terminal file managers like ranger and mc.
Fix SSH Too many authentication failures error on Linux
Learn why SSH rejects you with too many authentication failures and how to fix it on the client with IdentitiesOnly and IdentityFile, manage ssh-agent keys correctly, and safely raise MaxAuthTries on servers you control.
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 apt update E: Repository no longer has a Release file
Learn why apt update fails with the Release file error on Ubuntu and Debian, how to find the broken repository entry, and how to fix it safely, including EOL releases and GPG key issues.
Check disk space usage on Linux with df and du commands
Learn how to check disk space on Linux using df and du, find large files and directories, spot hidden disk usage from deleted but open files, and troubleshoot common out-of-space problems.
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 23:12 · reachable in a message, no ticket form