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
Jan 27, 2022 · Big Data

Installing Apache Hive on macOS with Hadoop and MySQL Metastore

This tutorial provides step‑by‑step instructions for installing Hadoop 3.1.1, Homebrew, Hive, and configuring MySQL as Hive's metastore on macOS, including environment variable setup, hive‑site.xml configuration, MySQL connector placement, schema initialization, and verification commands.

Big DataHadoopHive
0 likes · 6 min read
Installing Apache Hive on macOS with Hadoop and MySQL Metastore
IT Xianyu
IT Xianyu
Jan 24, 2022 · Fundamentals

Why does Java evaluate 1000==1000 as false while 100==100 evaluates to true?

The article explains that Java's Integer caching for values between -128 and 127 causes small integer objects to be shared, making == true for 100, whereas larger integers like 1000 are distinct objects, so == returns false, and it demonstrates this behavior with code and reflection examples.

AutoboxingIntegerJava
0 likes · 4 min read
Why does Java evaluate 1000==1000 as false while 100==100 evaluates to true?
IT Xianyu
IT Xianyu
Jan 23, 2022 · Information Security

Upgrading an HTTP Site to HTTPS with acme.sh

This guide explains why and how to migrate an HTTP website to HTTPS, covering the differences between the protocols, options for obtaining SSL certificates, step‑by‑step installation of the acme.sh script, generating, installing, and automatically renewing certificates using both HTTP and DNS validation methods.

AutomationHTTPSSSL
0 likes · 9 min read
Upgrading an HTTP Site to HTTPS with acme.sh
IT Xianyu
IT Xianyu
Jan 19, 2022 · Databases

Understanding Linux Memory Usage, Buff/Cache Cleanup, and SQL Join Optimization

This article explains how to inspect and clear Linux memory buffers, details the information shown by the free command, and provides a comprehensive overview of SQL join types, their performance impact, and optimization techniques such as indexing, join buffer tuning, and algorithm choices.

BuffCacheJOIN optimizationLinux
0 likes · 7 min read
Understanding Linux Memory Usage, Buff/Cache Cleanup, and SQL Join Optimization
IT Xianyu
IT Xianyu
Jan 14, 2022 · Operations

Redis Monitoring, Data Migration, and Cluster Management Tools Overview

This article introduces essential Redis operational tools, covering the INFO command for monitoring, Prometheus‑based redis‑exporter visualization, the Redis‑shake data migration utility, Redis‑full‑check consistency verification, and the CacheCloud platform for comprehensive cluster management.

CacheCloudData MigrationOperations
0 likes · 10 min read
Redis Monitoring, Data Migration, and Cluster Management Tools Overview
IT Xianyu
IT Xianyu
Jan 10, 2022 · Information Security

Understanding Mobile Number One‑Click Login and Verification Across Chinese Carriers

This article explains the principles, features, and implementation details of carrier‑based one‑click login and mobile number verification services offered by China Mobile, China Telecom, and China Unicom, highlighting SDK usage, network requirements, caching, and security considerations.

Mobile AuthenticationSDKcarrier verification
0 likes · 9 min read
Understanding Mobile Number One‑Click Login and Verification Across Chinese Carriers
IT Xianyu
IT Xianyu
Jan 9, 2022 · Operations

Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, SSL, Keepalived, LVS, and High‑Availability Clusters

This tutorial walks through installing Nginx from source, setting up upstream reverse‑proxy groups, configuring various load‑balancing methods (weight, IP hash, URL hash, least connections), enabling SSL, deploying Keepalived for failover, and building an LVS‑DR high‑availability cluster with detailed command‑line examples.

High AvailabilityKeepalivedLVS
0 likes · 23 min read
Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, SSL, Keepalived, LVS, and High‑Availability Clusters
IT Xianyu
IT Xianyu
Jan 6, 2022 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script

This article explains how to use Maven profiles and the maven‑assembly‑plugin to create environment‑specific zip packages for a Spring Boot application and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and managing the deployed JAR on Linux.

LinuxShell scriptSpring Boot
0 likes · 14 min read
Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script
IT Xianyu
IT Xianyu
Dec 28, 2021 · Fundamentals

How to Configure Class and Method Comment Templates in IntelliJ IDEA

This guide explains step‑by‑step how to set up class and method comment templates in IntelliJ IDEA, including creating file and live templates, configuring parameters, adding Groovy scripts for @param and @return generation, and verifying the generated Javadoc comments for Java files.

IDE configurationIntelliJ IDEAJava
0 likes · 6 min read
How to Configure Class and Method Comment Templates in IntelliJ IDEA