Skip to content
WSC DIGITAL

Free book · 804 pages · PDF, in French

Mastering Ubuntu 24.04 LTS

From first boot to administering servers. A complete book by Gary Nkweka, founder of WSC Digital, given away to everyone. You may download, copy and share it freely. It may not be sold. The book is written in French.

Creative Commons BY-NC-ND 4.0 licence. Screen edition or print edition, in French.

Mastering Ubuntu 24.04 LTS

What you will learn

Install Ubuntu 24.04 on a workstation or a server. Master the command line and write Bash scripts. Understand systemd. Manage disks, LVM, RAID and backups. Configure networking and SSH, and harden the system. Deploy a website, a database and monitoring. Then move on to Git, Docker and Ansible.

Every command was run on Ubuntu 24.04 LTS, and every output is shown exactly as it appeared. The book explains the why before the how.

Who it is for

Beginners, developers, Windows administrators moving to Linux, future system administrators and DevOps engineers. And anyone who hosts their own services.

The licence, in plain words

This book is published under the Creative Commons Attribution, NonCommercial, NoDerivatives 4.0 International licence (CC BY-NC-ND 4.0).

You may

Download, copy, print and share it, free of charge, in any form: with your students, your colleagues, at your school or in your company.

Provided that you

Credit the author and the source: Gary Nkweka, wscdigital.net. Share it as it is, without changing it or distributing a modified version.

You may not

Sell it, on its own or bundled with anything else, or make a commercial profit from it. A printed copy is given away, never sold.

Full licence text: creativecommons.org/licenses/by-nc-nd/4.0. For any other use, write to contact@wscdigital.net.

Contents

Thirty-three chapters in eleven parts, two complete projects and five appendices. Chapter titles are translated here; the book itself is in French.

I. Foundations

  • 1. Linux, Ubuntu and you
  • 2. Installing Ubuntu 24.04
  • 3. First steps in the desktop

II. The Ubuntu environment

  • 4. The file system
  • 5. Essential shell commands
  • 6. Users, groups and permissions
  • 7. Package management

III. Mastering the Bash shell

  • 8. The shell in depth
  • 9. Processing text on the command line
  • 10. Writing Bash scripts

IV. systemd and system management

  • 11. How the system boots
  • 12. Processes and services
  • 13. Logs and scheduling

V. Storage and file systems

  • 14. Disks, partitions and file systems
  • 15. LVM, RAID and encryption
  • 16. Backup and restore

VI. Networking on Ubuntu

  • 17. Networking fundamentals
  • 18. Configuring the network on Ubuntu
  • 19. SSH

VII. System security

  • 20. Hardening the system
  • 21. Firewalls and network protection
  • 22. AppArmor and confinement

VIII. Essential server services

  • 23. Web servers
  • 24. Databases
  • 25. Sharing files over the network
  • 26. Monitoring a server

IX. Automation and DevOps

  • 27. Git and version control
  • 28. Containers with Docker
  • 29. Automating with Ansible

X. Troubleshooting, performance, recovery

  • 30. Diagnosing an incident
  • 31. Recovery and rescue

XI. Guided projects

  • 32. Project: a personal server
  • 33. Project: a workstation

Appendices

  • A. Command cheat sheet
  • B. systemd reference
  • C. Glossary
  • D. Resources to keep going
  • E. Quick install

Your servers, without the sleepless nights

The book teaches you to do it all yourself. If you would rather we handled it, we install, secure and monitor your Ubuntu servers. Describe what you need: an answer within 48 hours.

Ubuntu and Canonical are registered trademarks of Canonical Ltd. This book is not published or endorsed by Canonical.