本书展示了Python语言如何提供一种更加高效的方式来处理Unix和Linux服务器管理工作中的各种任务。本书的每一章都会提出一个特定的管理问题,例如并发或数据备份,然后通过实际的例子提供基于Python的解决方案。你将学习使用Python开发一套属于自己的命令行工具,并用来解决一系列范围很广的问题。本书为英文影印版。
网站首页 软件下载 游戏下载 翻译软件 电子书下载 电影下载 电视剧下载 教程攻略
书名 | Python在Unix和Linux系统管理中的应用(影印版) |
分类 | 计算机-操作系统 |
作者 | (美)琼斯//吉夫特 |
出版社 | 开明出版社 |
下载 | ![]() |
简介 | 编辑推荐 本书展示了Python语言如何提供一种更加高效的方式来处理Unix和Linux服务器管理工作中的各种任务。本书的每一章都会提出一个特定的管理问题,例如并发或数据备份,然后通过实际的例子提供基于Python的解决方案。你将学习使用Python开发一套属于自己的命令行工具,并用来解决一系列范围很广的问题。本书为英文影印版。 内容推荐 《Python在Unix和Linux系统管理中的应用》展示了Python语言如何提供一种更加高效的方式来处理Unix和Linux服务器管理工作中的各种任务。本书的每一章都会提出一个特定的管理问题,例如并发或数据备份,然后通过实际的例子提供基于Python的解决方案。你将学习使用Python开发一套属于自己的命令行工具,并用来解决一系列范围很广的问题。 本书作者们还构建了一个可以免费下载的Ubuntu虚拟机。该虚拟机包含了这本书的源代码,还可以用来运行书中的实例,包括SNMP、IPython、SQLAlchemy和许多其他工具。 通过这本书,你将发现Python是怎样帮助你: ·读入文本文件并提取信息 ·使用线程和派生子进程的选项并发地运行多个任务 ·使用网络工具从一个进程传送信息到另一个进程 ·创建更易互动的可点击图形界面工具 ·通过与SNMP交互来用程序监控大型多个集群机器 ·掌握IPython的命令环境来替代或增强Bash、Korn或Z-Shell的功能 ·将云计算集成到基础架构中并编写一个基于谷歌应用程序引擎的应用 ·利用定制脚本来解决特殊的数据备份的挑战 ·使用Django、SQLAlchemy和Storm对象关系模型来与数据库交互 通过本书及其辅助虚拟机,你将学习如何打包并部署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 Pylnotify OSX 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.BuildingGUIs 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 Apache Log Reporting FTP Mirror Appendix: Callbacks Index |
随便看 |
|
霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。