You are previewing The Official Ubuntu Server Book, Third Edition.
O'Reilly logo
The Official Ubuntu Server Book, Third Edition

Book Description

Ubuntu Server is a complete, free server operating system that just works, with the extra Ubuntu polish, innovation, and simplicity that administrators love.

Now, there’s a definitive, authoritative guide to getting up and running quickly with the newest, most powerful versions of Ubuntu Server. Written by leading members of the Ubuntu community, The Official Ubuntu Server Book, Third Edition, covers all you need to know to make the most of Ubuntu Server, whether you’re a beginner or a battle-hardened senior systems administrator.

The authors cover Ubuntu Server from start to finish: installation, basic administration and monitoring, security, backup, troubleshooting, system rescue, and much more. They walk through deploying each of the most common server applications, from file and print services to state-of-the-art, cost-saving virtualization and cloud computing.

In addition, you’ll learn how to

  • Make the most of Ubuntu Server’s latest, most powerful technologies

  • Discover easy, fast ways to perform key administration tasks

  • Automate Ubuntu installs, no matter how many servers you’re installing

  • Quickly set up low-cost Web servers and e-mail

  • Protect your server with Ubuntu’s built-in and optional security tools

  • Minimize downtime with fault tolerance and clustering

  • Master proven, step-by-step server and network troubleshooting techniques

  • Walk through rescuing an Ubuntu server that won’t boot

  • Deploy your own Ubuntu servers in the cloud

  • Table of Contents

    1. About This eBook
    2. Title Page
    3. Copyright Page
    4. Praise for The Official Ubuntu Server Book
    5. Dedication Page
    6. Contents at a Glance
    7. Contents
    8. Preface
      1. About This Book
      2. How the Book Is Organized
      3. Media with This Book
    9. Acknowledgments
    10. About the Authors
    11. Introduction
      1. Welcome to Ubuntu Server
      2. Free Software, Open Source, and Linux
      3. A Brief History of the Ubuntu Project
      4. Ubuntu Promises and Goals
      5. Canonical and the Ubuntu Foundation
      6. History of Ubuntu Server
      7. Simple, Secure, Supported
    12. Chapter 1. Installation
      1. Get Ubuntu
      2. Boot Screen
      3. Disk Partitioning
      4. Server Roles
      5. Installer Console
      6. Reboot the System
    13. Chapter 2. Essential System Administration
      1. Basic Command-Line Administration
      2. Ubuntu Boot Process
      3. File System Hierarchy
      4. Networking
    14. Chapter 3. Package Management
      1. Introduction to Package Management
      2. Debian Packages
      3. Package Management in Ubuntu
      4. Making Your Own Packages
    15. Chapter 4. Automated Ubuntu Installs
      1. Preseeding
      2. Kickstart
      3. PXE Boot Server Deployment
      4. Customize Automated Installs
    16. Chapter 5. Guide to Common Ubuntu Servers
      1. DNS Server
      2. Web Server
      3. Mail Server
      4. POP/IMAP Server
      5. OpenSSH Server
      6. DHCP Server
      7. Database Server
      8. File Server
      9. Edubuntu and LTSP
      10. LTSP Server Configurations
    17. Chapter 6. Security
      1. General Security Principles
      2. Sudo
      3. AppArmor
      4. SSH Security
      5. Firewalls
      6. Intrusion Detection
      7. Incident Response
    18. Chapter 7. Backups
      1. Backup Principles
      2. Drive Imaging
      3. Database Backups
      4. BackupPC
    19. Chapter 8. Monitoring
      1. Local Monitoring Tools
      2. Ganglia
      3. Nagios
    20. Chapter 9. Virtualization and Cloud Computing
      1. KVM
      2. Amazon EC2
      3. Juju
    21. Chapter 10. Fault Tolerance
      1. Fault Tolerance Principles
      2. RAID
      3. LVM
      4. Ethernet Bonding
      5. Clusters
    22. Chapter 11. Troubleshooting
      1. General Troubleshooting Philosophy
      2. Localhost Troubleshooting
      3. Network Troubleshooting
      4. Hardware Troubleshooting
    23. Chapter 12. Rescue and Recovery
      1. Ubuntu Recovery Mode
      2. Ubuntu Server Recovery CD
      3. Ubuntu Desktop Live CD
    24. Chapter 13. Help and Resources
      1. Paid Support from Canonical
      2. Forums
      3. Internet Relay Chat
      4. Mailing Lists
      5. Online Documentation
      6. Localhost Documentation
      7. Local Community Teams
      8. Other Languages
      9. Tech Answers System (Launchpad)
      10. Bug Reporting
      11. For More Information
    25. Chapter 14. Basic Linux Administration
      1. Shell Globs
      2. Pipes and Redirection
      3. File Permissions and Ownership
      4. Linux File Types
      5. At and Cron
    26. Appendix. Cool Tips and Tricks
      1. Avoid That grep Command in grep Output
      2. Shortcut to a Command Path
      3. Wipe a Drive in One Line
      4. Run a Command Over and Over
      5. Make a Noise When the Server Comes Back Up
      6. Search and Replace Text in a File
      7. find and exec Commands
      8. Bash Commands with Too Many Arguments
      9. Use Your Bash History
      10. Are These Files Identical?
      11. Go Back to Your Previous Directory
      12. Find Out Who Is Tying Up a File System You Want to Unmount
      13. Send a Test E-mail Using telnet
      14. Easy SSH Key Sharing
      15. Get the Most Out of Dig
    27. Index
    28. CD-Rom Warranty