Uh-oh, it looks like your Internet Explorer is out of date.
For a better shopping experience, please upgrade now.
Official Ubuntu Server Book: Barnes & Noble Special Edition
Overview
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. Finally, they guide the reader with command line basics and list some of their favorite all-time time-saving sysadmin tricks and tips in sections special to this Barnes & Noble Special Edition. 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
• Use globs, pipes, andshell redirection on the command line.
The CD contains the Ubuntu Server Edition: Ubuntu 8.04 LTS, which is supported by Canonical for five years. The DVD includes the complete Ubuntu Linux operating system for installation on PC platforms, preconfigured with an outstanding desktop environment for both home and business computing. It can be used to install other complete variants of Ubuntu including Kubuntu (with the KDE environment), Edubuntu (for use in schools), and the brand-new, cutting-edge Ubuntu Server 9.04.
Product Details
| ISBN-13: | 9780137036035 |
|---|---|
| Publisher: | Prentice Hall |
| Publication date: | 08/28/2009 |
| Edition description: | Barnes & Noble Special Edition |
| Product dimensions: | 7.00(w) x 9.10(h) x 1.40(d) |
About the Author
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 an Excerpt
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.
First Chapter
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.
Table of Contents
Acknowledgments xxiii
About the Authors xxv
Introduction xxvii
Welcome to Ubuntu Server xxvii
Free Software, Open Source, and Linux xxviii
A Brief History of the Ubuntu Project xxxii
Ubuntu Promises and Goals xxxix
Canonical and the Ubuntu Foundation xliv
History of Ubuntu Server xlvii
Simple, Secure, Supported xlix
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 40
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 117
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
Chapter 6: Security 181
General Security Principles 182
Sudo 183
AppArmor 188
SSH Security 192
Firewalls 196
Intrusion Detection 208
Incident Response 215
Chapter 7: Backups 221
Backup Principles 222
Drive Imaging 224
Database Backups 226
BackupPC 231
Chapter 8: Monitoring 249
Local Monitoring Tools 250
Ganglia 255
Nagios 262
Chapter 9: Virtualization 279
KVM 280
VMware Server 297
Chapter 10: FaultTolerance 309
Fault Tolerance Principles 310
RAID 311
Ethernet Bonding 338
Clusters 343
Chapter 11: Troubleshooting 365
General Troubleshooting Philosophy 366
Localhost Troubleshooting 369
Network Troubleshooting 381
Hardware Troubleshooting 390
Chapter 12: Rescue and Recovery 395
Ubuntu Recovery Mode 396
Ubuntu Server Recovery CD 401
Ubuntu Desktop Live CD 406
Chapter 13: Help and Resources 415
Paid Support from Canonical 416
Forums 417
Internet Relay Chat 418
Mailing Lists 421
Online Documentation 422
Localhost Documentation 423
Local Community Teams 424
Other Languages 425
Tech Answers System (Launchpad) 425
Bug Reporting 425
Summary 427
Chapter 14: Basic Linux Administration 429
Shell Globs 430
Pipes and Redirection 432
File Permissions and Ownership 438
Linux File Types 440
Appendix: Cool Tips and Tricks 445
Avoid That grep Command in grep output 445
Shortcut to a Command Path 446
Wipe a Drive in One Line 446
Run a Command Over and Over 447
Make a Noise When the Server Comes Back Up 447
Search and Replace Text in a File 447
find and exec Commands 448
Bash Commands with Too Many Arguments 448
Use Your Bash History 449
Are These Files Identical? 449
Go Back to Your Previous Directory 449
Find Out Who Is Tying Up a File System You Want to Unmount 450
Send a Test E-mail Using telnet 450
Index 453
Reading Group Guide
Preface xvii
Acknowledgments xxiii
About the Authors xxv
Introduction xxvii
Welcome to Ubuntu Server xxvii
Free Software, Open Source, and Linux xxviii
A Brief History of the Ubuntu Project xxxii
Ubuntu Promises and Goals xxxix
Canonical and the Ubuntu Foundation xliv
History of Ubuntu Server xlvii
Simple, Secure, Supported xlix
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 40
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 117
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
Chapter 6: Security 181
General Security Principles 182
Sudo 183
AppArmor 188
SSH Security 192
Firewalls 196
Intrusion Detection 208
Incident Response 215
Chapter 7: Backups 221
Backup Principles 222
Drive Imaging 224
Database Backups 226
BackupPC 231
Chapter 8: Monitoring 249
Local Monitoring Tools 250
Ganglia 255
Nagios 262
Chapter 9: Virtualization 279
KVM 280
VMware Server 297
Chapter 10: FaultTolerance 309
Fault Tolerance Principles 310
RAID 311
Ethernet Bonding 338
Clusters 343
Chapter 11: Troubleshooting 365
General Troubleshooting Philosophy 366
Localhost Troubleshooting 369
Network Troubleshooting 381
Hardware Troubleshooting 390
Chapter 12: Rescue and Recovery 395
Ubuntu Recovery Mode 396
Ubuntu Server Recovery CD 401
Ubuntu Desktop Live CD 406
Chapter 13: Help and Resources 415
Paid Support from Canonical 416
Forums 417
Internet Relay Chat 418
Mailing Lists 421
Online Documentation 422
Localhost Documentation 423
Local Community Teams 424
Other Languages 425
Tech Answers System (Launchpad) 425
Bug Reporting 425
Summary 427
Chapter 14: Basic Linux Administration 429
Shell Globs 430
Pipes and Redirection 432
File Permissions and Ownership 438
Linux File Types 440
Appendix: Cool Tips and Tricks 445
Avoid That grep Command in grep output 445
Shortcut to a Command Path 446
Wipe a Drive in One Line 446
Run a Command Over and Over 447
Make a Noise When the Server Comes Back Up 447
Search and Replace Text in a File 447
find and exec Commands 448
Bash Commands with Too Many Arguments 448
Use Your Bash History 449
Are These Files Identical? 449
Go Back to Your Previous Directory 449
Find Out Who Is Tying Up a File System You Want to Unmount 450
Send a Test E-mail Using telnet 450
Index 453
Interviews
Preface xvii
Acknowledgments xxiii
About the Authors xxv
Introduction xxvii
Welcome to Ubuntu Server xxvii
Free Software, Open Source, and Linux xxviii
A Brief History of the Ubuntu Project xxxii
Ubuntu Promises and Goals xxxix
Canonical and the Ubuntu Foundation xliv
History of Ubuntu Server xlvii
Simple, Secure, Supported xlix
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 40
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 117
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
Chapter 6: Security 181
General Security Principles 182
Sudo 183
AppArmor 188
SSH Security 192
Firewalls 196
Intrusion Detection 208
Incident Response 215
Chapter 7: Backups 221
Backup Principles 222
Drive Imaging 224
Database Backups 226
BackupPC 231
Chapter 8: Monitoring 249
Local Monitoring Tools 250
Ganglia 255
Nagios 262
Chapter 9: Virtualization 279
KVM 280
VMware Server 297
Chapter 10: FaultTolerance 309
Fault Tolerance Principles 310
RAID 311
Ethernet Bonding 338
Clusters 343
Chapter 11: Troubleshooting 365
General Troubleshooting Philosophy 366
Localhost Troubleshooting 369
Network Troubleshooting 381
Hardware Troubleshooting 390
Chapter 12: Rescue and Recovery 395
Ubuntu Recovery Mode 396
Ubuntu Server Recovery CD 401
Ubuntu Desktop Live CD 406
Chapter 13: Help and Resources 415
Paid Support from Canonical 416
Forums 417
Internet Relay Chat 418
Mailing Lists 421
Online Documentation 422
Localhost Documentation 423
Local Community Teams 424
Other Languages 425
Tech Answers System (Launchpad) 425
Bug Reporting 425
Summary 427
Chapter 14: Basic Linux Administration 429
Shell Globs 430
Pipes and Redirection 432
File Permissions and Ownership 438
Linux File Types 440
Appendix: Cool Tips and Tricks 445
Avoid That grep Command in grep output 445
Shortcut to a Command Path 446
Wipe a Drive in One Line 446
Run a Command Over and Over 447
Make a Noise When the Server Comes Back Up 447
Search and Replace Text in a File 447
find and exec Commands 448
Bash Commands with Too Many Arguments 448
Use Your Bash History 449
Are These Files Identical? 449
Go Back to Your Previous Directory 449
Find Out Who Is Tying Up a File System You Want to Unmount 450
Send a Test E-mail Using telnet 450
Index 453
Recipe
Acknowledgments xxiii
About the Authors xxv
Introduction xxvii
Welcome to Ubuntu Server xxvii
Free Software, Open Source, and Linux xxviii
A Brief History of the Ubuntu Project xxxii
Ubuntu Promises and Goals xxxix
Canonical and the Ubuntu Foundation xliv
History of Ubuntu Server xlvii
Simple, Secure, Supported xlix
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 40
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 117
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
Chapter 6: Security 181
General Security Principles 182
Sudo 183
AppArmor 188
SSH Security 192
Firewalls 196
Intrusion Detection 208
Incident Response 215
Chapter 7: Backups 221
Backup Principles 222
Drive Imaging 224
Database Backups 226
BackupPC 231
Chapter 8: Monitoring 249
Local Monitoring Tools 250
Ganglia 255
Nagios 262
Chapter 9: Virtualization 279
KVM 280
VMware Server 297
Chapter 10: FaultTolerance 309
Fault Tolerance Principles 310
RAID 311
Ethernet Bonding 338
Clusters 343
Chapter 11: Troubleshooting 365
General Troubleshooting Philosophy 366
Localhost Troubleshooting 369
Network Troubleshooting 381
Hardware Troubleshooting 390
Chapter 12: Rescue and Recovery 395
Ubuntu Recovery Mode 396
Ubuntu Server Recovery CD 401
Ubuntu Desktop Live CD 406
Chapter 13: Help and Resources 415
Paid Support from Canonical 416
Forums 417
Internet Relay Chat 418
Mailing Lists 421
Online Documentation 422
Localhost Documentation 423
Local Community Teams 424
Other Languages 425
Tech Answers System (Launchpad) 425
Bug Reporting 425
Summary 427
Chapter 14: Basic Linux Administration 429
Shell Globs 430
Pipes and Redirection 432
File Permissions and Ownership 438
Linux File Types 440
Appendix: Cool Tips and Tricks 445
Avoid That grep Command in grep output 445
Shortcut to a Command Path 446
Wipe a Drive in One Line 446
Run a Command Over and Over 447
Make a Noise When the Server Comes Back Up 447
Search and Replace Text in a File 447
find and exec Commands 448
Bash Commands with Too Many Arguments 448
Use Your Bash History 449
Are These Files Identical? 449
Go Back to Your Previous Directory 449
Find Out Who Is Tying Up a File System You Want to Unmount 450
Send a Test E-mail Using telnet 450
Index 453