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.

databases Beginner

Install and configure MongoDB 8.0 with authentication and SSL encryption

Set up MongoDB 8.0 from official repositories with authentication enabled and SSL/TLS encryption. Configure admin users, implement security hardening, and establish monitoring for production deployments.

25 min 6 distros 151 views
performance Beginner

Optimize Linux system performance with htop process monitoring and resource analysis

Learn to use htop for advanced Linux system monitoring, process management, and performance optimization. Master resource analysis, identify bottlenecks, and automate monitoring tasks for production environments.

25 min 6 distros 173 views
linux Beginner

Configure Linux environment variables and PATH management for development workflows

Learn how to properly configure Linux environment variables and manage your PATH for development workflows. This guide covers temporary and persistent variables, user vs system-wide configuration, and troubleshooting common issues across Ubuntu, Debian, AlmaLinux, Rocky Linux, and Fedora.

20 min 6 distros 150 views
hosting Intermediate

Install and configure Varnish Cache 7 with NGINX backend for high-performance web acceleration

Set up Varnish Cache 7 as a high-performance HTTP accelerator with NGINX backend integration. This tutorial covers installation, SSL termination, cache optimization, purging mechanisms, and monitoring for production environments.

45 min 6 distros 164 views
performance Intermediate

Optimize Redis 7 memory usage and performance with advanced configuration tuning

Learn to optimize Redis 7 memory consumption and performance through advanced configuration tuning, including eviction policies, compressed data structures, active defragmentation, and comprehensive monitoring techniques.

25 min 6 distros 317 views
hosting Intermediate

Install and configure Gunicorn application server with systemd and reverse proxy for Python web applications

Deploy Python web applications in production using Gunicorn WSGI server with systemd service management and Nginx reverse proxy. Includes performance tuning, security hardening, and monitoring setup.

25 min 6 distros 169 views
linux Intermediate

Configure Linux process resource monitoring and alerting with cgroups and systemd

Set up comprehensive process resource monitoring using cgroups v2 and systemd to track CPU, memory, and I/O usage with automated alerting when processes exceed defined limits.

25 min 6 distros 171 views
linux Intermediate

Configure Linux CPU and process scheduling with systemd and nice priorities for workload optimization

Learn to optimize Linux workloads by configuring CPU scheduling policies, setting process priorities with nice and ionice commands, and implementing systemd service limits for better resource allocation and performance.

25 min 6 distros 265 views
performance Intermediate

Optimize MySQL query performance with indexes and query profiling for high-traffic applications

Learn how to dramatically improve MySQL query performance using proper indexing strategies, query profiling tools, and InnoDB optimization techniques. This tutorial covers slow query log analysis, EXPLAIN plan interpretation, and memory tuning for production databases.

45 min 6 distros 124 views
monitoring Intermediate

Configure Grafana dashboards for InfluxDB collectd metrics with advanced visualization and alerting

Build comprehensive Grafana dashboards to visualize collectd system metrics stored in InfluxDB with custom panels, advanced queries, and automated alerting rules for production monitoring.

45 min 4 distros 132 views
monitoring Intermediate

Configure Linux performance monitoring with collectd and InfluxDB 1.8 for real-time metrics collection

Set up comprehensive system monitoring using collectd to collect performance metrics and InfluxDB 1.8 as a time-series database backend. This tutorial covers installation, configuration, and retention policies for production monitoring environments.

25 min 4 distros 357 views
monitoring Intermediate

Set up Prometheus and Grafana monitoring stack with Docker compose

Deploy a complete Prometheus and Grafana monitoring stack using Docker Compose with persistent storage, custom dashboards, and alerting rules for production monitoring.

25 min 4 distros 229 views

Need help?

Don't want to manage this yourself?

We handle infrastructure for businesses that depend on uptime. From initial setup to ongoing operations.

Talk to an engineer