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
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • 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

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
Read More Show Less

Product Details

  • ISBN-13: 9780132167994
  • Publisher: Pearson Education
  • Publication date: 8/18/2010
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 592
  • File size: 13 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 xxi

Acknowledgments xxvii

About the Authors xxix

Introduction xxxi

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 172

Edubuntu and LTSP 179

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 232

Chapter 7: Backups 237

Backup Principles 238

Drive Imaging 240

Database Backups 242

BackupPC 247

Chapter 8: Monitoring 265

Local Monitoring Tools 266

Ganglia 271

Nagios 278

Chapter 9: Virtualization 295

KVM 296

VMware Server 313

Ubuntu Enterprise Cloud 324

Chapter 10: Fault Tolerance 333

Fault Tolerance Principles 334

RAID 335

LVM 361

Ethernet Bonding 364

Clusters 369

Chapter 11: Troubleshooting 391

General Troubleshooting Philosophy 392

Localhost Troubleshooting 395

Network Troubleshooting 408

Hardware Troubleshooting 417

Chapter 12: Rescue and Recovery 421

Ubuntu Recovery Mode 422

Ubuntu Server Recovery CD 427

Ubuntu Desktop Live CD 431

Chapter 13: Help and Resources 441

Paid Support from Canonical 442

Forums 443

Internet Relay Chat 444

Mailing Lists 447

Online Documentation 448

Localhost Documentation 449

Local Community Teams 450

Other Languages 451

Tech Answers System (Launchpad) 451

Bug Reporting 451

Summary 453

Chapter 14: Basic Linux Administration 455

Shell Globs 456

Pipes and Redirection 458

File Permissions and Ownership 464

Linux File Types 466

At and Cron 470

Appendix: Cool Tips and Tricks 477

Avoid That grep Command in grep Output 477

Shortcut to a Command Path 478

Wipe a Drive in One Line 478

Run a Command Over and Over 479

Make a Noise When the Server Comes Back Up 479

Search and Replace Text in a File 479

find and exec Commands 480

Bash Commands with Too Many Arguments 480

Use Your Bash History 481

Are These Files Identical? 481

Go Back to Your Previous Directory 481

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

Send a Test E-mail Using telnet 482

Easy SSH Key Sharing 483

Get the Most Out of Dig 484

Index 487

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)