By David N. Blank-Edelman
Publisher: O'Reilly Media
Final Release Date: July 2000
Pages: 446
Some people plan to become administrators. The rest of us are thrust into it: we are webmasters, hobbyists, or just the default "technical people" on staff who are expected to keep things running. After some stumbling around repeating the same steps over and over again (and occasionally paying the price when we forget one), we realize that we must automate these tasks, or suffer endless frustration. Thus enters Perl.The Perl programming language is ideal for writing quick yet powerful scripts that automate many administrative tasks. It's modular, it's powerful, and it's perfect for managing systems and services on many platforms.Perl for System Administration is designed for all levels of administrators--from hobbyists to card-carrying SAGE members--sysadmins on multi-platform sites. Written for several different platforms (Unix, Windows NT, and Mac OS), it's a guide to the pockets of administration where Perl can be most useful for sites large and small, including:
- Filesystem management
- User administration with a dash of XML
- DNS and other network name services
- Database administration using DBI and ODBC
- Directory services and frameworks like LDAP and ADSI
- Using email for system administration
- Working with log files of all kinds
Each chapter concentrates on a single administrative area, discusses the possible pitfalls, and then shows how Perl comes to the rescue. Along the way we encounter interesting Perl features and tricks, with many extended examples and complete programs. The scripts included in the book can simply be used as written or with minimal adaptation. But it's likely that readers will also get a taste of what Perl can do, and start extending those scripts for tasks that we haven't dreamed of. Perl for System Adminstration doesn't attempt to teach the Perl language, but it is an excellent introduction to the power and flexibility of Perl, and it whets the appetite to learn more. It's for anyone who needs to use Perl for system administration and needs to hit the ground running.
|
-
Chapter 1 Introduction -
System Administration Is a Craft -
How Perl Can Help -
This Book Will Show You How -
What You Need -
Locating and Installing Modules -
It’s Not Easy Being Omnipotent -
References for More Information -
Chapter 2 Filesystems -
Perl to the Rescue -
Filesystem Differences -
Walking or Traversing the Filesystem -
Walking the Filesystem Using the File::Find Module -
Manipulating Disk Quotas -
Querying Filesystem Usage -
Module Information for This Chapter -
References for More Information -
Chapter 3 User Accounts -
Unix User Identity -
Windows NT/2000 User Identity -
Building an Account System to Manage Users -
Module Information for This Chapter -
References for More Information -
Chapter 4 User Activity -
MacOS Process Control -
NT/2000 Process Control -
Unix Process Control -
Tracking File and Network Operations -
Module Information for This Chapter -
References for More Information -
Chapter 5 TCP/IP Name Services -
Host Files -
NIS, NIS+, and WINS -
Domain Name Service (DNS) -
Module Information for This Chapter -
References for More Information -
Chapter 6 Directory Services -
What’s a Directory? -
Finger: A Simple Directory Service -
The WHOIS Directory Service -
LDAP: A Sophisticated Directory Service -
ADSI (Active Directory Service Interfaces) -
Module Information for This Chapter -
References for More Information -
Chapter 7 SQL Database Administration -
Interacting with an SQL Server from Perl -
Using the DBI Framework -
Using the ODBC Framework -
Server Documentation -
Database Logins -
Monitoring Server Health -
Module Information for This Chapter -
References for More Information -
Chapter 8 Electronic Mail -
Sending Mail -
Common Mistakes in Sending Email -
Receiving Mail -
Module Information for This Chapter -
References for More Information -
Chapter 9 Log Files -
Text Logs -
Binary Log Files -
Stateful and Stateless Data -
Disk Space Problems -
Log Analysis -
Module Information for This Chapter -
References for More Information -
Chapter 10 Security and Network Monitoring -
Noticing Unexpected or Unauthorized Changes -
Noticing Suspicious Activities -
SNMP -
Danger on the Wire -
Preventing Suspicious Activities -
Module Information for This Chapter -
References for More Information -
Appendix The Five-Minute RCS Tutorial -
References for More Information -
Appendix The Ten-Minute LDAP Tutorial -
LDAP Data Organization -
Appendix The Eight-Minute XML Tutorial -
XML Is a Markup Language -
XML Is Picky -
Two Key XML Terms -
Leftovers -
Appendix The Fifteen-Minute SQL Tutorial -
Creating /Deleting Databases and Tables -
Inserting Data into a Table -
Querying Information -
Changing Table Information -
Relating Tables to Each Other -
SQL Stragglers -
Appendix The Twenty-Minute SNMP Tutorial -
SNMP in Practice -
Colophon |
- Title:
- Perl for System Administration
- By:
- David N. Blank-Edelman
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Safari Books Online
- Print:
- July 2000
- Pages:
- 446
- Print ISBN:
- 978-1-56592-609-7
- | ISBN 10:
- 1-56592-609-9
|
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Perl for System Administration is a sea otter. North American sea otters make their homes along the Pacific coast, near the kelp beds containing the shellfish that make up the majority of their diet. Sea otters can be found in great numbers in Alaska, and on beaches as far south as California.Sea otters are agile and intelligent mammals, and are known to make ingenious use of tools. Floating on their backs, they hold a shellfish such as a mussel or abalone on their bellies, and use a rock to break the shell.Intensely social, sea otters gather to float in groups called rafts. They are excellent swimmers, propelling themselves swiftly through the water with their flipper-like, webbed back paws. Their thick fur provides them with efficient insulation in the water. At times, their existence has been threatened as they have been mercilessly hunted to near extinction for their fur. Colleen Gorman was the production editor and copyeditor for Perl for System Administration. Jane Ellin was the proofreader. Mary Sheehan and Emily Quill provided quality control. Molly Shangraw, Maeve O'Meara, Gabe Weiss, Mary Sheehan, and Darren Kelly provided production support. Nancy Crumpton wrote the index.Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original illustration created by Lorrie LeJeune. Emma Colby produced the cover layout with QuarkXPress 3.32 using Adobe's ITC Garamond font.Alicia Cech and David Futato designed the interior layout based on a series design by Nancy Priest. Mike Sierra and David Futato implemented the design in FrameMaker 5.5.6. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Rhon Porter using Macromedia FreeHand 8 and Adobe Photoshop 5. This colophon was written by Colleen Gorman.Whenever possible, our books use RepKover™, a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used. |
|
Table of Contents
|
Product Details
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Scott Guelich, Shishir Gundavaram, Gunther Birznieks
June 2000
Ebook
:
$31.99
Print & Ebook
:
$43.99
Print
:
$39.99
By Doug MacEachern, Lincoln Stein
April 1999
By Larry Wall, Tom Christiansen, Jon Orwant
July 2000
|
Customer Reviews
5/8/2005 (1 of 1 customers found this review helpful) 4.0Essential for SysAdmins By Ed Mansky from Undisclosed 12/29/2001 (1 of 1 customers found this review helpful) 4.0Perl for System Administration Review By Lou Moran from Undisclosed 9/28/2000 5.0Perl for System Administration Review By Adam Lobaugh from Undisclosed 8/14/2000 5.0Perl for System Administration Review
|
|
|