Mastering Linux Administration
eBook - ePub

Mastering Linux Administration

  1. 772 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering Linux Administration

About this book

Develop advanced skills for working with Linux systems on-premises and in the cloudKey Featuresโ€ข Become proficient in everyday Linux administration tasks by mastering the Linux command line and using automationโ€ข Work with the Linux filesystem, packages, users, processes, and daemonsโ€ข Deploy Linux to the cloud with AWS, Azure, and KubernetesBook DescriptionLinux 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.What you will learnโ€ข Understand how Linux works and learn basic to advanced Linux administration skillsโ€ข Explore the most widely used commands for managing the Linux filesystem, network, security, and moreโ€ข Get to grips with different networking and messaging protocolsโ€ข Find out how Linux security works and how to configure SELinux, AppArmor, and Linux iptablesโ€ข Work with virtual machines and containers and understand container orchestration with Kubernetesโ€ข Work with containerized workflows using Docker and Kubernetesโ€ข Automate your configuration management workloads with AnsibleWho this book is forIf you are a Linux administrator who wants to understand the fundamentals and as well as modern concepts of Linux system administration, this book is for you. Windows System Administrators looking to extend their knowledge to the Linux OS will also benefit from this book.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weโ€™ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere โ€” even offline. Perfect for commutes or when youโ€™re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Mastering Linux Administration by Alexandru Calcatinge,Julian Balog in PDF and/or ePUB format, as well as other popular books in Computer Science & Client-Server Computing. We have over one million books available in our catalogue for you to explore.

Section 1: Linux Basic Administration

In this first section, you will master the Linux command line and basic administrative tasks such as managing users, packages, files, services, processes, signals, and disks.
This part of the book comprises the following chapters:
  • Chapter 1, Installing Linux
  • Chapter 2, The Linux Filesystem
  • Chapter 3, Linux Software Management
  • Chapter 4, Managing Users and Groups
  • Chapter 5, Working with Processes, Daemons, and Signals

Chapter 1: Installing Linux

The recent years have marked a significant rise in the adoption of Linux as the operating system of choice for both server and desktop computing platforms. From enterprise-grade servers and large-scale cloud infrastructures to individual workstations and small-factor home appliances, Linux has become an ever-present platform for a wide range of applications.
The prevalence of Linux, perhaps now more than ever, brings into the spotlight much-needed administration skills for a growing community of system administrators and developers. In this book, we take a practical approach to Linux administration essentials, with the modern-day system administrator, DevOps, or developer in mind.
In this first chapter, we'll guide you through the Linux installation process, either on physical hardware (bare metal) or using a Virtual Machine (VM). We'll take you further with a few case studies on choosing a Linux distribution based on functional requirements. Along the way, we introduce you to the Linux graphical user interface with some hands-on examples of configuring GNOME and KDE. Finally, we build a Linux workstation suitable for our daily computing needs.
Here are the topics we cover in this chapter:
  • The Linux operating system
  • Linux distributions
  • Choosing the right Linux distribution
  • Installing Linux - the basics
  • The Windows Subsystem for Linux (WSL)
  • Installing Linux graphical user interfaces
  • Setting up and using the Linux workstation

Technical requirements

We will use the following platforms and technologies in this chapter:
  • Linux distributions: Ubuntu Server, Ubuntu Desktop, CentOS
  • Linux package managers: DEB, RPM
  • VM hypervisors: Oracle VM VirtualBox, VMware Workstation
  • VM host platforms: Windows, macOS X
  • The Bash Command-Line Interface (CLI)
  • GitHub (https://github.com/)

The Linux operating system

Linux is a relatively modern operating system created in 1991 by Linus Torvalds, a Finnish computer science student at the time, from Helsinki. Originally released as a free and open source platform prohibiting commercial redistribution, Linux eventually adopted the GNU General Public Licensing (GPL) model in 1992. This move played a significant role in its wide adoption by the developer community and commercial enterprises alike.
It is important to note that the Free Software Foundation community distinctly refers to Linux operating systems (or distributions) as GNU/Linux to emphasize the importance of GNU or free software.
Initially made for Intel x86 processor-based computer architectures, Linux has since been ported to a wide variety of platforms, becoming one of the most popular operating systems currently in use.
The genesis of Linux might be considered the open source alternative of its mighty predecessor, Unix. This system was a commercial-grade operating system developed at AT&T Bell Labs research center by Ken Thompson and Dennis Ritchie in 1969.

Linux distributions

A Linux operating system is typically referred to as a distribution. A Linux distribution, or distro, is the installation bundle (usually an ISO image) of an operating system that has a collection of tools, libraries, and additional software packages installed on top of the Linux kernel.
A kernel is the core interface between a computer's hardware and its processes, controlling the communication between the two and managing the underlying resources as efficiently as possible.
The software collection bundled with the Linux kernel usually consists of a bootloader, shell, package management system, graphical user interface, and various software utilities and applications.
The following diagram is a simplified illustration of a generic Linux distribution architecture:
Figure 1.1 โ€“ Simplified view of a generic Linux architecture
Figure 1.1 โ€“ Simplified view of a generic Linux architecture
There are hundreds of Linux distributions currently available. Among the most popular are Debian, Fedora, openSUSE, Arch Linux, and Slackware, with many other Linux distributions either based upon or derived from them. Some of these distros are divided into commercial and community-supported platforms.
One of the key differences between Linux distributions is the package management system they use and the related Linux package format. We'll get into more detail on this topic in later chapters. For now, the focus is on choosing the right Linux distribution ...

Table of contents

  1. Mastering Linux Administration
  2. Contributors
  3. Preface
  4. Section 1: Linux Basic Administration
  5. Chapter 1: Installing Linux
  6. Chapter 2: The Linux Filesystem
  7. Chapter 3: Linux Software Management
  8. Chapter 4: Managing Users and Groups
  9. Chapter 5: Working with Processes, Daemons, and Signals
  10. Section 2: Advanced Linux Server Administration
  11. Chapter 6: Working with Disks and Filesystems
  12. Chapter 7: Networking with Linux
  13. Chapter 8: Configuring Linux Servers
  14. Chapter 9: Securing Linux
  15. Chapter 10: Disaster Recovery, Diagnostics, and Troubleshooting
  16. Section 3: Cloud Administration
  17. Chapter 11: Working with Containers and Virtual Machines
  18. Chapter 12: Cloud Computing Essentials
  19. Chapter 13: Deploying to the Cloud with AWS and Azure
  20. Chapter 14: Deploying Applications with Kubernetes
  21. Chapter 15: Automating Workflows with Ansible
  22. Other Books You May Enjoy