Xiao Liu Lab
Author

Xiao Liu Lab

An operations lab passionate about server tinkering 🔬 Sharing automation scripts, high-availability architecture, alert optimization, and incident reviews. Using technology to reduce overtime and experience to avoid major pitfalls. Follow me for easier, more reliable operations!

82
Articles
0
Likes
339
Views
0
Comments
Recent Articles

Latest from Xiao Liu Lab

82 recent articles
Xiao Liu Lab
Xiao Liu Lab
Nov 22, 2025 · Cloud Native

Install Docker & Docker‑Compose Offline in 30 Seconds on Any Linux Server

This guide shows how to set up Docker Engine and Docker‑Compose on isolated Linux machines without internet access by downloading static binaries, transferring them, and running a ready‑made Bash script that configures, starts, and verifies the installation in just a few steps.

DockerDocker ComposeLinux
0 likes · 6 min read
Install Docker & Docker‑Compose Offline in 30 Seconds on Any Linux Server
Xiao Liu Lab
Xiao Liu Lab
Nov 21, 2025 · Operations

How to Stop Docker from Eating Your Disk Space: Proven Cleanup Strategies

This guide explains why Docker can rapidly fill storage, shows how to pinpoint the biggest space consumers, and provides tiered, production‑ready cleanup commands, automation scripts, and monitoring setups to keep container environments healthy and efficient.

Container ManagementDisk CleanupDocker
0 likes · 10 min read
How to Stop Docker from Eating Your Disk Space: Proven Cleanup Strategies
Xiao Liu Lab
Xiao Liu Lab
Nov 18, 2025 · Operations

Mastering Ops: Security, High Availability, and Fault Diagnosis for Interviews

This article compiles concise, high‑scoring answers to essential operations interview questions, covering security hardening, intrusion response, high‑availability architecture, disaster‑recovery design, Redis replication and clustering, Docker fundamentals and networking, Kubernetes components, monitoring, CI/CD pipelines, and the evolving role of DevOps.

CI/CDDockerKubernetes
0 likes · 14 min read
Mastering Ops: Security, High Availability, and Fault Diagnosis for Interviews
Xiao Liu Lab
Xiao Liu Lab
Nov 16, 2025 · Backend Development

Master Web Architecture: Load Balancing, Static/Dynamic Separation, and MySQL Replication Explained

This article provides interview‑ready, step‑by‑step explanations of how Nginx works with Tomcat, the benefits of static‑dynamic separation, essential Nginx modules and load‑balancing algorithms, plus detailed MySQL master‑slave replication, failover, backup strategies, and related database concepts.

MySQL replicationNginxWeb Architecture
0 likes · 13 min read
Master Web Architecture: Load Balancing, Static/Dynamic Separation, and MySQL Replication Explained
Xiao Liu Lab
Xiao Liu Lab
Nov 15, 2025 · Operations

Top 20 High‑Frequency Ops Interview Questions with Expert Answers

This guide presents the most common operations interview questions—covering Linux mounting, filesystem issues, server performance, networking fundamentals, RAID, load balancing, and web server configuration—along with detailed, high‑scoring answers that showcase systematic thinking, troubleshooting logic, and production‑grade awareness.

LinuxNetworkingTroubleshooting
0 likes · 16 min read
Top 20 High‑Frequency Ops Interview Questions with Expert Answers
Xiao Liu Lab
Xiao Liu Lab
Nov 14, 2025 · Operations

Three Production‑Ready Dynamic IP Blocking Solutions for Nginx (No Manual Reload)

This guide presents three practical, production‑grade methods to dynamically block IP addresses in Nginx—using OpenResty with Redis for millisecond response, fail2ban with log analysis for automated bans, and a pure‑shell file‑watch approach—each with step‑by‑step installation, configuration, and usage instructions.

Fail2BanIP blockingOpenResty
0 likes · 8 min read
Three Production‑Ready Dynamic IP Blocking Solutions for Nginx (No Manual Reload)
Xiao Liu Lab
Xiao Liu Lab
Nov 13, 2025 · Operations

10 Essential Linux Commands to Diagnose Slow Servers and Crashes

When servers become sluggish, fail to start, or run out of disk space, blindly restarting only masks the problem; this guide compiles ten critical Linux commands with usage scenarios to help you quickly pinpoint CPU, memory, port, disk, swap, and network issues for effective troubleshooting.

CLILinuxMonitoring
0 likes · 11 min read
10 Essential Linux Commands to Diagnose Slow Servers and Crashes
Xiao Liu Lab
Xiao Liu Lab
Nov 12, 2025 · Operations

Why TIME_WAIT Isn't a Problem and How to Optimize It

TIME_WAIT is a normal TCP state designed to prevent stray packets, but high volumes can indicate inefficient connection handling; this guide explains its mechanics, common causes, monitoring commands, and practical kernel and application-level tuning strategies to reduce TIME_WAIT buildup in high‑traffic services.

Connection PoolLinuxNetwork
0 likes · 12 min read
Why TIME_WAIT Isn't a Problem and How to Optimize It
Xiao Liu Lab
Xiao Liu Lab
Nov 11, 2025 · Operations

One-Command Chrony Setup: Automate Precise NTP Sync on CentOS, Ubuntu, and CTyunOS

This guide explains why accurate server time is critical, compares ntpd with Chrony, and provides a single‑command script that automatically detects the OS, disables old ntpd services, installs Chrony, configures public or private NTP servers, and verifies synchronization across CentOS, Ubuntu, and CTyunOS.

LinuxNTPchrony
0 likes · 9 min read
One-Command Chrony Setup: Automate Precise NTP Sync on CentOS, Ubuntu, and CTyunOS