Linux 102: Server Administration with Ubuntu
Series · 3 Chapters

Linux 102: Server Administration with Ubuntu

Language: en id

After reading Linux 101: Introduction to Linux for Beginners, we have become accustomed to using the terminal and understanding how to manage files, users, and packages on a single Linux machine. The question now is: what if that machine is not a personal laptop, but a production server serving hundreds of visitors every minute, while developers await their deployment turn and attackers continuously knock on the SSH port from the internet? Linux 102: Server Administration with Ubuntu answers that question while directly extending the Linux 101 material toward the real role of a Sysadmin.

This series uses Ubuntu Server 26.04 LTS "Resolute Raccoon" as the sole reference across all 44 chapters, complete with Linux kernel 7.0, systemd 259, and major changes such as sudo-rs and rust-coreutils which begin to serve as defaults in this release. This material is not a collection of standalone, disconnected tutorials, but a continuous learning path connecting every chapter, from the initial server installation to handling midnight production incidents.

Eleven-Part Map and 44 Chapters

This series covers eleven major sections following the natural learning path of a beginner Sysadmin: starting from system foundations, extending to networking, daily services used by users and developers, up to the security layers and automation that bind everything into a reliable operation.

PartChaptersMain Focus
I. From Desktop to Server1-3Ubuntu Server 26.04 LTS installation and SSH access as the primary administration gateway
II. Advanced System Management4-7Users and cross-role access, custom systemd units, package management, LVM, and RAID
III. Server Networking8-11Netplan, DNS with BIND9, DHCP, and time synchronization with chrony
IV. Web Services12-17Nginx, Apache, PHP-FPM, Node.js, reverse proxy, load balancing, and TLS with Let's Encrypt
V. Database Servers18-23PostgreSQL, MySQL, MariaDB, MongoDB, database management web UIs, backup, and restore
VI. File Sharing and Network Storage24-25Cross-platform Samba and Linux-to-Linux NFS
VII. Virtualization and Containerization26-29Docker, Docker Compose, KVM/QEMU, and LXD
VIII. Server Security30-34Hardening, firewalls (iptables, UFW, nftables), Fail2ban, AppArmor, and basic auditing
IX. Automation and Infrastructure as Code35-37Shell scripting, Ansible, and cloud-init
X. Monitoring, Logging, and Backup38-40Netdata, Prometheus/Grafana, rsyslog, and the 3-2-1 backup strategy
XI. Cloud and Deployment41-42Ubuntu Server in the cloud and CI/CD fundamentals
Closing43-44Systematic troubleshooting and advanced career roadmap

One Lab Server, One Application, One Continuous Storyline

The most distinctive feature of this series is scenario consistency. All practical exercises run on the same lab network, 192.168.1.0/24, using the example.local DNS zone built in Chapter 9, which is then actually reused when configuring Nginx in Chapter 12. A Node.js application named demo-node is first executed as a systemd service in Chapter 15; its server is then managed as a managed node named app01 (192.168.1.40) via Ansible in Chapter 36, begins forwarding its logs via rsyslog to a central server in Chapter 39, and finally gains a complete release and symlink-based CI/CD pipeline in Chapter 42.

The climax occurs in Chapter 43: demo-node experiences a real incident after a deployment process appears successful in GitHub Actions, but users trying to access the application find the server refusing their connections instead. That chapter utilizes a systematic troubleshooting framework to dissect the issue rather than merely guessing solutions. This narrative approach enables readers not just to memorize commands one by one, but to understand how separate pieces of knowledge connect when a Sysadmin practices them together in the field, just like daily work.

Reference Software Versions

To keep the material relevant and allow readers to verify it, each chapter references specific software versions applicable to the Ubuntu Server 26.04 LTS ecosystem, including PostgreSQL 18, MySQL 8.4, MariaDB 11.8, MongoDB 8.0, and Node.js 24.x Active LTS track via NodeSource. Details like these are important because default behaviors, package names, and even command names can change between versions, such as the mysql* symlinks that MariaDB began dropping since version 11, or the mariadb-dump format changes since version 11.0.

Who This Series Is For

This series targets readers who have completed Linux 101: Introduction to Linux for Beginners, or at least possess basic knowledge regarding the command line interface, filesystems, users/permissions, and package management. This material is suitable for developers starting to take on operational duties, IT support personnel aiming to step up to Sysadmin roles, or anyone wanting to understand how the underlying infrastructure works behind web applications, databases, and cloud services they previously only accessed as clients.

Writing Approach: Practice First, Theory as Needed

Every chapter prioritizes practical steps that readers can follow directly: installation, configuration, verification, and troubleshooting common errors Sysadmins encounter in the field. The theoretical portion remains concise, serving only to equip readers before diving into actual commands and configuration files. Chapters that are purely conceptual, such as comparing Apache and Nginx or the history of MySQL and MariaDB, still include real-world examples and comparison tables so that the technical decisions behind them feel clear in reasoning rather than mere memorization.

After Completing This Series

Chapter 44 concludes the entire series with an advanced career roadmap ranging from System Administrator, DevOps Engineer, Site Reliability Engineer, to Cloud Engineer, complete with further specialization areas like Kubernetes, Terraform, ELK/EFK Stack, and certification pathways like LFCS and RHCSA. After completing all sections, readers will not only be able to execute server administration commands, but also understand the reasoning behind each configuration, a primary asset when facing real production servers beyond the pages of this series.