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.

linux Intermediate

Automate backup and restore for Ollama models with systemd timers and shell scripts

Set up automated backup and restore procedures for Ollama AI models using systemd timers, shell scripts, and compression. Includes disaster recovery strategies and monitoring integration for production environments.

45 min 4 distros 101 views
monitoring Intermediate

Set up Docker Compose monitoring stack with Prometheus and Grafana for AI model performance tracking

Deploy a complete monitoring stack using Docker Compose with Prometheus for metrics collection and Grafana for visualization, specifically configured to track AI model performance metrics like inference latency, throughput, and resource utilization.

45 min 4 distros 96 views
monitoring Intermediate

Configure backup monitoring with Prometheus and Grafana for automated infrastructure oversight

Set up comprehensive backup monitoring using Prometheus exporters and Grafana dashboards. Configure automated alerts for backup failures, track success rates, and visualize backup infrastructure health across multiple systems.

45 min 4 distros 77 views
monitoring Intermediate

Set up NGINX monitoring with Prometheus and Grafana for web server observability

Monitor your NGINX web server performance and health with Prometheus metrics collection and Grafana dashboards. Set up comprehensive observability including request rates, response times, error tracking, and automated alerting for production web servers.

45 min 4 distros 74 views
monitoring Intermediate

Monitor MongoDB 8.0 performance with Prometheus and Grafana for real-time metrics and alerting

Set up comprehensive MongoDB performance monitoring using Prometheus metrics collection and Grafana dashboards with alerting rules for database health, connection pools, and query performance.

45 min 4 distros 86 views
monitoring Intermediate

Configure Prometheus Alertmanager with email notifications for production monitoring

Set up Prometheus Alertmanager to send email notifications when your systems trigger alerts. This tutorial covers SMTP configuration, alert routing rules, and email template customization for production monitoring workflows.

35 min 4 distros 85 views
linux Advanced

Configure Linux transparent huge pages and memory optimization for database workloads

Learn to configure transparent huge pages (THP) and optimize Linux memory management for database workloads. Covers THP disable/enable strategies, performance monitoring, and automation with systemd.

25 min 6 distros 160 views
linux Beginner

Configure Linux swap space with memory management and performance optimization

Set up and optimize Linux swap space for better system performance. Learn to create swap files, configure swappiness parameters, and monitor memory usage across different Linux distributions.

20 min 6 distros 131 views
linux Beginner

Configure Linux system monitoring with iostat and disk performance analysis

Learn to monitor disk I/O performance with iostat from the sysstat package. Set up real-time monitoring, identify bottlenecks, and automate disk performance analysis with systemd timers.

25 min 6 distros 130 views
hosting Beginner

Fix systemd service keeps restarting in a loop

Stop systemd services from continuously restarting by identifying restart loop causes, debugging configuration issues, and implementing proper service constraints to ensure stable operation.

25 min 6 distros 122 views
linux Advanced

Configure Linux container memory limits and monitoring with systemd and cgroups v2

Set up memory limits and monitoring for containers using systemd services and cgroups v2 to prevent OOM kills and track resource usage.

25 min 6 distros 132 views
hosting Beginner

Fix Apache web server high memory usage and optimize performance

Diagnose Apache memory issues and optimize MPM modules, worker processes, and configuration to reduce RAM usage and improve web server performance.

25 min 6 distros 129 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