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

Book Description

The industry favorite Linux guide, updated for Red Hat Enterprise Linux 7 and the cloud

Linux Bible, 9th Edition is the ultimate hands-on Linux user guide, whether you're a true beginner or a more advanced user navigating recent changes. This updated ninth edition covers the latest versions of Red Hat Enterprise Linux 7 (RHEL 7), Fedora 21, and Ubuntu 14.04 LTS, and includes new information on cloud computing and development with guidance on Openstack and Cloudforms. With a focus on RHEL 7, this practical guide gets you up to speed quickly on the new enhancements for enterprise-quality file systems, the new boot process and services management, firewalld, and the GNOME 3 desktop. Written by a Red Hat expert, this book provides the clear explanations and step-by-step instructions that demystify Linux and bring the new features seamlessly into your workflow.

This useful guide assumes a base of little or no Linux knowledge, and takes you step by step through what you need to know to get the job done.

  • Get Linux up and running quickly

  • Master basic operations and tackle more advanced tasks

  • Get up to date on the recent changes to Linux server system management

  • Bring Linux to the cloud using Openstack and Cloudforms

  • Linux Bible, 9th Edition is the one resource you need, and provides the hands-on training that gets you on track in a flash.

    Table of Contents

    1. Cover Page
    2. Title Page
    3. Copyright
    4. Dedication
    5. About the Author
    6. About the Technical Editor
    7. Credits
    8. Acknowledgments
    9. Contents at a Glance
    10. Contents
    11. Introduction
      1. How This Book Is Organized
      2. Conventions Used in This Book
      3. Jumping into Linux
    12. 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 image
        3. Using the GNOME 3 Desktop
        4. Using the GNOME 2 Desktop
        5. Summary
        6. Exercises
    13. 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. Exiting the shell
        8. Creating Your Shell Environment
        9. Getting Information about Commands
        10. Summary
        11. 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. Limiting Processes with cgroups
        6. Summary
        7. Exercises
      5. Chapter 7: Writing Simple Shell Scripts
        1. Understanding Shell Scripts
        2. Summary
        3. Exercises
    14. 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 Live media
        3. Installing Red Hat Enterprise Linux from Installation Media
        4. Understanding Cloud-Based Installations
        5. Installing Linux in the Enterprise
        6. Exploring Common Installation Topics
        7. Summary
        8. Exercises
      3. Chapter 10: Getting and Managing Software
        1. Managing Software on the Desktop
        2. Going Beyond the Software Window
        3. Understanding Linux RPM and DEB Software Packaging
        4. Managing RPM Packages with YUM
        5. Installing, Querying, and Verifying Software with the rpm Command
        6. Managing Software in the Enterprise
        7. Summary
        8. 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
    15. 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. Using key-based (passwordless) authentication
        4. Configuring System Logging
        5. Checking System Resources with sar
        6. Checking System Space
        7. Managing Servers in the Enterprise
        8. Summary
        9. Exercises
      2. Chapter 14: Administering Networking
        1. Configuring Networking for Desktops
        2. Configuring Networking from the Command Line
        3. Configuring Networking in the Enterprise
        4. Summary
        5. Exercises
      3. Chapter 15: Starting and Stopping Services
        1. Understanding the Initialization Daemon (init or systemd)
        2. Checking the Status of Services
        3. Stopping and Starting Services
        4. Enabling 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
    16. Part V: Learning Linux Security Techniques
      1. Chapter 22: Understanding Basic Linux Security
        1. Understanding Security Basics
        2. Monitoring Your Systems
        3. Auditing and Reviewing Linux
        4. Summary
        5. 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. Summary
        4. Exercises
    17. Part VI: Extending Linux into the Cloud
      1. Chapter 26: Using Linux for Cloud Computing
        1. Overview of Linux and Cloud Computing
        2. Trying Basic Cloud Technology
        3. Setting Up a Small Cloud
        4. Summary
        5. Exercises
      2. Chapter 27: Deploying Linux to the Cloud
        1. Getting Linux to Run in a Cloud
        2. Creating Linux Images for Clouds
        3. Using OpenStack to Deploy Cloud Images
        4. Using Amazon EC2 to Deploy Cloud Images
        5. Summary
    18. Part VII: Appendixes
      1. Appendix A: Media
        1. Getting Fedora
        2. Getting Red Hat Enterprise Linux
        3. Getting Ubuntu
        4. Creating Linux CDs and DVDs
        5. 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
        25. Chapter 26 : Using Linux for Cloud Computing
    19. Index