Skip to content
ImagineWorld

The Linux Devops Handbook

node_idnode-book_the-linux-devops-handbook
node_typenode-book
schema_profileworld.node_book.v1
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityinforms
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the dev-handbooks field, the work is a Linux DevOps handbook — the operational flow of building, deploying, and running systems — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD
constitutional_citationCONSTITUTION
peer_node_books
book_titleThe Linux Devops Handbook
book_publisherPackt Publishing
total_chapters14
updated_at2026-10-14T05:38:37Z
book_isbn9781803245669
book_copyrightCopyright © Packt Publishing
local graph

node-book_the-linux-devops-handbook_chapter-01-choosing-the-right-linux-distribution — Choosing the Right Linux Distribution

node-book_the-linux-devops-handbook_chapter-02-command-line-basics — Command-Line Basics

node-book_the-linux-devops-handbook_chapter-03-intermediate-linux — Intermediate Linux

node-book_the-linux-devops-handbook_chapter-04-automating-with-shell-scripts — Automating with Shell Scripts

node-book_the-linux-devops-handbook_chapter-05-managing-services-in-linux — Managing Services in Linux

node-book_the-linux-devops-handbook_chapter-06-networking-in-linux — Networking in Linux

node-book_the-linux-devops-handbook_chapter-07-git-your-doorway-to-devops — Git, Your Doorway to DevOps

node-book_the-linux-devops-handbook_chapter-08-docker-basics — Docker Basics

node-book_the-linux-devops-handbook_chapter-09-a-deep-dive-into-docker — A Deep Dive into Docker

node-book_the-linux-devops-handbook_chapter-10-monitoring-tracing-and-distributed-logging — Monitoring, Tracing, and Distributed Logging

node-book_the-linux-devops-handbook_chapter-11-using-ansible-for-configuration-as-code — Using Ansible for Configuration as Code

node-book_the-linux-devops-handbook_chapter-12-leveraging-infrastructure-as-code — Leveraging Infrastructure as Code

node-book_the-linux-devops-handbook_chapter-13-ci-cd-with-terraform-github-and-atlantis — CI/CD with Terraform, GitHub, and Atlantis

node-book_the-linux-devops-handbook_chapter-14-avoiding-pitfalls-in-devops — Avoiding Pitfalls in DevOps

DevOps has become a critical component of modern software development and delivery. It has revolutionized the way we build, test, deploy, and operate software systems. DevOps is not just a set of tools and practices but also a culture and mindset that focuses on collaboration, communication, and automation.

This book is designed to be a comprehensive guide to DevOps, covering everything from choosing the right Linux distribution to avoiding pitfalls in DevOps. Each chapter in this book provides detailed information and practical examples to help you understand the concepts and apply them to real-world scenarios.

This book is designed for individuals who have already gained some knowledge and experience in the field of software development and IT operations and are now seeking to further expand their knowledge of DevOps and Linux systems.

If you are not well versed in Linux systems, this book will provide you with the necessary guidance and tools to quickly learn and become proficient in managing Linux-based infrastructures. You will gain an understanding of the Linux operating system, its architecture, and its fundamental concepts.

Furthermore, this book emphasizes learning about public cloud technologies with a focus on AWS. If you are interested in learning how to use AWS to build and manage scalable and reliable systems, this book will provide you with the necessary knowledge and tools to get started.

Whether you are new to DevOps or have already gained some experience, this book provides a solid foundation for learning more complex concepts. It covers a wide range of topics, from the basics of Linux systems to more advanced DevOps practices such as configuration and infrastructure as code and CI/CD.

Chapter 1, Choosing the Right Linux Distribution, discusses the GNU/Linux history, and the differences between popular distributions.

Chapter 2, Command-Line Basics, guides you through the usage of a command line and common tools we’ll be using throughout the book.

Chapter 3, Intermediate Linux, describes more advanced features of GNU/Linux that you will find useful.

Chapter 4, Automating with Shell Scripts explains how to start writing your own scripts using the Bash shell.

Chapter 5, Managing Services in Linux, discusses different ways of managing services in Linux and shows you how to define your own services using systemd.

Chapter 6, Networking in Linux, describes how networking works, how to control different aspects of network configurations, and how to use command-line tools.

Chapter 7, Git, Your Doorway to DevOps, discusses what Git is and how to use Git’s version control system, including less commonly known Git features.

Chapter 8, Docker Basics, explores the containerization of your services or tools, and running and managing containers.

Chapter 9, A Deep Dive into Docker, discusses the more advanced features of Docker, including Docker Compose and Docker Swarm.

Chapter 10, Monitoring, Tracing, and Distributed Logging, discusses how to monitor your services, what tools you can use in the cloud, and how to do a basic setup.

Chapter 11, Using Ansible for Configuration as Code, looks at Configuration as Code with the use of Ansible; it’ll guide you through the basic setup and more advanced features of Ansible.

Chapter 12, Leveraging Infrastructure as Code, discusses what Infrastructure as Code (IaC) is, what the popular tools are, and how to manage your infrastructure using Terraform.

Chapter 13, CI/CD with Terraform, GitHub, and Atlantis, takes IaC one step further with the use of the Continuous Integration (CI) and Continuous Deployment (CD) of infrastructure with the use of Terraform and Atlantis.

Chapter 14, Avoiding Pitfalls in DevOps, discusses challenges you may encounter with your work in DevOps.

You will need Debian Linux or Ubuntu Linux installed on a virtual machine or as your main operating system on your computer. Other software we use is either already installed as a default toolset, or we will show you where to get it to install it on your system.

It is assumed that you have some basic knowledge of Linux and its command-line interface. Familiarity with shell scripting and basic programming concepts would also be helpful. Additionally, some understanding of IT infrastructure and how it is managed is recommended, as well as some exposure to software development practices.

This book is aimed at beginners in the DevOps world, and it assumes that you are eager to learn about the tools and concepts that are commonly used in this field. By the end of this book, you will have gained a solid understanding of how to manage infrastructure using IaC tools such as Terraform and Atlantis, as well as how to automate repetitive tasks using Ansible and Bash scripting. You will also learn how to set up logging and monitoring solutions to help you maintain and troubleshoot your infrastructure.

Software/hardware covered in the bookOperating system requirements
BashLinux OS has it preinstalled
AnsiblePython 3 or newer
TerraformLinux OS
AWS CLIPython 3 or newer
DockerLinux OS

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “While logged in as root, your prompt will end with the # sign. When logged in as a normal user, it will present you with $.”

A block of code is set as follows:

docker build [OPTIONS] PATH | URL | -

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

docker build [OPTIONS] PATH | URL | -

Any command-line input or output is written as follows:

chmod ug=rx testfile

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “ Ansible Galaxy is a community-driven platform that hosts an extensive collection of Ansible roles and playbooks.”

Tips or important notes

Appear like this.