You are previewing Linux Bible, 8th Edition.
O'Reilly logo
Linux Bible, 8th Edition

Book Description

More than 50 percent new and revised content for today's Linux environment gets you up and running in no time!

Linux continues to be an excellent, low-cost alternative to expensive operating systems. Whether you're new to Linux or need a reliable update and reference, this is an excellent resource. Veteran bestselling author Christopher Negus provides a complete tutorial packed with major updates, revisions, and hands-on exercises so that you can confidently start using Linux today.

  • Offers a complete restructure, complete with exercises, to make the book a better learning tool

  • Places a strong focus on the Linux command line tools and can be used with all distributions and versions of Linux

  • Features in-depth coverage of the tools that a power user and a Linux administrator need to get started

This practical learning tool is ideal for anyone eager to set up a new Linux desktop system at home or curious to learn how to manage Linux server systems at work.

Table of Contents

  1. Cover
  2. Table of Contents
  3. Part I: Getting Started
    1. Chapter 1: Starting with Linux
      1. Understanding What Linux Is
      2. Understanding How Linux Differs from Other Operating Systems
      3. Exploring Linux History
      4. Understanding How Linux Distributions Emerged
      5. Finding Professional Opportunities with Linux Today
      6. Summary
    2. Chapter 2: Creating the Perfect Linux Desktop
      1. Understanding Linux Desktop Technology
      2. Starting with the Fedora GNOME Desktop Live CD
      3. Using the GNOME 3 Desktop
      4. Using the GNOME 2 Desktop
      5. Summary
      6. Exercises
  4. Part II: Becoming a Linux Power User
    1. Chapter 3: Using the Shell
      1. About Shells and Terminal Windows
      2. Choosing Your Shell
      3. Running Commands
      4. Recalling Commands Using Command History
      5. Connecting and Expanding Commands
      6. Using Shell Variables
      7. Creating Your Shell Environment
      8. Getting Information About Commands
      9. Summary
      10. Exercises
    2. Chapter 4: Moving Around the Filesystem
      1. Using Basic Filesystem Commands
      2. Using Metacharacters and Operators
      3. Listing Files and Directories
      4. Understanding File Permissions and Ownership
      5. Moving, Copying, and Removing Files
      6. Summary
      7. Exercises
    3. Chapter 5: Working with Text Files
      1. Editing Files with vim and vi
      2. Finding Files
      3. Summary
      4. Exercises
    4. Chapter 6: Managing Running Processes
      1. Understanding Processes
      2. Listing Processes
      3. Managing Background and Foreground Processes
      4. Killing and Renicing Processes
      5. Summary
      6. Exercises
    5. Chapter 7: Writing Simple Shell Scripts
      1. Understanding Shell Scripts
      2. Summary
      3. Exercises
  5. Part III: Becoming a Linux System Administrator
    1. Chapter 8: Learning System Administration
      1. Understanding System Administration
      2. Using Graphical Administration Tools
      3. Using the root User Account
      4. Exploring Administrative Commands, Configuration Files, and Log Files
      5. Using Other Administrative Accounts
      6. Checking and Configuring Hardware
      7. Summary
      8. Exercises
    2. Chapter 9: Installing Linux
      1. Choosing a Computer
      2. Installing Fedora from a Live CD
      3. Installing Red Hat Enterprise Linux from Installation Media
      4. Installing Linux in the Enterprise
      5. Exploring Common Installation Topics
      6. Summary
      7. Exercises
    3. Chapter 10: Getting and Managing Software
      1. Managing Software with PackageKit
      2. Understanding Linux RPM Software Packaging
      3. Managing RPM Packages with YUM
      4. Installing, Querying, and Verifying Software with the rpm Command
      5. Managing Software in the Enterprise
      6. Summary
      7. Exercises
    4. Chapter 11: Managing User Accounts
      1. Creating User Accounts
      2. Understanding Group Accounts
      3. Managing Users in the Enterprise
      4. Centralizing User Accounts
      5. Summary
      6. Exercises
    5. Chapter 12: Managing Disks and Filesystems
      1. Understanding Disk Storage
      2. Partitioning Hard Disks
      3. Using Logical Volume Management Partitions
      4. Mounting Filesystems
      5. Using the mkfs Command to Create a Filesystem
      6. Summary
      7. Exercises
  6. Part IV: Becoming a Linux Server Administrator
    1. Chapter 13: Understanding Server Administration
      1. Starting with Server Administration
      2. Managing Remote Access with the Secure Shell Service
      3. Configuring System Logging
      4. Checking System Resources with sar
      5. Checking System Space
      6. Summary
      7. Exercises
    2. Chapter 14: Administering Networking
      1. Configuring Networking for Desktops
      2. Configuring Networking for Servers
      3. Configuring Networking in the Enterprise
      4. Summary
      5. Exercises
    3. Chapter 15: Starting and Stopping Services
      1. Understanding the Linux init Daemon
      2. Auditing Services
      3. Stopping and Starting Services
      4. Configuring Persistent Services
      5. Configuring a Default runlevel or target unit
      6. Adding New or Customized Services
      7. Summary
      8. Exercises
    4. Chapter 16: Configuring a Print Server
      1. Common UNIX Printing System
      2. Setting Up Printers
      3. Working with CUPS Printing
      4. Using Printing Commands
      5. Configuring Print Servers
      6. Summary
      7. Exercises
    5. Chapter 17: Configuring a Web Server
      1. Understanding the Apache Web Server
      2. Getting and Installing Your Web Server
      3. Starting Apache
      4. Troubleshooting Your Web Server
      5. Summary
      6. Exercises
    6. Chapter 18: Configuring an FTP Server
      1. Understanding FTP
      2. Installing the vsftpd FTP Server
      3. Starting the vsftpd Service
      4. Securing Your FTP Server
      5. Configuring Your FTP Server
      6. Using FTP Clients to Connect to Your Server
      7. Summary
      8. Exercises
    7. Chapter 19: Configuring a Windows File Sharing (Samba) Server
      1. Understanding Samba
      2. Installing Samba
      3. Starting and Stopping Samba
      4. Securing Samba
      5. Configuring Samba
      6. Accessing Samba Shares
      7. Using Samba in the Enterprise
      8. Summary
      9. Exercises
    8. Chapter 20: Configuring an NFS File Server
      1. Installing an NFS Server
      2. Starting the NFS service
      3. Sharing NFS Filesystems
      4. Securing Your NFS Server
      5. Using NFS Filesystems
      6. Unmounting NFS filesystems
      7. Summary
      8. Exercises
    9. Chapter 21: Troubleshooting Linux
      1. Boot-Up Troubleshooting
      2. Troubleshooting Software Packages
      3. Troubleshooting Networking
      4. Troubleshooting Memory
      5. Troubleshooting in Rescue Mode
      6. Summary
      7. Exercises
  7. Part V: Learning Linux Security Techniques
    1. Chapter 22: Understanding Basic Linux Security
      1. Introducing the Security Process Lifecycle
      2. Examining the Planning Phase
      3. Entering the Implementation Phase
      4. Working in the Monitoring Phase
      5. Working in the Audit/Review Phase
      6. Summary
      7. Exercises
    2. Chapter 23: Understanding Advanced Linux Security
      1. Implementing Linux Security with Cryptography
      2. Implementing Linux Security with PAM
      3. Summary
      4. Exercises
    3. Chapter 24: Enhancing Linux Security with SELinux
      1. Understanding SELinux Benefits
      2. Understanding How SELinux Works
      3. Configuring SELinux
      4. Monitoring and Troubleshooting SELinux
      5. Putting It All Together
      6. Obtaining More Information on SELinux
      7. Summary
      8. Exercises
    4. Chapter 25: Securing Linux on a Network
      1. Auditing Network Services
      2. Working with Firewalls
      3. Exercises
  8. Part VI: Appendixes
    1. Appendix A: Media
      1. Creating Linux CDs and DVDs
      2. Booting Linux from a USB Drive
    2. Appendix B: Exercise Answers
      1. Chapter 2: Creating the Perfect Linux Desktop
      2. Chapter 3: Using the Shell
      3. Chapter 4: Moving Around the Filesystem
      4. Chapter 5: Working with Text Files
      5. Chapter 6: Managing Running Processes
      6. Chapter 7: Writing Simple Shell Scripts
      7. Chapter 8: Learning System Administration
      8. Chapter 9: Installing Linux
      9. Chapter 10: Getting and Managing Software
      10. Chapter 11: Managing User Accounts
      11. Chapter 12: Managing Disks and Filesystems
      12. Chapter 13: Understanding Server Administration
      13. Chapter 14: Administering Networking
      14. Chapter 15: Starting and Stopping Services
      15. Chapter 16: Configuring a Print Server
      16. Chapter 17: Configuring a Web Server
      17. Chapter 18: Configuring an FTP Server
      18. Chapter 19: Configuring a Windows File Sharing (Samba) Server
      19. Chapter 20: Configuring an NFS File Server
      20. Chapter 21: Troubleshooting Linux
      21. Chapter 22: Understanding Basic Linux Security
      22. Chapter 23: Understanding Advanced Linux Security
      23. Chapter 24: Enhancing Linux Security with SELinux
      24. Chapter 25: Securing Linux on a Network
  9. Introduction