ENGLISH

Mastering Linux System Administration

Book information

Publisher
Sybex
Year
2021
ISBN
1119794455, 9781119794455
Language
english
Format
PDF
Filesize
11 MB (11413141 bytes)
Edition
1
Pages
576\579
Time added
2021-08-08 11:05:31

Description

Achieve Linux system administration mastery with time-tested and proven techniques  In Mastering Linux System Administration, Linux experts and system administrators Christine Bresnahan and Richard Blum deliver a comprehensive roadmap to go from Linux beginner to expert Linux system administrator with a learning-by-doing approach. Organized by do-it-yourself tasks, the book includes instructor materials like a sample syllabus, additional review questions, and slide decks.  Amongst the practical applications of the Linux operating system included within, you’ll find detailed and easy-to-follow instruction on:  Installing Linux servers, understanding the boot and initialization processes, managing hardware, and working with networks  Accessing the Linux command line, working with the virtual directory structure, and creating shell scripts to automate administrative tasks  Managing Linux user accounts, system security, web and database servers, and virtualization environments  Perfect for entry-level Linux system administrators, as well as system administrators familiar with Windows, Mac, NetWare, or other UNIX systems, Mastering Linux System Administration is a must-read guide to manage and secure Linux servers.  Cover Title Page Copyright Page Acknowledgments About the Authors About the Technical Editor Contents at a Glance Contents Introduction Who Should Read This Book What You Will Learn What You Need The Mastering Series How to Contact Wiley or the Authors Part 1 Basic Admin Functions Chapter 1 Understanding the Basics What Is Linux? Looking into the Linux Kernel The GNU Utilities Linux User Interfaces Linux Distributions Core Linux Distributions Specialized Linux Distributions The Bottom Line Chapter 2 Installing an Ubuntu Server Pre-Installation Requirements Hardware Requirements Virtual Server Requirements Finding the Software Oracle VirtualBox Ubuntu Server Running the Installation Oracle VirtualBox Ubuntu Server Checking the Installation The Bottom Line Chapter 3 Installing and Maintaining Software in Ubuntu Exploring Package Management Inspecting the Debian-Based Systems Managing Packages with apt Installing Software Packages with apt Upgrading Software with apt Uninstalling Software with apt The apt Repositories Using Snap Containers Installing from Source Code The Bottom Line Chapter 4 Installing a Red Hat Server Pre-Installation Requirements Hardware Requirements Virtual Server Requirements Finding the Software Oracle VirtualBox CentOS Running the Installation Oracle VirtualBox CentOS Checking the Installation The Bottom Line Chapter 5 Installing and Maintaining Software in Red Hat Exploring Red Hat Packages Automated Package Management Listing Installed Packages Installing Software with dnf Upgrading Software with dnf Uninstalling Software with dnf Handling Broken Dependencies Working with RPM Repositories Working Directly with Packages Finding Package Files Inspecting Package Files Installing Package Files Removing Package Files Using Flatpak Containers The Bottom Line Chapter 6 Working with the Shell Exploring the Shell The Shell Prompt The Shell Manual Working with Commands Entering Commands Retrieving Past Commands Redirecting Commands Environment Variables Global Environment Variables User-Defined Environment Variables The Bottom Line Chapter 7 Exploring Linux File Management Filesystem Navigation The Linux Filesystem Traversing Directories Linux Files Determining File Types Filenames Hidden Files File Inodes File and Directory Listing Basic Listing Modifying Listing Information The Complete Parameter List Directory Handling Creating Directories Deleting Directories File Handling Creating Files Copying Files Linking Files Renaming Files Deleting Files File Features Using Wildcards Quoting Case Sensitivity Finding Files The which Command The locate Command The whereis Command The find Command Archiving Files Compressing Files Creating Archive Files Archiving Scenarios The Bottom Line Chapter 8 Working with Text Files The vim Editor Checking Your vim Editor Program Using the vim Editor The nano Editor Working with Data Files Sorting Searching Compressing Archiving The Bottom Line Part 2 Intermediate Admin Functions Chapter 9 Managing Hardware Device Driver Modules Listing Installed Modules Installing New Modules Removing Modules Communicating with Devices Device Interfaces The /dev Directory The /proc Directory The /sys Directory Working with Devices Finding Devices Working with PCI Cards Working with USB Devices Using Hot Pluggable Devices Detecting Dynamic Devices Working with Dynamic Devices The Bottom Line Chapter 10 Booting Linux Understanding the Boot Process Overview of the Boot Process Watching the Boot Process The Firmware Startup The GRUB2 Bootloader Configuring the GRUB2 Bootloader Exploring the GRUB2 Configuration Interacting with GRUB2 The systemd Initialization Process Exploring Unit Files Focusing on Service Unit Files Focusing on Target Unit Files Changing a Unit Configuration File Changing the systemd Configuration File Looking at systemctl Jumping Targets Analyzing with systemd The Bottom Line Chapter 11 Working with Storage Devices Storage Basics Drive Connections Partitioning Drives Automatic Drive Detection Partitioning Tools Working with fdisk Working with gdisk The GNU parted Command Formatting Filesystems Common Filesystem Types Creating Filesystems Mounting Filesystems Manually Mounting Devices Automatically Mounting Devices Managing Filesystems Retrieving Filesystem Stats Filesystem Tools Storage Alternatives Multipath Logical Volume Manager Using RAID Technology The Bottom Line Chapter 12 Configuring Network Settings Network Settings Ubuntu Servers Red Hat Servers Using Network Command-Line Tools NetworkManager Tools Other Tools Basic Network Troubleshooting Sending Test Packets Finding Host Information Advanced Network Troubleshooting The netstat Command Examining Sockets The Bottom Line Chapter 13 Managing Users and Groups Understanding Linux Permissions Understanding Ownership Controlling Access Permissions Exploring Special Permissions Managing Default Permissions Using Access Control Lists Managing User Accounts Adding Accounts Maintaining Accounts Removing Accounts Maintaining the Environment Setting Environment Variables Exploring User Entries Exploring Global Entries Managing Groups Adding Groups Removing Groups The Bottom Line Chapter 14 Working with Processes and Jobs Looking at Processes Monitoring Processes in Real Time Managing Processes Setting Priorities Stopping Processes Running Programs in Background Mode Running in the Background Running Multiple Background Jobs Running Programs Without a Console Job Control Viewing Jobs Restarting Stopped Jobs Scheduling Jobs Scheduling a Job Using the at Command Scheduling Recurring Programs The Bottom Line Chapter 15 Managing Log Files The systemd Journaling System Configuring systemd-journald Looking at Journal Files Making the Journal Persistent Viewing Journal Entries Maintaining the Journal Viewing Different Journal Files Protecting Journal Files Making Journal Entries The rsyslog Legacy System The syslog Protocol Basic Logging Using rsyslogd Layering Your Logging Making Log Entries Finding Event Messages The Bottom Line Chapter 16 Managing Printers The Common Unix Printing System Printer Drivers Web Interface Command-Line Commands Printer Sharing Printer Classes Installing and Configuring CUPS Installing CUPS Preparing the Server to Use CUPS Using CUPS Administration Functions Managing Printers and Jobs in CUPS The Bottom Line Part 3 Advanced Admin Functions Chapter 17 Exploring Ubuntu Security Locking Down Root Looking at Linux Account Types Gaining Super User Privileges Using OpenSSH on Ubuntu Exploring Basic SSH Concepts Configuring SSH Generating SSH Keys Authenticating with SSH Keys The AppArmor System Network Security Using Firewalls Understanding UFW Configuring UFW The Bottom Line Chapter 18 Exploring Red Hat Security Working with Root Access Keeping Track of Root Logins Disabling Root Access from SSH Enabling Automatic Logout Blocking Root Access Using SELinux Enabling SELinux Understanding Security Context Using Policies Network Security Using Firewalls Red Hat Firewall Concepts Checking the Firewall Status Working with Zones Working with Firewall Rules The Bottom Line Chapter 19 Writing Scripts Beginning a Shell Script Creating a Script File Displaying Messages Using Variables Environment Variables User Variables Command Substitution Exiting the Script with Status Passing Parameters Adding Conditional Expressions Working with the if-then Statement Using Compound Tests Working with the if-then-else Statement Trying the case Statement Using Loops Looking at the for Command Working with the while Format Using the until Command Using Functions Creating Functions Calling Functions The Bottom Line Chapter 20 Managing Web Servers Linux Web Servers Apache nginx The Apache Web Server Installing an Apache Server Configuring the Apache Server Hosting Dynamic Web Applications Creating a Secure Web Server The nginx Server Installing nginx Configuring nginx The Bottom Line Chapter 21 Managing Database Servers Linux Database Servers Organizing the Data Querying the Data Controlling the Data Installing and Using MySQL/MariaDB Conducting a MariaDB Installation Accessing a MariaDB Database Populating and Using MariaDB Database Installing and Using PostgreSQL Conducting a PostgreSQL Installation Accessing a PostgreSQL Database Populating and Using a PostgreSQL Database The Bottom Line Chapter 22 Exploring the Virtualization Environment Hypervisors Managing VMs Creating a Virtual Machine Integrating via Linux Extensions Containers Exploring Container Types Looking at Container Software Organizing Containers Software Packaging Looking at Ubuntu Snap Looking at Flatpak The Bottom Line Appendix The Bottom Line Chapter 1: Understanding the Basics Chapter 2: Installing an Ubuntu Server Chapter 3: Installing and Maintaining Software in Ubuntu Chapter 4: Installing a Red Hat Server Chapter 5: Installing and Maintaining Software in Red Hat Chapter 6: Working with the Shell Chapter 7: Exploring Linux File Management Chapter 8: Working with Text Files Chapter 9: Managing Hardware Chapter 10: Booting Linux Chapter 11: Working with Storage Devices Chapter 12: Configuring Network Settings Chapter 13: Managing Users and Groups Chapter 14: Working with Processes and Jobs Chapter 15: Managing Log Files Chapter 16: Managing Printers Chapter 17: Exploring Ubuntu Security Chapter 18: Exploring Red Hat Security Chapter 19: Writing Scripts Chapter 20: Managing Web Servers Chapter 21: Managing Database Servers Chapter 22: Exploring the Virtualization Environment Index EULA

Similar books