Perl for System Administration (Paperback)

David N. Blank-Edelman

買這商品的人也買了...

相關主題

商品描述

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.

 

 

商品描述(中文翻譯)

有些人計劃成為管理員,而我們其他人則被迫成為管理員:我們是網站管理員、愛好者,或者只是被期望保持運作的「技術人員」。在重複相同步驟並偶爾因忘記其中一個步驟而付出代價後,我們意識到必須自動化這些任務,否則將無休止地感到挫折。於是,Perl登場了。

Perl程式語言非常適合撰寫快速而強大的腳本,以自動化許多管理任務。它具有模組化、強大的特點,非常適合在多個平台上管理系統和服務。

《Perl系統管理》適用於各種級別的管理員,從愛好者到持有SAGE會員證的系統管理員,以及在多平台網站上工作的系統管理員。本書針對不同平台(Unix、Windows NT和Mac OS)撰寫,是一個指南,介紹了Perl在大型和小型網站上最有用的管理領域,包括:

- 檔案系統管理
- 帶有XML的使用者管理
- DNS和其他網路名稱服務
- 使用DBI和ODBC進行資料庫管理
- 目錄服務和LDAP、ADSI等框架
- 使用電子郵件進行系統管理
- 處理各種日誌檔案

每個章節專注於一個管理領域,討論可能的陷阱,然後展示Perl如何解救。在這過程中,我們會遇到有趣的Perl功能和技巧,並提供許多擴展範例和完整程式。本書中的腳本可以直接使用,或者只需進行最小的調整。但讀者可能也會嘗試Perl的其他功能,並擴展這些腳本以應對我們未曾想到的任務。

《Perl系統管理》並不試圖教授Perl語言,但它是對Perl的強大和靈活性的優秀介紹,並激發了進一步學習的興趣。它適用於任何需要使用Perl進行系統管理並迅速上手的人。