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.

networking Intermediate

Configure network traffic shaping with tc and HTB for bandwidth management and QoS

Set up hierarchical token bucket (HTB) traffic shaping with tc to control bandwidth allocation, prioritize network traffic, and implement quality of service policies for optimal network performance.

45 min 6 distros 162 views
linux Intermediate

Configure Linux user session limits with systemd and pam_limits for resource management

Set up comprehensive user session resource limits using systemd and PAM to prevent resource exhaustion, fix 'too many open files' errors, and enforce memory, CPU, and process restrictions for better system stability.

25 min 6 distros 335 views
linux Intermediate

Configure Linux log rotation with logrotate and compression for system maintenance

Master log rotation with logrotate to manage disk space efficiently. Configure custom rotation policies, compression settings, and automated cleanup for applications and system logs.

25 min 6 distros 311 views
security Intermediate

Configure ModSecurity 3 web application firewall with OWASP Core Rule Set for advanced threat protection

Set up ModSecurity 3 with OWASP Core Rule Set 4.0 to protect web applications from SQL injection, XSS, and other attacks. Configure integration with Nginx and Apache, implement custom rules, and optimize performance for production environments.

45 min 6 distros 292 views
hosting Intermediate

Install and configure Uvicorn ASGI server with systemd and reverse proxy for FastAPI applications

Deploy production-ready FastAPI applications using Uvicorn ASGI server with systemd process management and Nginx reverse proxy. Configure SSL termination, load balancing, and comprehensive monitoring for high-performance Python web applications.

25 min 6 distros 287 views
performance Intermediate

Optimize PostgreSQL connection pooling with PgBouncer for high-traffic applications

Learn to configure PgBouncer connection pooling to optimize PostgreSQL performance, reduce connection overhead, and handle thousands of concurrent database connections efficiently in production environments.

25 min 6 distros 154 views
networking Intermediate

Configure OpenVPN server with certificate management and client automation

Set up a production-grade OpenVPN server with Easy-RSA certificate authority, automated client configuration generation, and certificate revocation management for secure remote access.

25 min 6 distros 156 views
hosting Intermediate

Install and configure OpenResty web server with Lua scripting and performance optimization

Set up OpenResty as a high-performance web server and API gateway with embedded Lua scripting capabilities, SSL certificates, and advanced caching optimization for production workloads.

45 min 6 distros 151 views
hosting Intermediate

Set up Apache Tomcat 11 with SSL certificates and JVM optimization for Java web applications

Install and configure Apache Tomcat 11 with Java 21, SSL/TLS certificates, JVM performance tuning, security hardening, and production-ready monitoring for enterprise Java web applications.

45 min 6 distros 136 views
networking Intermediate

Configure network bonding and VLAN tagging for high availability and network segmentation

Set up network bonding for link aggregation and failover protection while implementing VLAN tagging for network segmentation. This tutorial covers bond configuration with Netplan and NetworkManager across multiple interfaces.

45 min 6 distros 262 views
hosting Intermediate

Install and configure OpenLiteSpeed web server with SSL and PHP for high-performance hosting

Set up OpenLiteSpeed web server with SSL certificates, PHP LSAPI, and built-in caching for superior performance compared to Apache and Nginx. Includes security hardening and monitoring configuration.

45 min 6 distros 206 views
hosting Intermediate

Configure Apache web server with virtual hosts and SSL certificates

Set up Apache HTTP server with multiple virtual hosts, secure SSL certificates from Let's Encrypt, and implement security hardening for production workloads.

45 min 6 distros 173 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