IT Xianyu
Author

IT Xianyu

We share common IT technologies (Java, Web, SQL, etc.) and practical applications of emerging software development techniques. New articles are posted daily. Follow IT Xianyu to stay ahead in tech. The IT Xianyu series is being regularly updated.

159
Articles
0
Likes
913
Views
0
Comments
Recent Articles

Latest from IT Xianyu

100 recent articles max
IT Xianyu
IT Xianyu
May 23, 2025 · Databases

Step‑by‑Step Guide to Setting Up MySQL Master‑Slave Replication with Docker

This article provides a comprehensive, step‑by‑step tutorial on deploying a MySQL master‑slave replication architecture using Docker containers, covering prerequisite checks, container setup, configuration files, replication user creation, master‑slave linking, testing data sync, and troubleshooting common issues.

DBADockerMySQL
0 likes · 8 min read
Step‑by‑Step Guide to Setting Up MySQL Master‑Slave Replication with Docker
IT Xianyu
IT Xianyu
May 21, 2025 · Operations

Learn Shell Scripting: From Hello World to Practical Tools

This tutorial walks beginners through creating and executing Bash scripts on Linux, covering basics like the shebang, variables, conditionals, loops, functions, and debugging, and provides practical examples such as file checks, service monitoring, and user interaction to build useful automation tools.

Scriptbashsysadmin
0 likes · 7 min read
Learn Shell Scripting: From Hello World to Practical Tools
IT Xianyu
IT Xianyu
May 20, 2025 · Operations

Building a Three‑Server High‑Availability MySQL Cluster with HAProxy on Almalinux

This guide explains why three servers are needed for high availability, walks through hardware and software preparation, network configuration, MySQL master‑slave replication setup, HAProxy load‑balancing, and firewall/SELinux adjustments, providing complete command‑line examples for each step.

AlmaLinuxHAProxyHigh Availability
0 likes · 8 min read
Building a Three‑Server High‑Availability MySQL Cluster with HAProxy on Almalinux
IT Xianyu
IT Xianyu
May 14, 2025 · Databases

Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently

This article explains how Java developers can replace thousands of individual UPDATE statements with a single PostgreSQL stored procedure call, covering the motivation, procedure creation, Java invocation, scheduling with shell scripts, performance benchmarks, and common pitfalls.

Batch UpdateJavaPostgreSQL
0 likes · 8 min read
Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently
IT Xianyu
IT Xianyu
May 8, 2025 · Databases

Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices

This article explains why Redis is becoming a DBA's favorite, provides a five‑minute installation guide, essential commands, cache‑design pitfalls and solutions, explores Redis data structures with Java examples, demonstrates distributed locking and flash‑sale implementations, and covers clustering, backup, monitoring, and performance tuning.

ClusterJavaRedis
0 likes · 9 min read
Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices
IT Xianyu
IT Xianyu
Apr 24, 2025 · Databases

PostgreSQL DBA Guide: Permission Minimization, Log Analysis with pgBadger, and Security Hardening

This tutorial explains why DBAs need security hardening and log analysis, shows how to configure minimal‑privilege roles and precise permissions in PostgreSQL, demonstrates how to detect and revoke redundant privileges, and provides a step‑by‑step guide to installing and using pgBadger for log analysis and automated reporting.

DBADatabase SecurityLog Analysis
0 likes · 8 min read
PostgreSQL DBA Guide: Permission Minimization, Log Analysis with pgBadger, and Security Hardening
IT Xianyu
IT Xianyu
Apr 21, 2025 · Cloud Native

Step-by-Step Guide to Setting Up a Kubernetes 1.19 Cluster on CentOS 7.9

This guide walks through preparing two CentOS 7.9 servers, installing Docker and Kubernetes 1.19 components, initializing a master node, joining a worker node, and validating the cluster with a sample Nginx deployment, including common troubleshooting tips.

CalicoCentOSCloud Native
0 likes · 10 min read
Step-by-Step Guide to Setting Up a Kubernetes 1.19 Cluster on CentOS 7.9
IT Xianyu
IT Xianyu
Apr 20, 2025 · Operations

How to Replace YUM Repositories with Domestic Mirrors on CentOS 7

This guide explains why the default CentOS 7 YUM repositories are slow for Chinese users and provides step‑by‑step instructions—including backing up existing .repo files, downloading Alibaba Cloud mirrors, adjusting version numbers, refreshing the cache, verifying updates, troubleshooting common errors, and advanced tips such as adding EPEL—so you can achieve faster, more reliable package management.

CentOSDevOpsLinux
0 likes · 6 min read
How to Replace YUM Repositories with Domestic Mirrors on CentOS 7
IT Xianyu
IT Xianyu
Apr 19, 2025 · Operations

Comprehensive Guide to System Monitoring, Text Editing, Permission Management, and Log Analysis for Library Operations

This article provides a detailed, step‑by‑step tutorial on using Linux commands such as top, grep, awk, and bash scripts for performance bottleneck detection, memory‑leak investigation, automated alerts, efficient Vim editing, permission matrix configuration, multi‑condition log analysis, and quick troubleshooting in a library management environment.

Bash Scriptingpermissionssystem monitoring
0 likes · 9 min read
Comprehensive Guide to System Monitoring, Text Editing, Permission Management, and Log Analysis for Library Operations