Pro Python System Administration, 2/e(Paperback)

Rytis Sileika

  • 出版商: Apress
  • 出版日期: 2014-11-14
  • 售價: $2,380
  • 貴賓價: 9.5$2,261
  • 語言: 英文
  • 頁數: 428
  • 裝訂: Paperback
  • ISBN: 148420218X
  • ISBN-13: 9781484202180
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Pro Python System Administration, Second Edition explains and shows how to apply Python scripting in practice. It will show you how to approach and resolve real-world issues that most system administrators will come across in their careers. This book has been updated using Python 2.7 and Python 3 where appropriate. It also uses various new and relevant open source projects and tools that should now be used in practice.

In this updated edition, you will find several projects in the categories of network administration, web server administration, and monitoring and database management. In each project, the author will define the problem, design the solution, and go through the more interesting implementation steps. Each project is accompanied by the source code of a fully working prototype, which you’ll be able to use immediately or adapt to your requirements and environment.

This book is primarily aimed at experienced system administrators whose day-to-day tasks involve looking after and managing small-to-medium-sized server estates. It will also be beneficial for system administrators who want to learn more about automation and want to apply their Python knowledge to solve various system administration problems. Python developers will also benefit from reading this book, especially if they are involved in developing automation and management tools.

What you’ll learn

  • Solve real-world system administration problems using Python
  • Manage devices with SNMP and SOAP
  • Build a distributed monitoring system
  • Manage web applications and parse complex log files
  • Monitor and manage MySQL databases automatically

Who this book is for

This book assumes that readers already use Python and are comfortable with the language. The basic knowledge of installing packages on various operating systems is discussed.

Table of Contents

1. Reading and Collecting Performance Data Using SNMP

2. Managing Devices Using SOAP API

3. Creating a Web Application for IP Address Accountancy

4. Integrating the IP Address Application with DHCP

5. Maintaining a List of Virtual Hosts in an Apache Configuration File

6. Gathering and Presenting Statistical Data from Apache Log Files

7. Performing Complex Searches and Reporting on Application Log Files

8. A Web Site Availability Check Script for Nagios

9. Management and Monitoring Subsystem

10. Remote Monitoring Agents

11. Statistics Gathering and Reporting

12. Distributed Message Processing System

13. Automatic MySQL Database Performance Tuning

14. Using Amazon EC2/S3 as a Data Warehouse Solution

商品描述(中文翻譯)

《Pro Python System Administration, Second Edition》解釋並展示如何在實踐中應用 Python 腳本。它將指導您如何處理和解決大多數系統管理員在職業生涯中會遇到的現實問題。本書已根據需要更新為使用 Python 2.7 和 Python 3,並使用各種新的相關開源專案和工具,這些工具現在應該在實踐中使用。

在這個更新的版本中,您將發現幾個項目,涵蓋網路管理、網頁伺服器管理以及監控和資料庫管理等類別。在每個項目中,作者將定義問題、設計解決方案,並詳細介紹更有趣的實作步驟。每個項目都附有一個完整運作原型的源代碼,您可以立即使用或根據您的需求和環境進行調整。

本書主要針對經驗豐富的系統管理員,他們的日常任務涉及照顧和管理中小型伺服器群。對於希望學習更多自動化並希望將其 Python 知識應用於解決各種系統管理問題的系統管理員來說,本書也將是有益的。Python 開發者也將從閱讀本書中受益,特別是如果他們參與開發自動化和管理工具的話。

您將學到的內容:
- 使用 Python 解決現實世界的系統管理問題
- 使用 SNMP 和 SOAP 管理設備
- 建立分散式監控系統
- 管理網頁應用程式並解析複雜的日誌檔案
- 自動監控和管理 MySQL 資料庫

本書的讀者對象:
本書假設讀者已經使用 Python 並對該語言感到熟悉。書中討論了在各種作業系統上安裝套件的基本知識。

目錄:
1. 使用 SNMP 讀取和收集性能數據
2. 使用 SOAP API 管理設備
3. 創建 IP 地址會計的網頁應用程式
4. 將 IP 地址應用程式與 DHCP 整合
5. 在 Apache 配置檔中維護虛擬主機列表
6. 從 Apache 日誌檔案收集和呈現統計數據
7. 在應用程式日誌檔案上執行複雜搜索和報告
8. 用於 Nagios 的網站可用性檢查腳本
9. 管理和監控子系統
10. 遠端監控代理
11. 統計數據收集和報告
12. 分散式消息處理系統
13. 自動 MySQL 資料庫性能調整
14. 使用 Amazon EC2/S3 作為數據倉儲解決方案