Linux.
18 posts — Posts about Linux
Setting Up a Zookeeper Cluster
Building a 5-node cluster with Zookeeper 3.8.0 on Debian 11: from the basics of Znodes and the ZAB protocol to zoo.cfg configuration, myid setup, and a Leader election experiment.
Switching Debian apt to the Aliyun Mirror
How to replace Debian's default apt sources with the Aliyun mirror: back up and edit sources.list, add the mirror URLs, refresh the index with apt-get update, plus notes on the source format and common pitfalls.
CentOS 7: Enabling the Network Interface
After a minimal install, CentOS 7 leaves the network interface disabled by default. How to find the interface config file, set ONBOOT to yes, and restart networking so the machine is online right after install.
Thoughts on Serverless Architecture
Starting from the FaaS execution model, this post walks through Serverless's pay-per-use billing and auto-scaling advantages, examines vendor lock-in and cold starts, and offers a framework for judging when it fits.
Comparing Linux Distributions
A comparison of Debian, CentOS, Ubuntu, and openSUSE — their positioning, package management, and stability trade-offs — plus why I picked what I did for production.
Understanding the Linux Directory Structure
A tour of the directories under the Linux root, guided by the FHS standard: what goes in /bin, /etc, /var, /usr, /opt and why, plus how to tell apart a few commonly confused directories.
Everyday Linux Commands
A quick reference for day-to-day Linux ops commands: CPU, memory, file operations, and system info queries, plus a list of frequently used commands for easy lookup.
Mounting a New Disk on Linux
A complete walkthrough of mounting a new disk on a Linux server: partitioning with fdisk, formatting with mkfs, mounting, and editing /etc/fstab for auto-mount at boot, plus common pitfalls.