Book Image

Mastering Linux Administration

By : Alexandru Calcatinge, Julian Balog
Book Image

Mastering Linux Administration

By: Alexandru Calcatinge, Julian Balog

Overview of this book

Linux plays a significant role in modern data center management and provides great versatility in deploying and managing your workloads on-premises and in the cloud. This book covers the important topics you need to know about for your everyday Linux administration tasks. The book starts by helping you understand the Linux command line and how to work with files, packages, and filesystems. You'll then begin administering network services and hardening security, and learn about cloud computing, containers, and orchestration. Once you've learned how to work with the command line, you'll explore the essential Linux commands for managing users, processes, and daemons and discover how to secure your Linux environment using application security frameworks and firewall managers. As you advance through the chapters, you'll work with containers, hypervisors, virtual machines, Ansible, and Kubernetes. You'll also learn how to deploy Linux to the cloud using AWS and Azure. By the end of this Linux book, you'll be well-versed with Linux and have mastered everyday administrative tasks using workflows spanning from on-premises to the cloud. If you also find yourself adopting DevOps practices in the process, we'll consider our mission accomplished.
Table of Contents (20 chapters)
Section 1: Linux Basic Administration
Section 2: Advanced Linux Server Administration
Section 3: Cloud Administration

Introduction to virtualization on Linux

Virtualization appeared as a need to make more efficient use of computer hardware. It is basically an abstraction layer that takes advantage of the computer's resources. In this section, you will learn about the types of VMs, how they work on Linux, and how to deploy and manage them.

Efficiency in resource usage

The abstraction layer that virtualization uses is a software layer that allows for a more efficient use of all of the computer's components. This allows for better use of all the physical machine's capabilities and resources.

Before going any further into virtualization, let's give you an example. In our testing laboratory, we have several physical machines, in the form of laptops and desktop computers that we use as servers. Each of the systems has significant resources available, more than enough to run the services we need. For instance, our least performant system is a laptop with a dual core Intel i3...