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
Feb 12, 2026 · Information Security

When fail2ban Became a Monero Miner: Detection, Removal, and Prevention

A temporary test server on Tianyi Cloud was compromised by a malicious XMRig miner masquerading as fail2ban, causing CPU usage to skyrocket; the article details how the intrusion was discovered, the forensic steps taken, and a comprehensive remediation and hardening guide to prevent similar attacks.

CPU SpikeFail2BanLinux Security
0 likes · 9 min read
When fail2ban Became a Monero Miner: Detection, Removal, and Prevention
Xiao Liu Lab
Xiao Liu Lab
Feb 10, 2026 · Operations

Unlocking Modern CDN: From Simple Caching to Edge Computing, Dynamic Acceleration, and Security

This article explains how CDN has evolved from basic static‑content caching to a full‑featured edge computing platform that boosts user experience, accelerates dynamic APIs, implements fine‑grained cache strategies, and enforces multi‑layer security, providing concrete configuration examples and performance metrics for real‑world deployments.

CDNCache StrategyEdge computing
0 likes · 17 min read
Unlocking Modern CDN: From Simple Caching to Edge Computing, Dynamic Acceleration, and Security
Xiao Liu Lab
Xiao Liu Lab
Jan 23, 2026 · Operations

How to Build Enterprise‑Ready Docker Images in 5 Minutes

This guide walks you through the four essential principles for production Docker images, demonstrates a complete multi‑stage Dockerfile for a Flask app, shows how to tag, build, verify, and deploy with docker‑compose, and warns against unsafe shortcuts like docker commit.

DevOpsDockerFlask
0 likes · 11 min read
How to Build Enterprise‑Ready Docker Images in 5 Minutes
Xiao Liu Lab
Xiao Liu Lab
Jan 17, 2026 · Operations

Recover Accidentally Deleted XFS Files in Minutes with xfs_undelete

This guide walks Linux administrators through why xfs_undelete is the preferred XFS recovery tool, how to install it in under five minutes, and step‑by‑step commands—including basic, time‑filtered, and type‑filtered recovery—plus three real‑world scenarios, advanced tips, and common pitfalls.

Command LineData RecoveryFilesystem
0 likes · 13 min read
Recover Accidentally Deleted XFS Files in Minutes with xfs_undelete
Xiao Liu Lab
Xiao Liu Lab
Jan 16, 2026 · Operations

Recover Accidentally Deleted Files on RHEL with extundelete – Full Step‑by‑Step Guide

This guide explains why extundelete can restore files deleted with rm on ext3/ext4 partitions, walks through installing the tool on various RHEL versions, shows how to safely stop writes, identify the affected partition, execute single‑file, directory or full‑partition recovery commands, verify results, and avoid common pitfalls, while also offering preventive measures to reduce future data loss.

File RecoveryLinuxRHEL
0 likes · 19 min read
Recover Accidentally Deleted Files on RHEL with extundelete – Full Step‑by‑Step Guide
Xiao Liu Lab
Xiao Liu Lab
Jan 8, 2026 · Operations

Unlock Fast Log Analysis: 10 Essential awk Commands Every Sysadmin Should Know

This tutorial shows how awk, the built‑in Linux text‑processing tool, can dramatically speed up log analysis and routine data extraction by explaining core concepts, common patterns, real‑world examples such as Nginx, system monitoring and MySQL slow‑query logs, and providing a ready‑to‑run script.

Linuxawklog analysis
0 likes · 17 min read
Unlock Fast Log Analysis: 10 Essential awk Commands Every Sysadmin Should Know
Xiao Liu Lab
Xiao Liu Lab
Jan 7, 2026 · Operations

Zero‑IO Techniques to Safely Clear Massive Log Files on Linux

This article explains why deleting huge log files can crash a server, compares the low‑IO echo and truncate commands for safely emptying logs, provides practical examples, parameter tips, additional methods, and best‑practice recommendations for production environments.

EchoIO optimizationLinux
0 likes · 10 min read
Zero‑IO Techniques to Safely Clear Massive Log Files on Linux
Xiao Liu Lab
Xiao Liu Lab
Jan 6, 2026 · Operations

Boost Docker Pull Speed: Verified Mirror List & One‑Click Setup (2026)

This guide explains why Docker image pulls can be painfully slow, presents a curated list of reliable mirror URLs verified on January 6 2026, provides a one‑click installation script for Docker with automatic mirror configuration, and includes detailed manual setup steps and verification commands for Linux environments.

Container RegistryDevOpsDocker
0 likes · 8 min read
Boost Docker Pull Speed: Verified Mirror List & One‑Click Setup (2026)
Xiao Liu Lab
Xiao Liu Lab
Jan 3, 2026 · Operations

How to Quickly Identify Unexpected Linux Server Reboots and Their Causes

This guide shows Linux administrators step‑by‑step how to locate reboot timestamps, retrieve full reboot histories, examine log files, analyze kernel and crash logs, check service and resource issues, and investigate human or scheduled actions, enabling fast root‑cause diagnosis of unplanned server restarts.

LogsRebootTroubleshooting
0 likes · 9 min read
How to Quickly Identify Unexpected Linux Server Reboots and Their Causes
Xiao Liu Lab
Xiao Liu Lab
Dec 30, 2025 · Databases

How to Diagnose and Fix ClickHouse CPU Spikes in Minutes

This guide walks you through a step‑by‑step process for quickly identifying the cause of high CPU usage in ClickHouse, from emergency triage and precise diagnosis using system tables to practical optimization techniques and a ready‑to‑run monitoring script.

CPUClickHousePerformance
0 likes · 21 min read
How to Diagnose and Fix ClickHouse CPU Spikes in Minutes