Tagged

Linux

Dec 6, 2024 Standalone 14 min read

Vim Essentials: Modal Editing, Motions, and a Repeatable Workflow

Learn Vim by understanding its grammar -- modes, operators + motions, text objects -- not by memorizing shortcuts. A practical, beginner-friendly guide with a one-week practice plan.

Sep 1, 2023 Standalone 25 min read

LAMP Stack on Alibaba Cloud ECS: From Fresh Instance to Production-Ready Web Server

Set up a LAMP stack (Linux, Apache, MySQL, PHP) on Alibaba Cloud ECS. Covers security groups, service installation, Discuz deployment, source compilation, hardening and three-tier scale-out.

Aug 1, 2022 Standalone 20 min read

Operating System Fundamentals: A Deep Dive

Walk through processes, virtual memory, file systems, the I/O stack, system calls and schedulers, with the actual numbers and the commands you can verify each claim with on a Linux box.

Apr 2, 2022 Linux 21 min read

Linux Pipelines and File Operations: Composing Tools into Data Flows

A deep walk-through of the Unix pipeline model: stdin/stdout/stderr and file descriptors, every common redirection form, the grep/awk/sed/cut/sort/uniq/xargs toolchain, named pipes, and process substitution -- with …

Mar 20, 2022 Linux 19 min read

Linux Process and Resource Management: From `top` to cgroups

How processes are born and die on Linux: the fork/exec model, the state machine that ps and top print in the STAT column, the resource axes (CPU, memory, disk I/O, network) that actually constrain a server, the signals …

Mar 7, 2022 Linux 19 min read

Linux Service Management: systemd, systemctl, and journald

A working model of systemd: PID 1, units and targets, the service lifecycle, writing your own unit files, journalctl filtering, timers as a cron replacement, and a disciplined troubleshooting workflow.

Feb 22, 2022 Linux 15 min read

Linux User Management: Users, Groups, sudo, and Security

A working mental model for Linux accounts: how /etc/passwd and /etc/shadow fit together, when to use a primary group versus a supplementary one, how sudo actually decides, and the full lifecycle of useradd / usermod / …

Feb 9, 2022 Linux 23 min read

Linux Package Management: apt, dnf, pacman, and Building from Source

Master package management across distributions: dpkg/apt for Debian/Ubuntu, rpm/yum/dnf for RHEL/CentOS, pacman for Arch, dependency troubleshooting, version locking, mirrors, and compiling from source.

Jan 27, 2022 Linux 18 min read

Linux Disk Management: Partitions, Filesystems, LVM, and the Mount Stack

End-to-end disk workflow on Linux: identify block devices with lsblk, partition with GPT, format with ext4 / xfs, mount persistently through /etc/fstab, expand capacity online with LVM, and debug the classic 'disk full …

Jan 14, 2022 Linux 15 min read

Linux File Permissions: rwx, chmod, chown, and Beyond

Master the Linux permission model: rwx semantics on files vs directories, numeric and symbolic notation, chmod/chown usage, umask defaults, SUID/SGID/Sticky bit, and ACLs.

Jan 1, 2022 Linux 19 min read

Linux Basics: Core Concepts and Essential Commands

Your entry guide to Linux: the multi-user permission model, the FHS directory tree, distribution lineages, and the command-line muscle memory you need before any deeper topic makes sense.