Incident Response & Troubleshooting · Security
Complete procedures with a way back.
Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.
- Guides
- 243
- Favorites
- 0
Incident Response & Troubleshooting · System Administration
Fix Too many open files on Linux: process limits, leaks and systemd
Web & Proxy · Incident Response & Troubleshooting · Security
Fix NGINX 403 Forbidden: permissions, index rules, access policy and upstreams
Containers & Kubernetes · Observability & Monitoring · Incident Response & Troubleshooting
Fix Kubernetes Metrics API not available: APIService, TLS and metrics-server
Databases & Data · Incident Response & Troubleshooting
Fix PostgreSQL relation does not exist: database, schema and search_path
Software Engineering · Incident Response & Troubleshooting
Fix Git cannot lock ref and empty object file errors
Containers & Kubernetes · Incident Response & Troubleshooting
Fix Docker container name is already in use safely
Containers & Kubernetes · Incident Response & Troubleshooting
Fix Docker failed to resolve reference and manifest unknown
Incident Response & Troubleshooting · Services & Applications · System Administration
Diagnose Windows service Error 1053, Error 1067, and Error 1069
Databases & Data · Identity & Access · Incident Response & Troubleshooting
Fix PostgreSQL permission denied for schema public or table
DevOps & CI/CD · Identity & Access · Incident Response & Troubleshooting · Security
Fix Ansible Missing sudo password and Host key verification failed
Cloud & Infrastructure · DevOps & CI/CD · Incident Response & Troubleshooting
Fix Terraform Error: Provider configuration not present safely
Cloud & Infrastructure · DevOps & CI/CD · Incident Response & Troubleshooting
Recover safely from Terraform Error acquiring the state lock
DevOps & CI/CD · Security
Fix npm UNABLE_TO_GET_ISSUER_CERT_LOCALLY and SELF_SIGNED_CERT_IN_CHAIN safely
Packages & Updates · Incident Response & Troubleshooting · System Administration
Fix Sub-process /usr/bin/dpkg returned an error code (1) safely
Packages & Updates · Software Engineering
Fix error: externally-managed-environment on Ubuntu safely
AI/ML · Services & Applications · Software Engineering
Build a production Telegram webhook assistant
AI/ML · Software Engineering · Databases & Data
Train a small language model from scratch with licensed data
AI/ML · Databases & Data · Security
Build a read-only PostgreSQL analytics bot with reviewed SQL and chart output
AI/ML · Services & Applications · Security
Build a production voice-support bot with OpenAI Realtime and SIP
AI/ML · Software Engineering · DevOps & CI/CD · Security
Build a production chatbot with the OpenAI Responses API
AI/ML · Software Engineering · Security
Build a realtime voice assistant with OpenAI WebRTC
AI/ML · Software Engineering · Security
Protect a public OpenAI chatbot with layered abuse controls
AI/ML · Software Engineering · Security
Build a multimodal document extraction assistant with OpenAI
AI/ML · Software Engineering · Security
Build a secure multi-tenant OpenAI SaaS backend
AI/ML · Software Engineering · Security
Build a safe data-analysis assistant with OpenAI Code Interpreter
AI/ML · Software Engineering · High Availability & Reliability
Migrate a bounded text workflow between OpenAI and Claude
AI/ML · Software Engineering · Security
Build a cited research assistant with OpenAI web and file search
AI/ML · Software Engineering · Security
Process large offline workloads with the OpenAI Batch API
AI/ML · Software Engineering · Security
Run long OpenAI jobs with background mode and signed webhooks
AI/ML · Software Engineering · Security
Build multi-agent support triage with the OpenAI Agents SDK
AI/ML · Cloud & Infrastructure · Observability & Monitoring
Ollama vs vLLM: compare workstation convenience with production serving
AI/ML · Software Engineering
Ollama vs LM Studio: choose a local LLM runtime with evidence
AI/ML · Services & Applications · Software Engineering
Build a production Microsoft Teams assistant with the Agents SDK
AI/ML · Software Engineering · Security
Fine-tune an open-weight model with LoRA or QLoRA
AI/ML · Services & Applications · Identity & Access
LM Studio vs Open WebUI: understand runtime and frontend responsibilities
AI/ML · Incident Response & Troubleshooting · Observability & Monitoring · Security
Build an incident-response assistant for alerts and logs
AI/ML · DevOps & CI/CD · Software Engineering
Build a GitHub issue and pull-request triage bot with reviewed label writes
AI/ML · Services & Applications · Security
Build a Gmail email triage and reply-draft bot with human approval
AI/ML · Databases & Data · Services & Applications · Software Engineering
Build an e-commerce catalog assistant with safe recommendations
AI/ML · Services & Applications · Software Engineering
Build a production Discord slash-command assistant
AI/ML · Software Engineering · System Administration
Compare local open-weight models with cloud LLM APIs
AI/ML · Software Engineering · System Administration
Compare llama.cpp, Ollama, and LM Studio with the same GGUF model
AI/ML · Software Engineering · Security
Package reusable Codex workflows with Skills, plugins, hooks, and MCP
AI/ML · Software Engineering · Security
Complete a repository change safely with Codex
AI/ML · Software Engineering · Security
Set up Codex CLI safely from zero
AI/ML · Software Engineering · Security
Automate repository maintenance safely with Codex
AI/ML · Software Engineering · Security
Build a Claude tool-use support agent with approval gates
AI/ML · Software Engineering · Security
Build a streaming web chatbot with the Claude Messages API
AI/ML · Software Engineering · Security
Reduce Claude cost and latency with prompt caching
AI/ML · Software Engineering · Security
Process bulk jobs with Claude Message Batches
AI/ML · Software Engineering · Security
Set up Claude Code safely for a real repository
AI/ML · Software Engineering · Security
Package a Claude Code plugin with a skill, subagent, and local MCP server
AI/ML · Software Engineering · Security
Automate Claude Code safely with deterministic hooks
AI/ML · DevOps & CI/CD · Security
Run Claude Code safely in CI and Agent SDK automation
AI/ML · Software Engineering · Security
Build a page-cited Claude assistant for long PDF documents
AI/ML · Software Engineering · System Administration
Choose a local LLM for CPU, Apple Silicon, NVIDIA, or AMD
AI/ML · Software Engineering · Security
Build and test a ChatGPT app with MCP, UI, and authentication
Services & Applications · Software Engineering · Security
Build an appointment-booking bot with conflict-safe Google Calendar writes
Storage & Filesystems · System Administration
Build and operate a ZFS storage pool with snapshots, scrubs, replacement, and recovery
Networking & DNS · Security
Run a private Unbound validating recursive resolver
System Administration · Incident Response & Troubleshooting · Storage & Filesystems
Recover an Ubuntu server with systemd rescue and emergency modes
Storage & Filesystems · Incident Response & Troubleshooting
Diagnose failing disks with SMART and replace a drive safely
Networking & DNS · Security
Build private DNS filtering with Pi-hole and Unbound
Storage & Filesystems · System Administration · High Availability & Reliability
Create, monitor, degrade, and recover a Linux RAID 1 array with mdadm
Storage & Filesystems · System Administration
Expand an LVM logical volume and filesystem without downtime
Storage & Filesystems · Incident Response & Troubleshooting
Resolve disk-space, inode, and deleted-open-file exhaustion on Linux
Networking & DNS · Security · System Administration
Build a BIND 9 authoritative DNS service with DNSSEC
AI/ML · Observability & Monitoring · Security
Observe and evaluate agent traces, tool calls, latency, token cost, and unsafe behavior
AI/ML · Security · Databases & Data
Build short- and long-term agent memory with retention and deletion controls
AI/ML · Databases & Data · Security
Operate the RAG knowledge lifecycle: lineage, ACLs, PII, retention, deletion, and recovery
AI/ML · Databases & Data · Security
Evaluate RAG retrieval, faithfulness, citations, and abstention
AI/ML · Databases & Data · Security
Build production hybrid retrieval with BM25, vectors, fusion, reranking, and ACL filters
Databases & Data · AI/ML · Security
Run production semantic search with PostgreSQL and pgvector
AI/ML · Databases & Data · Security
Build a source-cited RAG pipeline with verified evidence
AI/ML · Cloud & Infrastructure · Security · Observability & Monitoring
Deploy a production LiteLLM multi-provider gateway
AI/ML · Software Engineering · DevOps & CI/CD · Security
Configure coding agents with AGENTS.md, CLAUDE.md, GEMINI.md, and scoped instruction files
AI/ML · Security · Software Engineering · Incident Response & Troubleshooting
Defend prompts and agents against prompt injection, secret extraction, and untrusted content
AI/ML · Security · Observability & Monitoring · Software Engineering
Reduce AI hallucinations with grounding, citations, calibrated refusal, and verification
Services & Applications · Databases & Data · Security · Backup & Recovery
Deploy Nextcloud with PostgreSQL, Redis, TLS, Cron, backups, and verified restore
Cloud & Infrastructure · Storage & Filesystems · Networking & DNS · Backup & Recovery
Deploy a production-ready Proxmox VE host with storage, networking, backups, and recovery
Security · Backup & Recovery · System Administration
Operate FileVault recovery, APFS snapshots, and verified Time Machine backups on macOS 26
Packages & Updates · System Administration · Backup & Recovery
Maintain macOS 26.x packages and updates with Homebrew and softwareupdate
Storage & Filesystems · System Administration · Security
Build secure Windows Server 2025 file shares with NTFS, SMB encryption, and quotas
Cloud & Infrastructure · System Administration · Storage & Filesystems
Deploy Hyper-V VMs, virtual switches, and safe checkpoints on Windows Server 2025
Security · System Administration · Services & Applications
Configure Linux authentication with FreeIPA, HBAC, sudo, and bounded offline access
Networking & DNS · System Administration · Security
Configure a highly available virtual IP with Keepalived and VRRP
Networking & DNS · Security · Services & Applications
Configure HAProxy load balancing with health checks and TLS termination
Networking & DNS · Services & Applications
Configure ISC Kea DHCP with reservations and high availability
Networking & DNS · Security · System Administration
Deploy a Tailscale subnet router and controlled exit node
System Administration · Storage & Filesystems · Security
Migrate a Linux root filesystem to a larger disk with minimal downtime
AI/ML · Web & Proxy · Security · Observability & Monitoring
Build a source-cited website support bot from crawl to production
AI/ML · Services & Applications · Identity & Access · Software Engineering · Security
Build a production Slack bot with streaming and human escalation
AI/ML · Security · Software Engineering · Observability & Monitoring
Build a hybrid bot that routes between local and cloud LLMs
AI/ML · System Administration · Security · Observability & Monitoring
Build a private self-hosted bot with Ollama
AI/ML · Software Engineering · Security
Build a fully local desktop chatbot with LM Studio
AI/ML · Software Engineering · Security · DevOps & CI/CD
Build a tool-using agent with human approvals, timeouts, retries, idempotency, and audit logs
AI/ML · Security · Software Engineering
Connect an AI coding assistant to MCP servers and review permissions before enabling tools
AI/ML · Security · DevOps & CI/CD
Build a secure MCP server with tools, resources, prompts, OAuth, and least-privilege scopes
AI/ML · System Administration · Security
Choose, verify, and serve GGUF models with llama.cpp
AI/ML · Containers & Kubernetes · Security
Install and operate NVIDIA Container Toolkit safely
AI/ML · DevOps & CI/CD · Security
Run a production vLLM server safely
AI/ML · Software Engineering · DevOps & CI/CD · Security
Build reusable prompt templates with variables, versioning, and change control
AI/ML · Software Engineering · DevOps & CI/CD · Security
Build reliable production prompts with context, constraints, and evidence
Security · System Administration
Build a private CA with OpenSSL and issue service certificates
Databases & Data · Security · Backup & Recovery
Secure SQL Server with TLS, least privilege, and verified backup restore
Databases & Data · Services & Applications · Security · Observability & Monitoring
Secure RabbitMQ with TLS, users, policies, reliable queues, and monitoring
Databases & Data · Security · Backup & Recovery · Observability & Monitoring
Secure Elasticsearch with TLS, users, snapshots, and safe heap sizing
Databases & Data · High Availability & Reliability · Security
Build a MongoDB replica set and verify failover safely
Cloud & Infrastructure · Networking & DNS · Security
Configure Cloudflare DNS, proxying, TLS, caching, and origin protection
Cloud & Infrastructure · DevOps & CI/CD
Detect, review, and remediate Terraform drift safely
Cloud & Infrastructure · DevOps & CI/CD
Import existing infrastructure into Terraform without recreation
Cloud & Infrastructure · DevOps & CI/CD
Build reusable Terraform modules with remote state and locking
Networking & DNS · Observability & Monitoring
Fix Temporary failure in name resolution and diagnose Linux network paths
Networking & DNS · Security
Deploy an IPv6 dual-stack Ubuntu server with safe nftables rules
Networking & DNS · System Administration
Configure VLANs, bonds, and bridges with Netplan without losing access
Packages & Updates · Security
Configure automatic Ubuntu security updates with controlled reboot windows
Services & Applications · Security
Configure journald retention, forwarding, and centralized remote logs
Storage & Filesystems · System Administration
Fix wrong fs type, bad option, bad superblock and configure reliable mounts
Security · System Administration
Create and troubleshoot a Windows Server security-baseline GPO
System Administration · Networking & DNS · Identity & Access · High Availability & Reliability
Deploy redundant AD-integrated DNS on Windows Server 2025
System Administration · Identity & Access · Security · High Availability & Reliability
Build a new Windows Server 2025 Active Directory forest
System Administration · Networking & DNS · High Availability & Reliability · Cloud & Infrastructure
Deploy Windows Server 2025 DHCP scopes, reservations, and failover
Observability & Monitoring · Networking & DNS · Security
Monitor network devices with SNMP Exporter and Grafana
Security · Services & Applications
Run a custom web application under SELinux enforcing
DevOps & CI/CD · Security · Containers & Kubernetes
Deploy and isolate a GitLab Runner with Docker executor and cache
DevOps & CI/CD · Security
Install and secure a GitHub Actions self-hosted runner
AI/ML · Observability & Monitoring · Software Engineering
Benchmark local LLMs reproducibly: TTFT, throughput, memory, quality, context, and tools
Databases & Data · High Availability & Reliability · Security
Build Redis Sentinel high availability and test failover
Databases & Data · Security · Storage & Filesystems
Install and secure Redis with ACLs, TLS, persistence and verified backups
AI/ML · DevOps & CI/CD · Security
Build a prompt-evaluation dataset and regression suite
Observability & Monitoring · Incident Response & Troubleshooting · High Availability & Reliability
Build actionable Prometheus alerts and Alertmanager routing
Security · System Administration
Secure PowerShell Remoting with WinRM HTTPS and JEA
Databases & Data · High Availability & Reliability
Configure PostgreSQL streaming replication and planned failover
Databases & Data · Observability & Monitoring
Find and fix slow PostgreSQL queries with pg_stat_statements and EXPLAIN
Databases & Data · Backup & Recovery
Recover PostgreSQL to a point in time with WAL archiving
Observability & Monitoring · Security · Services & Applications
Collect host and application telemetry with OpenTelemetry Collector
AI/ML · Software Engineering · DevOps & CI/CD
Compare Ollama, LM Studio, and vLLM with a portable OpenAI API contract suite
Databases & Data · Security · High Availability & Reliability
Install and secure MongoDB with authentication, TLS and backups
Observability & Monitoring · Services & Applications · Security
Build centralized logging with Grafana Loki and Grafana Alloy
Security · Services & Applications
Configure auditd rules and investigate Linux audit events
Containers & Kubernetes · Incident Response & Troubleshooting
Troubleshoot Kubernetes CrashLoopBackOff, ImagePullBackOff, Pending, and OOMKilled Pods
Containers & Kubernetes · Networking & DNS · Security
Enforce Kubernetes NetworkPolicies with Cilium
Containers & Kubernetes · Observability & Monitoring · High Availability & Reliability
Monitor Kubernetes with Prometheus, Grafana, and kube-state-metrics
Containers & Kubernetes · Security · Identity & Access
Design least-privilege Kubernetes RBAC and ServiceAccounts
Containers & Kubernetes · DevOps & CI/CD · Security
Deploy Kubernetes applications safely with Helm
Containers & Kubernetes · Security · Networking & DNS
Automate Kubernetes certificates with cert-manager and ACME
Containers & Kubernetes · Storage & Filesystems · Backup & Recovery
Back up and restore Kubernetes with Velero
Containers & Kubernetes · Packages & Updates
Upgrade a kubeadm Kubernetes cluster from 1.35 to 1.36 with controlled drains and recovery
Web & Proxy · Security
Deploy IIS with TLS, isolated pools, logging, and verified backups
Networking & DNS · Security · System Administration
Deploy a Google Cloud VM with IAM, firewall policy and OS Login
AI/ML · Security
Design and test few-shot examples without overfitting
Containers & Kubernetes · Web & Proxy
Install and operate F5 NGINX Ingress Controller Open Source with TLS
DevOps & CI/CD · Security · Containers & Kubernetes
Build a container-image pipeline with BuildKit, SBOMs, signing, and provenance
Observability & Monitoring · Networking & DNS · Security
Monitor external uptime and TLS expiry with Blackbox Exporter
Networking & DNS · Security · System Administration
Deploy an Azure Linux VM with NSG and managed identity
Networking & DNS · Storage & Filesystems · Security
Build an Amazon S3 backup target with encryption, versioning and lifecycle
Networking & DNS · Security · DevOps & CI/CD
Provision a hardened AWS EC2 web server in a private VPC
Security · Networking & DNS · System Administration
Configure AWS IAM roles and least-privilege policies
Containers & Kubernetes · DevOps & CI/CD · Security
Implement GitOps delivery with Argo CD and signed revisions
Security · Services & Applications
Create AppArmor profiles and investigate denials
DevOps & CI/CD · Security · System Administration
Configure Ansible inventory, SSH, roles, Vault, and idempotent deployments
AI/ML · System Administration · Security · DevOps & CI/CD
Deploy Ollama and Open WebUI securely
AI/ML · DevOps & CI/CD · Software Engineering
Optimize LLM cost, latency, caching and context safely
AI/ML · DevOps & CI/CD · Security · Software Engineering
Build safe production tool-calling workflows
AI/ML · Software Engineering · DevOps & CI/CD · Security
Build reliable Structured Outputs with JSON Schema
System Administration · Incident Response & Troubleshooting
Fix systemd status=203/EXEC and Start request repeated too quickly
Identity & Access · Incident Response & Troubleshooting
Fix SSH Permission denied (publickey) without weakening authentication
Web & Proxy · Incident Response & Troubleshooting
Fix NGINX 502 Bad Gateway with upstream evidence
Databases & Data · Networking & DNS · Incident Response & Troubleshooting
Fix MySQL ERROR 2002 and ERROR 2003 connection failures
Databases & Data · Identity & Access · Incident Response & Troubleshooting
Fix MySQL ERROR 1045 Access denied for user
DevOps & CI/CD · Incident Response & Troubleshooting
Fix Git src refspec main does not match any and rejected pushes
Containers & Kubernetes · Incident Response & Troubleshooting
Fix Docker daemon socket permission denied safely
Containers & Kubernetes · Incident Response & Troubleshooting
Fix Docker No space left on device without deleting needed data
Security · Services & Applications
Fix Certbot AuthorizationError and failed ACME challenges
Services & Applications · Security
Install Apache on Ubuntu with a production baseline
Services & Applications · Security
Configure Apache logs and diagnose 403 Forbidden or 500 Internal Server Error
Services & Applications · Networking & DNS
Configure Apache name-based virtual hosts
Services & Applications · Security
Connect Apache to a dedicated PHP-FPM pool
Networking & DNS · Services & Applications
Configure Apache as an HTTP and WebSocket reverse proxy
Security · Services & Applications
Harden Apache security headers and TLS policy
DevOps & CI/CD · Security
Install Composer securely and use reproducible production dependencies
Security · Databases & Data
Configure hostname-verifying TLS for MySQL and MariaDB clients
Containers & Kubernetes · DevOps & CI/CD · Security
Build a production-ready application stack with Docker Compose
Containers & Kubernetes · Security
Install Docker Engine and Compose with safer defaults
Backup & Recovery · Services & Applications
Back up and restore Dovecot mailboxes and metadata
Security · Services & Applications
Configure Dovecot IMAP with TLS and secure authentication
Services & Applications · Identity & Access
Configure Dovecot virtual users, Maildir storage, and quotas
Security · Networking & DNS
Configure DKIM signing in Exim and rotate keys
Services & Applications · Networking & DNS
Configure Exim4 as an internet mail server
Services & Applications · Incident Response & Troubleshooting
Operate and troubleshoot the Exim mail queue safely
Services & Applications · Networking & DNS
Configure Exim4 to relay outbound mail through a smarthost
Security · Services & Applications
Configure Exim TLS and authenticated message submission
Security · Services & Applications
Protect SSH and web authentication with Fail2ban
Containers & Kubernetes · Networking & DNS · Security
Set up a Kubernetes cluster on Ubuntu with kubeadm
Services & Applications · Databases & Data
Install a production LAMP stack on Ubuntu
Services & Applications · Databases & Data
Install a production LEMP stack on Ubuntu
Networking & DNS · Security
Configure and validate SPF, DKIM, and DMARC for a mail domain
Security · Databases & Data
Manage MariaDB users, passwords, roles, and rotation safely
Databases & Data · Security
Install MariaDB Server with a production baseline
Databases & Data · Backup & Recovery
Back up and restore MariaDB with mariadb-dump
Databases & Data · Backup & Recovery
Create and restore a physical backup with mariadb-backup
Databases & Data · High Availability & Reliability
Configure MariaDB replication with GTID and TLS
Security · Databases & Data
Harden a MariaDB Server for production
Security · Databases & Data
Manage MySQL 8.4 users, passwords, roles, and rotation
Databases & Data
Back up, restore, and test a MySQL database
Databases & Data · High Availability & Reliability
Configure MySQL 8.4 GTID replication with TLS
Databases & Data · Security
Install and secure MySQL on Ubuntu
Databases & Data · Backup & Recovery
Back up and restore MySQL 8.4 with a logical dump
Observability & Monitoring · Databases & Data
Enable and analyze the MySQL slow query log safely
Security · Networking & DNS
Build a baseline nftables firewall
Services & Applications · Security
Install nginx on Ubuntu with a production baseline
Networking & DNS · Services & Applications
Configure nginx HTTP load balancing with safe failure handling
Services & Applications · Security
Configure nginx structured operations logging
Web & Proxy · Security
Configure an Nginx reverse proxy with TLS renewal
Services & Applications · Networking & DNS
Configure nginx server blocks for multiple sites
Security · System Administration
Harden SSH and require key-based login
Networking & DNS · Security
Fix OpenVPN Cannot resolve host address, VERIFY ERROR and TLS handshake failures
Services & Applications · Security
Configure a dedicated PHP-FPM pool for one application
Security · Services & Applications
Harden PHP-FPM with systemd service controls
Security · Services & Applications
Configure a production PHP INI baseline
Services & Applications · DevOps & CI/CD
Run multiple PHP versions behind nginx with isolated FPM pools
Observability & Monitoring · Services & Applications
Configure and verify PHP OPcache for production
Packages & Updates · Security
Install and audit PHP extensions for a production application
Services & Applications · Security
Configure PHP upload and request limits end to end
Services & Applications · Packages & Updates
Install PHP 8.5 from Remi on RHEL, AlmaLinux, or Rocky Linux
Services & Applications · Packages & Updates
Install PHP 8.5 in parallel with the system PHP using Remi SCL
Databases & Data · Security
Install and secure phpMyAdmin behind Apache
Databases & Data · Security
Configure phpMyAdmin for multiple database servers and two-factor authentication
Databases & Data · Security
Install and secure phpMyAdmin behind nginx and PHP-FPM
Services & Applications · Security
Build a complete Postfix and Dovecot virtual mail stack
Services & Applications · Networking & DNS
Configure Postfix as an internet mail server
Security · Services & Applications
Integrate Postfix with Rspamd for filtering and DKIM signing
Services & Applications · Networking & DNS
Configure Postfix to relay outbound mail through a smarthost
Security · Services & Applications
Configure Postfix TLS and authenticated submission on port 587
Services & Applications · Identity & Access
Configure Postfix virtual mailbox domains and aliases
Databases & Data
Back up, restore, and test a PostgreSQL database
Databases & Data · Security
Install and configure PostgreSQL on Ubuntu
DevOps & CI/CD · Services & Applications
Monitor a host with Node Exporter and Grafana
System Administration · Security
Create remote, versioned backups with rsync and SSH
System Administration · Security
Create and harden a custom systemd service
System Administration · Security
Perform an initial Ubuntu Server setup and security hardening
Networking & DNS · Security