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
Dec 3, 2025 · Information Security

Supercharge Linux Firewall: Master Firewalld & ipset for Scalable, High-Performance Security

This guide walks you through why Firewalld is the preferred firewall on CentOS 7+, explains its core concepts, shows step‑by‑step installation, zone management, service and port configuration, and demonstrates how to integrate ipset for efficient bulk IP handling, including pitfalls and best practices.

Networkfirewallfirewalld
0 likes · 11 min read
Supercharge Linux Firewall: Master Firewalld & ipset for Scalable, High-Performance Security
Xiao Liu Lab
Xiao Liu Lab
Dec 3, 2025 · Databases

Secure, Efficient MySQL Automated Backup Script – Zero Maintenance

This guide presents a fully automated MySQL backup script that securely filters system databases, compresses backups with gzip, logs each operation, automatically removes expired files, and includes step‑by‑step configuration, deployment, scheduling, troubleshooting, and optimization tips for production environments.

AutomationBackupMySQL
0 likes · 11 min read
Secure, Efficient MySQL Automated Backup Script – Zero Maintenance
Xiao Liu Lab
Xiao Liu Lab
Dec 1, 2025 · Operations

Master WebSocket Debugging with websocat: Install, Test, and Proxy

This guide introduces websocat, a Rust‑based command‑line utility for WebSocket, covering installation via package managers or source, basic echo testing, setting up local servers, bidirectional TCP‑WebSocket proxying, secure connections, performance tuning, and integration with systemd and Nginx.

Command-lineDebuggingWebSocket
0 likes · 6 min read
Master WebSocket Debugging with websocat: Install, Test, and Proxy
Xiao Liu Lab
Xiao Liu Lab
Nov 30, 2025 · Backend Development

Mastering SSE and WebSocket with Nginx: Complete Configuration Guide

This guide explains the differences between Server‑Sent Events and WebSocket, shows when to choose each technology, and provides step‑by‑step Nginx configuration snippets—including global mapping, SSE and WebSocket location blocks, troubleshooting tips, and a minimal debug setup—to ensure reliable real‑time communication in production.

Real-time communicationSSEWebSocket
0 likes · 8 min read
Mastering SSE and WebSocket with Nginx: Complete Configuration Guide
Xiao Liu Lab
Xiao Liu Lab
Nov 27, 2025 · Information Security

Master NPS: Deploy Secure Intranet Penetration with Docker and TLS

This guide explains what NPS (Network Penetration Service) is, why it’s needed, its core advantages, and provides step‑by‑step instructions for deploying the server and client on Linux, Windows, or Docker, configuring TLS, managing tunnels, and troubleshooting common issues.

Docker deploymentNPSTLS encryption
0 likes · 9 min read
Master NPS: Deploy Secure Intranet Penetration with Docker and TLS
Xiao Liu Lab
Xiao Liu Lab
Nov 26, 2025 · Information Security

Why SecureCRT Fails on New Linux and How to Fix It

After upgrading to recent Linux distributions, SecureCRT often cannot establish SSH connections due to disabled legacy algorithms, but the issue can be resolved by updating SecureCRT or manually enabling modern key‑exchange and host‑key types in its settings.

Information SecurityLinuxSSH
0 likes · 4 min read
Why SecureCRT Fails on New Linux and How to Fix It
Xiao Liu Lab
Xiao Liu Lab
Nov 25, 2025 · Cloud Native

Step‑by‑Step Guide to Deploy Harbor 2.14.1 Private Registry with HTTPS and Trivy

This tutorial walks you through installing a private, secure Harbor 2.14.1 container registry on Linux, covering system prerequisites, Docker setup, offline installer download, detailed harbor.yml configuration, firewall adjustments, optional self‑signed certificates, installation scripts, verification, image push testing, common admin commands, production best practices, and troubleshooting tips.

Container RegistryHarborKubernetes
0 likes · 11 min read
Step‑by‑Step Guide to Deploy Harbor 2.14.1 Private Registry with HTTPS and Trivy
Xiao Liu Lab
Xiao Liu Lab
Nov 24, 2025 · Information Security

Why MySQL Returns ‘Plugin Not Loaded’ for One Missing User but ‘Access Denied’ for Another

When logging into a new MySQL 8.4 instance with a non‑existent user, one login attempt yields a "Plugin 'mysql_native_password' is not loaded" error while another returns the usual "Access denied", a difference caused by MySQL's hidden decoy‑user mechanism that randomizes authentication plugins for nonexistent accounts.

AuthenticationMySQLdatabase
0 likes · 7 min read
Why MySQL Returns ‘Plugin Not Loaded’ for One Missing User but ‘Access Denied’ for Another