CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004

Book description

None

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication
  5. ABOUT THE AUTHORS
  6. CONTENTS AT A GLANCE
  7. Contents
  8. Acknowledgments
  9. Introduction
  10. Objective Map: Exam XK0-004
  11. Chapter 1 An Introduction to Linux and a Pre-Assessment Exam
    1. A Brief History of Linux
      1. Batch Processing
      2. ARPA/DARPA
      3. Compatible Time-Sharing System
      4. MULTICS
      5. UNIX
      6. MINIX
      7. GNU
      8. Linus Torvalds
    2. Linux Operating System Structure
      1. Kernel
      2. Operating System Software
      3. Application Software
    3. Distributions
      1. Distribution Differences
      2. Linux Derivatives
    4. Common Linux Implementations
      1. Linux on the Desktop
      2. Linux on the Server
      3. Mobile Linux
      4. Linux and Virtualization
      5. Linux and Cloud Computing
      6. Embedded Linux
    5. Chapter Review
    6. Pre-Assessment Test
    7. Questions
      1. Quick Answer Key
      2. In-Depth Answer Explanations
    8. Analyzing Your Results
  12. Chapter 2 Using the vi Text Editor
    1. The Role and Function of the vi Text Editor
    2. Editing Text Files in vi
      1. Opening Files in vi
      2. The vi Modes
      3. Working in Command Mode
      4. Working in Command-Line Mode
      5. Exercise 2-1: Using the vi Editor
    3. Editing Text Files in nano
      1. Configuration files
      2. Command Keys
    4. Chapter Review
      1. Questions
      2. Answers
  13. Chapter 3 Working with the Linux Shell
    1. What Is a Shell?
    2. Configuring the Shell
      1. Processes
      2. Variables
      3. Aliases
    3. Setting Up the Local Environment (Locale)
      1. Character Encoding
      2. ASCII
      3. Unicode
      4. locale Settings
    4. Setting Time
      1. date
      2. /etc/timezone and /usr/share/zoneinfo
      3. hwclock
      4. timedatectl
    5. Bash Configuration Files
      1. /etc/profile
      2. /etc/bashrc
      3. ~/.bash_profile
      4. ~/.bashrc
      5. /etc/profile.d
      6. The source Command
      7. Exercise 3-1: Working with Variables, Parameters, and Aliases
    6. Redirection
      1. File Descriptors
      2. Terminal devices
      3. /dev/null
      4. stdin
      5. stdout
      6. stderr
      7. Combining stdout and stderr
      8. Pipe
      9. Exercise 3-2: Redirection
    7. Chapter Review
      1. Questions
      2. Answers
  14. Chapter 4 Managing Linux Users and Groups
    1. Understanding Linux Users and Groups
      1. Linux User Accounts
      2. Real and Effective User and Group IDs
    2. Creating and Managing User Accounts from the Command Line
      1. useradd
      2. Exercise 4-1: Managing User Accounts from the Command Line
      3. Linux Groups
      4. Exercise 4-2: Managing Groups from the Command Line
    3. Chapter Review
      1. Questions
      2. Answers
  15. Chapter 5 Managing Linux Files and Directories
    1. Understanding Filesystem Hierarchy Standard (FHS)
      1. Navigating the Filesystem
      2. Viewing Directory Contents
      3. Exercise 5-1: Navigating the Filesystem
    2. Managing Linux Files
      1. Filenames
      2. Types of Files Used by Linux
      3. Creating New Files
      4. Symbolic and Hard Links
      5. Creating New Directories
      6. Determining the File Content
      7. Viewing File Contents
      8. Deleting Files
      9. Copying and Moving Files
      10. Exercise 5-2: Managing Files and Directories
    3. Finding Files in the Linux Filesystem
      1. Using find
      2. Using xargs
      3. Using locate
      4. Using whereis
    4. Understanding Commands and Precedence
      1. Alias
      2. Function
      3. Builtin
      4. External
      5. Exercise 5-3: Finding Files
    5. Finding Content within Files
      1. grep
      2. egrep
      3. fgrep
      4. Exercise 5-4: Using grep
    6. Chapter Review
      1. Questions
      2. Answers
  16. Chapter 6 Managing Ownership and Permissions
    1. Managing File Ownership
      1. Managing Ownership from the Command Line
      2. Exercise 6-1: Managing Ownership
    2. Managing File and Directory Permissions
      1. How Permissions Work
      2. Managing Permissions from the Command Line
      3. Exercise 6-2: Managing Permissions
      4. Working with Default Permissions
      5. Working with Special Permissions
      6. Exercise 6-3: Managing Default and Special Permissions
    3. File Attributes and Access Control Lists
      1. File Access Control Lists
    4. Chapter Review
      1. Questions
      2. Answers
  17. Chapter 7 Managing Linux Filesystems
    1. Partitions Overview
      1. Master Boot Record
      2. GPT
      3. Device Naming Conventions
      4. Locating a Device
      5. Viewing Disk Partitions
    2. Creating Partitions
      1. Partition Considerations
      2. fdisk
      3. parted
      4. gdisk
      5. Block Device Encryption
    3. Managing Filesystems
      1. Available Filesystems
      2. Building a Filesystem
      3. Mounting a Filesystem
      4. Automatic Mounts
      5. Unmounting a Partition
      6. Maintaining Linux Filesystems
      7. Managing Quotas
      8. Editing /etc/fstab
      9. Creating database files
      10. Assigning a Quota
      11. Exercise 7-1: Managing Linux Partitions
    4. Chapter Review
      1. Questions
      2. Answers
  18. Chapter 8 Configuring Volume Management
    1. Implementing Logical Volume Management
      1. LVM Components
      2. LVM Configuration
      3. LVM Snapshots
    2. Creating Archives and Performing Compression
      1. Selecting a Backup Medium
      2. Selecting a Backup Strategy
      3. Linux Backup and Compression Utilities
      4. Exercise 8-1: Backing Up Data
    3. Enabling RAID with LVM
      1. Software RAID Configuration
      2. Verifying RAID Status
      3. Exercise 8-2: RAID and Logical Volumes
    4. Chapter Review
      1. Questions
      2. Answers
  19. Chapter 9 Managing Linux Processes
    1. Understanding Linux Processes
      1. User Versus System Processes
      2. How Linux Processes Are Loaded
    2. Managing Processes
      1. Starting System Processes
      2. Viewing Running Processes
      3. Prioritizing Processes
      4. Managing Foreground and Background Processes
      5. Ending a Running Process
      6. Keeping a Process Running After Logout
      7. Exercise 9-1: Working with Linux Processes
    3. Scheduling Processes
      1. Using the at Daemon
      2. Using the cron Daemon
      3. Exercise 9-2: Scheduling Linux Processes
      4. Using the anacron Service
    4. Chapter Review
      1. Questions
      2. Answers
  20. Chapter 10 Managing Linux Software
    1. What Is a Package Manager?
    2. Red Hat Package Manager (RPM)
      1. Package Names
      2. RPM modes
      3. Installing an RPM Package
      4. Upgrading an RPM Package
      5. Removing (Erasing) an RPM Package
      6. Verify Mode
      7. Querying the RPM Database
      8. rpm2cpio
      9. Exercise 10-1: RPM
    3. yum
      1. /etc/yum.conf
      2. /etc/yum/repos.d
      3. Plug-Ins
      4. Yum Commands
      5. Exercise 10-2: Yum
    4. dnf
    5. zypper
      1. Installing, Updating, and Removing Packages
      2. Working with Repositories
    6. Debian Package Management
      1. Debian Package Naming
      2. Installing Packages with dpkg
      3. Viewing Package Information with apt-cache
      4. Installing Packages with apt-get
      5. Using aptitude
    7. Installing Packages from a Source
      1. Preparing the Installation Files
      2. Compiling the Executable
      3. Installing the Executable
      4. Exercise 10-3: Building Software from Source Code
      5. Uninstalling Software Compiled from Source Code
    8. Managing Shared Libraries
      1. How Shared Libraries Work
      2. lib/modules
    9. Chapter Review
      1. Questions
      2. Answers
  21. Chapter 11 Managing the Linux Boot Process
    1. The Bootstrap Phase
      1. BIOS
      2. UEFI ESP
      3. PXE
      4. ISO
    2. The Bootloader Phase
      1. GRUB (Legacy)
      2. GRUB2
      3. Exercise 11-1: Working with GRUB2
    3. The Kernel Phase
    4. System V Initialization
      1. Runlevel
      2. /etc/inittab
      3. /etc/rc.local
      4. Changing Runlevels
      5. Managing Daemons
      6. Shutting Down the System
    5. Working with systemd
      1. Units
      2. Controlling Services
      3. Targets
    6. Kernel Panic
    7. Chapter Review
      1. Questions
      2. Answers
  22. Chapter 12 Managing Hardware Under Linux
    1. Discovering Devices
      1. Kernel and User Space
      2. /sys and sysfs
      3. PCI
      4. Host Bus Adapter (HBA)
      5. udev
    2. Configuring Hardware Devices
      1. lsdev
      2. lshw
      3. Exercise 12-1: Discovering Devices
    3. Configuring Bluetooth
      1. Classes
      2. Bluetooth Commands
    4. Configuring Wi-Fi
      1. Scanning for Network Devices
      2. Configuring a Wi-Fi Network
    5. Configuring Storage Devices
      1. IDE
      2. SCSI
      3. SATA
      4. Optical Drives
      5. Solid State Drives
      6. USB
      7. sginfo
      8. hdparm
      9. lsscsi
    6. Understanding Printing
      1. Adding Printers
    7. lpadmin
      1. Printing to a Printer
      2. Managing Printers and Print Queues
      3. Cancelling Print Jobs
      4. lpmove
      5. Removing a Printer or Printer Class
      6. Exercise 12-2: Printing
    8. Using Facility Priority with dmesg
    9. Using the abrt Command
      1. Exercise 12-3: abrt
    10. Chapter Review
      1. Questions
      2. Answers
  23. Chapter 13 Writing Shell Scripts
    1. Understanding Shell Script Components
      1. Shebang (#!)
      2. Comments (#)
      3. Executing a Script
      4. Variables
      5. Reading User Input
      6. Positional Parameters
      7. Functions
      8. Command Substitution
    2. Using Control Operators
      1. Expressions
      2. Control Structure
      3. Using Looping Structures
      4. Exercise 13-1: Creating a Basic Shell Script
    3. Processing Text Streams
      1. tr
      2. cut
      3. expand and unexpand
      4. fmt
      5. join and paste
      6. nl
      7. od
      8. pr
      9. sed
      10. awk
      11. sort
      12. split
      13. head
      14. tail
      15. uniq
      16. wc
      17. Exercise 13-2: Processing Text Streams
    4. Chapter Review
      1. Questions
      2. Answers
  24. Chapter 14 Managing Linux Network Settings
    1. Understanding IP Networks
      1. What Is a Protocol?
      2. How IPv4 Addresses Work
      3. How IPv4 Subnet Masks Work
    2. Configuring Network Addressing Parameters
      1. Assigning NIC Nomenclature
      2. Configuring IPv4 Parameters
      3. Exercise 14-1: Working with Network Interfaces
      4. Configuring Routing Parameters
      5. Configuring Name Resolver Settings
      6. Configuring IPv6
    3. Troubleshooting Network Problems
      1. Using a Standardized Troubleshooting Model
      2. Using ping
      3. Using netstat
      4. Using traceroute
      5. Using nc
      6. Using Name Resolution Tools
      7. Exercise 14-2: Working with Network Commands
    4. Understanding Network-based Filesystems
      1. Network File System (NFS)
      2. Samba
    5. Chapter Review
      1. Questions
      2. Answers
  25. Chapter 15 Understanding Network Security
    1. Understanding How Encryption Works
      1. Symmetric Encryption
      2. Asymmetric Encryption
      3. Integrity Checking via Hashing
    2. Implementing Secured Tunnel Networks
      1. How SSH Works
      2. Configuring SSH
      3. Exercise 15-1: Working with SSH
      4. Logging In to SSH Without a Password
      5. Exercise 15-2: Configuring Public Key Authentication
      6. Virtual Private Networks
    3. Configuring High-Availability Networking
      1. Network Bridge Control
      2. Network Bonding
    4. Understanding Single Sign-On
      1. RADIUS
      2. LDAP
      3. Kerberos
      4. TACACS+
    5. Defending Against Network Attacks
      1. Mitigating Network Vulnerabilities
      2. Implementing a Firewall with firewalld
      3. Exercise 15-3: Implementing Network Security Measures with firewalld
      4. Implementing a Firewall with iptables
      5. Exercise 15-4: Implementing Network Security Measures with iptables
    6. Encrypting Files with GPG
      1. How GPG Works
      2. Using GPG to Encrypt Files
      3. Exercise 15-5: Using GPG to Encrypt Files
    7. Chapter Review
      1. Questions
      2. Answers
  26. Chapter 16 Securing Linux
    1. Securing the System
      1. Securing the Physical Environment
      2. Securing Access to the Operating System
    2. Controlling User Access
      1. To Root or Not to Root?
      2. Implementing a Strong Password Policy
      3. Locking Accounts After Failed Authentications
      4. Configuring User Limits
      5. Disabling User Login
      6. Security Auditing Using find
      7. Exercise 16-1: Managing User Access
    3. Managing System Logs
      1. Configuring Log Files
      2. Using Log Files to Troubleshoot Problems
      3. Using Log Files to Detect Intruders
    4. Enhancing Group and File Security
      1. Implementing SELinux
      2. Implementing AppArmor
      3. Exercise 16-2: Managing SELinux Contexts
    5. Chapter Review
      1. Questions
      2. Answers
  27. Chapter 17 Applying DevOps: Automation and Orchestration
    1. Orchestration Concepts
    2. Orchestration Processes
    3. The Git Revision Control System
      1. Using Git
      2. Collaborating with Git
      3. Exercise 17-1: Working with a Git Repository
    4. Chapter Review
      1. Questions
      2. Answers
  28. Chapter 18 Understanding Cloud and Virtualization
    1. Understanding Virtualization
      1. Hypervisors
      2. Thin vs. Thick Provisioning
      3. Virtualization File Formats
      4. libvirt
    2. Containers
      1. Persistent Volumes
      2. BLOB Storage
      3. Container Markup Languages
      4. Cloud-init
    3. Networking
      1. NAT
      2. Bridge
      3. Overlay
      4. Dual-Homed
      5. Bonding Interfaces
      6. Virtual Switch
    4. Anaconda and Kickstart
    5. Chapter Review
      1. Questions
      2. Answers
  29. Chapter 19 Troubleshooting and Diagnostics
    1. A Standardized Troubleshooting Model
    2. Troubleshooting Computer Problems
      1. Verify Hardware Configuration
      2. Verify CPU Performance
      3. Verify Memory Performance
      4. Exercise 19-1: Working with Swap Space
      5. Validate Storage Performance
      6. Validate Other Devices
    3. Troubleshooting Network Problems
      1. Verify Network Performance
      2. Validate User Connections
      3. Validate the Firewall
      4. Exercise 19-2: Troubleshooting Networking Issues
    4. Chapter Review
      1. Questions
      2. Answers
  30. Chapter 20 Installing and Configuring Linux
    1. Designing a Linux Installation
      1. Linux Installers and the Linux+ Exam
      2. Conducting a Needs Assessment
      3. Selecting a Distribution
      4. Checking Hardware Compatibility
      5. Verifying System Requirements
      6. Planning the Filesystem
      7. Selecting Software Packages
      8. Identifying User Accounts
      9. Gathering Network Information
      10. Selecting an Installation Source
    2. Installing Linux
      1. Exercise 20-1: Installing a Linux System
    3. Configuring the X Environment
      1. Configuring the X Server
      2. Configuring the Display Manager
      3. Configuring Accessibility
    4. Configuring Locale Settings
    5. Configuring Time Zone Settings
    6. Configuring Printing with CUPS
      1. Configuring CUPS
    7. Configuring E-mail
    8. Configuring SQL Databases
      1. Questions
      2. Answers
  31. Appendix About the Online Content
    1. System Requirements
    2. Your Total Seminars Training Hub Account
      1. Privacy Notice
    3. Single User License Terms and Conditions
    4. TotalTester Online
    5. Other Book Resources
      1. Virtual Machines
      2. Videos
      3. Book Figures
    6. Technical Support
  32. Index

Product information

  • Title: CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004
  • Author(s):
  • Release date:
  • Publisher(s): McGraw-Hill
  • ISBN: None