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


Here is a quick recap of some of the concepts you've learned in this chapter as a quiz:

  1. What is an AZ?
  2. Between a t2.small and a t2.micro AWS EC2 instance type, which one yields better performance?
  3. You have launched an AWS EC2 instance in the us-west-1a AZ and plan to attach an EBS volume created in us-west-1b. Would it work?
  4. You have two virtual machines and a block device (storage) in Azure, all three within the same resource group. You want to attach the storage to both virtual machines. Would it work? Would it work in AWS?
  5. You have a virtual machine in Azure with Standard SSD storage and plan to attach a managed disk with Premium SSD storage. Would it work?
  6. What is the SSH command to connect to your AWS EC2 instance or Azure virtual machine?
  7. You decided to stop one of your EC2 instances. Later, you restarted the instance and could no longer connect with SSH using the same public IP address. What happened?
  8. Why would you redeploy...