本书展示了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 |
标签 | |
缩略图 | ![]() |
书名 | Python在Unix和Linux系统管理中的应用(影印版) |
副书名 | |
原作名 | |
作者 | (美)琼斯//吉夫特 |
译者 | |
编者 | |
绘者 | |
出版社 | 开明出版社 |
商品编码(ISBN) | 9787802057388 |
开本 | 16开 |
页数 | 433 |
版次 | 1 |
装订 | 平装 |
字数 | 483 |
出版时间 | 2009-04-01 |
首版时间 | 2009-04-01 |
印刷时间 | 2009-04-01 |
正文语种 | 英 |
读者对象 | 青年(14-20岁),普通成人 |
适用范围 | |
发行范围 | 公开发行 |
发行模式 | 实体书 |
首发网站 | |
连载网址 | |
图书大类 | 计算机-操作系统 |
图书小类 | |
重量 | 0.676 |
CIP核字 | |
中图分类号 | TP316.8 |
丛书名 | |
印张 | 28.75 |
印次 | 1 |
出版地 | 北京 |
长 | 233 |
宽 | 180 |
高 | 21 |
整理 | |
媒质 | 图书 |
用纸 | 普通纸 |
是否注音 | 否 |
影印版本 | 原版 |
出版商国别 | CN |
是否套装 | 单册 |
著作权合同登记号 | 图字10-2009-085号 |
版权提供者 | O'Reilly Media,Inc. |
定价 | |
印数 | |
出品方 | |
作品荣誉 | |
主角 | |
配角 | |
其他角色 | |
一句话简介 | |
立意 | |
作品视角 | |
所属系列 | |
文章进度 | |
内容简介 | |
作者简介 | |
目录 | |
文摘 | |
安全警示 | 适度休息有益身心健康,请勿长期沉迷于阅读小说。 |
随便看 |
|
兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。