Python在Unix和Linux系统管理中的应用(影印版)
Foreword
Preface
1. Introduction
Why Python?
Motivation
The Basics
Executing Statements in Python
Using Functions in Python
Reusing Code with the Import Statement
2. IPython
查看完整
Preface
1. Introduction
Why Python?
Motivation
The Basics
Executing Statements in Python
Using Functions in Python
Reusing Code with the Import Statement
2. IPython
查看完整
Noah Gift在加州理工学院、迪斯尼、Feature Animation和Turner Studios具有十年以上的Unix和Linux开发经验。他是Giftcs和Cloud Seed软件公司的合伙人。
Jeremy M.Jones是Predictix公司的软件工程师,同时也是开源项目Munkware、ediplex和podgrabber的作者。
Jeremy M.Jones是Predictix公司的软件工程师,同时也是开源项目Munkware、ediplex和podgrabber的作者。
作者们还构建了一个可以免费下载的Ubuntu虚拟机。该虚拟机包含了这《Python在Unix和Linux系统管理中的应用(影印版)》的源代码,还可以用来运行书中的实例,包括SNMP、IPython、SQLAlchemy和许多其他工具。《Python在Unix和Linux系统管理中的应用》展示了Python语言如何提供一种更加高效的方式来处理Unix和Linux服务器管理工作中的各种任务。《Python在Unix和Linux系统管理中的应用(影印版)》的每一章都会提出一个特定的管理问题,例如并发或数据备份,然后通过实际的例子提供基于Python的解决方案。你将学习使用Python开发一套属于自己的命令行工具,并用来解决一系列范围很广的问题。通过《Python在Unix和Linux系统管理中的应用(影印版)》及其辅助虚拟机,你将学习如何打包并部署Python应用程序和库文件,以及如何编写在多个Unix和Linux平台下都运行良好的代码。
查看完整
查看完整
Foreword
Preface
1. Introduction
Why Python?
Motivation
The Basics
Executing Statements in Python
Using Functions in Python
Reusing Code with the Import Statement
2. IPython
Installing IPython
Basic Concepts
Help with Magic Functions
Unix Shell
Information Gathering
Automation and Shortcuts
Summary
3. Text
Python Built-ins and Modules
Log Parsing
ElementTree
Summary
4. Documentation and Reporting
Automated Information Gathering
Manual Information Gathering
Information Formatting
Information Distribution
Summary
5. Networking
Network Clients
Remote Procedure Call Facilities
SSH
Twisted
Scapy
Creating Scripts with Scapy
6. Data
Introduction
Using the OS Module to Interact with Data
Copying, Moving, Renaming, and Deleting Data
Working with Paths, Directories, and Files
Comparing Data
Merging Data
Pattern Matching Files and Directories
Wrapping Up rsync
Metadata: Data About Data
Archiving, Compressing, Imaging, and Restoring
Using tarfile Module to Create TAR Archives
Using a tarfile Module to Examine the Contents of TAR Files
7. SNMP
Introduction
Brief Introduction to SNMP
IPython and Net-SNMP
Discovering a Data Center
Retrieving Multiple-Values with Net-SNMP
Creating Hybrid SNMP Tools
Extending Net-SNMP
SNMP Device Control
Enterprise SNMP Integration with Zenoss
8. OS Soup
Introduction
Cross-Platform Unix Programming in Python
PyInotify
OS X
Red Hat Linux Systems Administration
Ubuntu Administration
Solaris Systems Administration
Virtualization
Cloud Computing
Using Zenoss to Manage Windows Servers from Linux
9. Package Management
Introduction
Setuptools and Python Eggs
Using easy_install
easy_install Advanced Features
Creating Eggs
Entry Points and Console Scripts
Registering a Package with the Python Package Index
Distutils
Buildout
Using Buildout
Developing with Buildout
virtualenv
EPM Package Manager
10. Processes and Concurrency
Introduction
Subprocess
Using Supervisor to Manage Processes
Using Screen to Manage Processes
Threads in Python
Processes
Processing Module
Scheduling Python Processes
daemonizer
Summary
11. Building GUIs
GUI Building Theory
Building a Simple PyGTK App
Building an Apache Log Viewer Using PyGTK
Building an Apache Log Viewer Using Curses
Web Applications
Django
Conclusion
12. Data Persistence
Simple Serialization
Relational Serialization
Summary
13. Command Line
Introduction
Basic Standard Input Usage
Introduction to Optparse
Simple Optparse Usage Patterns
Unix Mashups: Integrating Shell Commands into Python Command-Line Tools
Integrating Configuration Files
Summary
14. Pragmatic Examples
Managing DNS with Python
Using LDAP with OpenLDAP, Active Directory, and More with Python 406
Apache Log Reporting
FTP Mirror
Appendix: Callbacks
Index
^ 收 起
Preface
1. Introduction
Why Python?
Motivation
The Basics
Executing Statements in Python
Using Functions in Python
Reusing Code with the Import Statement
2. IPython
Installing IPython
Basic Concepts
Help with Magic Functions
Unix Shell
Information Gathering
Automation and Shortcuts
Summary
3. Text
Python Built-ins and Modules
Log Parsing
ElementTree
Summary
4. Documentation and Reporting
Automated Information Gathering
Manual Information Gathering
Information Formatting
Information Distribution
Summary
5. Networking
Network Clients
Remote Procedure Call Facilities
SSH
Twisted
Scapy
Creating Scripts with Scapy
6. Data
Introduction
Using the OS Module to Interact with Data
Copying, Moving, Renaming, and Deleting Data
Working with Paths, Directories, and Files
Comparing Data
Merging Data
Pattern Matching Files and Directories
Wrapping Up rsync
Metadata: Data About Data
Archiving, Compressing, Imaging, and Restoring
Using tarfile Module to Create TAR Archives
Using a tarfile Module to Examine the Contents of TAR Files
7. SNMP
Introduction
Brief Introduction to SNMP
IPython and Net-SNMP
Discovering a Data Center
Retrieving Multiple-Values with Net-SNMP
Creating Hybrid SNMP Tools
Extending Net-SNMP
SNMP Device Control
Enterprise SNMP Integration with Zenoss
8. OS Soup
Introduction
Cross-Platform Unix Programming in Python
PyInotify
OS X
Red Hat Linux Systems Administration
Ubuntu Administration
Solaris Systems Administration
Virtualization
Cloud Computing
Using Zenoss to Manage Windows Servers from Linux
9. Package Management
Introduction
Setuptools and Python Eggs
Using easy_install
easy_install Advanced Features
Creating Eggs
Entry Points and Console Scripts
Registering a Package with the Python Package Index
Distutils
Buildout
Using Buildout
Developing with Buildout
virtualenv
EPM Package Manager
10. Processes and Concurrency
Introduction
Subprocess
Using Supervisor to Manage Processes
Using Screen to Manage Processes
Threads in Python
Processes
Processing Module
Scheduling Python Processes
daemonizer
Summary
11. Building GUIs
GUI Building Theory
Building a Simple PyGTK App
Building an Apache Log Viewer Using PyGTK
Building an Apache Log Viewer Using Curses
Web Applications
Django
Conclusion
12. Data Persistence
Simple Serialization
Relational Serialization
Summary
13. Command Line
Introduction
Basic Standard Input Usage
Introduction to Optparse
Simple Optparse Usage Patterns
Unix Mashups: Integrating Shell Commands into Python Command-Line Tools
Integrating Configuration Files
Summary
14. Pragmatic Examples
Managing DNS with Python
Using LDAP with OpenLDAP, Active Directory, and More with Python 406
Apache Log Reporting
FTP Mirror
Appendix: Callbacks
Index
^ 收 起
Noah Gift在加州理工学院、迪斯尼、Feature Animation和Turner Studios具有十年以上的Unix和Linux开发经验。他是Giftcs和Cloud Seed软件公司的合伙人。
Jeremy M.Jones是Predictix公司的软件工程师,同时也是开源项目Munkware、ediplex和podgrabber的作者。
Jeremy M.Jones是Predictix公司的软件工程师,同时也是开源项目Munkware、ediplex和podgrabber的作者。
作者们还构建了一个可以免费下载的Ubuntu虚拟机。该虚拟机包含了这《Python在Unix和Linux系统管理中的应用(影印版)》的源代码,还可以用来运行书中的实例,包括SNMP、IPython、SQLAlchemy和许多其他工具。《Python在Unix和Linux系统管理中的应用》展示了Python语言如何提供一种更加高效的方式来处理Unix和Linux服务器管理工作中的各种任务。《Python在Unix和Linux系统管理中的应用(影印版)》的每一章都会提出一个特定的管理问题,例如并发或数据备份,然后通过实际的例子提供基于Python的解决方案。你将学习使用Python开发一套属于自己的命令行工具,并用来解决一系列范围很广的问题。通过《Python在Unix和Linux系统管理中的应用(影印版)》及其辅助虚拟机,你将学习如何打包并部署Python应用程序和库文件,以及如何编写在多个Unix和Linux平台下都运行良好的代码。
通过这《Python在Unix和Linux系统管理中的应用(影印版)》,你将发现Python是怎样帮助你:
·读入文本文件并提取信息
·使用线程和派生子进程的选项并发地运行多个任务
·使用网络工具从一个进程传送信息到另一个进程
·创建更易互动的可点击图形界面工具
·通过与SNMP交互来用程序监控大型多个集群机器
·掌握IPython的命令环境来替代或增强Bash、Korn或Z-Shell的功能
·将云计算集成到基础架构中并编写一个基于谷歌应用程序引擎的应用
·利用定制脚本来解决特殊的数据备份的挑战
·使用Django、SQLAlchemy和Storm对象关系模型来与数据库交互
^ 收 起
通过这《Python在Unix和Linux系统管理中的应用(影印版)》,你将发现Python是怎样帮助你:
·读入文本文件并提取信息
·使用线程和派生子进程的选项并发地运行多个任务
·使用网络工具从一个进程传送信息到另一个进程
·创建更易互动的可点击图形界面工具
·通过与SNMP交互来用程序监控大型多个集群机器
·掌握IPython的命令环境来替代或增强Bash、Korn或Z-Shell的功能
·将云计算集成到基础架构中并编写一个基于谷歌应用程序引擎的应用
·利用定制脚本来解决特殊的数据备份的挑战
·使用Django、SQLAlchemy和Storm对象关系模型来与数据库交互
^ 收 起
比价列表