The Official Ubuntu Server Book [NOOK Book]


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 ...

See more details below
The Official Ubuntu Server Book

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99 price
(Save 43%)$31.99 List Price


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 covers all you need to know to make the most of Ubuntu Server, whether you’re a beginner or a battle-hardened senior system 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.  

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 email
  • 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
Two CDs are included, which contain two versions of Ubuntu Server: Ubuntu 8.04 LTS, which is supported by Canonical for five years, and the brand-new, cutting-edgeUbuntu Server 9.04.  

Read More Show Less

Product Details

  • ISBN-13: 9780137044931
  • Publisher: Pearson Education
  • Publication date: 7/31/2009
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 528
  • File size: 11 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Kyle Rankin is a systems architect for Quinstreet, Inc., the current president of the North Bay Linux Users’ Group, the author of Knoppix Hacks, Knoppix Pocket Reference, Linux Multimedia Hacks, and Ubuntu Hacks, and he has contributed to a number of other O’Reilly books. Kyle is also a columnist for Linux Journal and has had articles featured in PC Magazine, TechTarget, and other publications.

Benjamin Mako Hill
is a Seattle native working out of Boston, Massachusetts. Mako is a long-time free software developer and advocate. He was part of the founding Ubuntu team, one of the first employees of Canonical, Ltd., and lead author of The Official Ubuntu Book. In addition to some technical work, his charge at Canonical was to help grow the Ubuntu development and user community during the project’s first year. Mako is currently a fellow at the MIT Center for Future Civic Media and a researcher and Ph.D. Candidate at the MIT Sloan School of Management. Mako has continued his involvement with Ubuntu as a member of the Community Council governance board, through development work, and through projects such as this book.

Read More Show Less

Table of Contents

Preface xix

Acknowledgments xxv

About the Authors xxvii

Introduction xxix

Welcome to Ubuntu Server xxix

Free Software, Open Source, and Linux xxx

A Brief History of the Ubuntu Project xxxiv

Ubuntu Promises and Goals xli

Canonical and the Ubuntu Foundation xlvi

History of Ubuntu Server xlix

Simple, Secure, Supported li

Chapter 1: Installation 1

Get Ubuntu 2

Boot Screen 3

Disk Partitioning 5

Server Roles 13

Installer Console 15

Reboot the System 16

Chapter 2: Essential System Administration 17

Basic Command-Line Administration 18

Ubuntu Boot Process 24

File System Hierarchy 39

Networking 45

Chapter 3: Package Management 51

Introduction to Package Management 52

Debian Packages 60

Package Management in Ubuntu 63

Making Your Own Packages 77

Chapter 4: Automated Ubuntu Installs 83

Preseeding 84

Kickstart 104

PXE Boot Server Deployment 111

Customize Automated Installs 118

Chapter 5: Guide to Common Ubuntu Servers 125

DNS Server 126

Web Server 135

Mail Server 144

POP/IMAP Server 156

OpenSSH Server 158

DHCP Server 160

Database Server 163

File Server 174

Edubuntu and LTSP 180

LTSP Server Configurations 184

Chapter 6: Security 199

General Security Principles 200

Sudo 201

AppArmor 206

SSH Security 210

Firewalls 214

Intrusion Detection 226

Incident Response 233

Chapter 7: Backups 239

Backup Principles 240

Drive Imaging 242

Database Backups 244

BackupPC 249

Chapter 8: Monitoring 267

Local Monitoring Tools 268

Ganglia 273

Nagios 280

Chapter 9: Virtualization and Cloud Computing 297

KVM 298

Amazon EC2 315

Juju 330

Chapter 10: Fault Tolerance 341

Fault Tolerance Principles 342

RAID 344

LVM 369

Ethernet Bonding 372

Clusters 378

Chapter 11: Troubleshooting 399

General Troubleshooting Philosophy 400

Localhost Troubleshooting 403

Network Troubleshooting 416

Hardware Troubleshooting 425

Chapter 12: Rescue and Recovery 429

Ubuntu Recovery Mode 430

Ubuntu Server Recovery CD 435

Ubuntu Desktop Live CD 439

Chapter 13: Help and Resources 449

Paid Support from Canonical 450

Forums 451

Internet Relay Chat 452

Mailing Lists 455

Online Documentation 456

Localhost Documentation 457

Local Community Teams 458

Other Languages 459

Tech Answers System (Launchpad) 459

Bug Reporting 459

For More Information 461

Chapter 14: Basic Linux Administration 463

Shell Globs 464

Pipes and Redirection 466

File Permissions and Ownership 472

Linux File Types 474

At and Cron 478

Appendix: Cool Tips and Tricks 485

Avoid That grep Command in grep Output 485

Shortcut to a Command Path 486

Wipe a Drive in One Line 486

Run a Command Over and Over 487

Make a Noise When the Server Comes Back Up 487

Search and Replace Text in a File 487

find and exec Commands 488

Bash Commands with Too Many Arguments 488

Use Your Bash History 489

Are These Files Identical? 489

Go Back to Your Previous Directory 489

Find Out Who Is Tying Up a File System You Want to Unmount 490

Send a Test E-mail Using telnet 490

Easy SSH Key Sharing 491

Get the Most Out of Dig 492

Index 495

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted March 22, 2011

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)