Python for Unix and Linux system administration: [Efficient problem-solving with Python]
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2008
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XIX, 433 S. |
ISBN: | 9780596515829 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV023474694 | ||
003 | DE-604 | ||
005 | 20121102 | ||
007 | t | ||
008 | 080804s2008 |||| 00||| eng d | ||
020 | |a 9780596515829 |c (pbk) : £35.50 |9 978-0-596-51582-9 | ||
035 | |a (OCoLC)612019092 | ||
035 | |a (DE-599)GBV567044688 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
049 | |a DE-19 |a DE-11 |a DE-355 |a DE-Aug4 |a DE-B768 | ||
080 | |a 004.43 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Gift, Noah |e Verfasser |4 aut | |
245 | 1 | 0 | |a Python for Unix and Linux system administration |b [Efficient problem-solving with Python] |c Noah Gift and Jeremy M. Jones |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2008 | |
300 | |a XIX, 433 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
630 | 0 | 4 | |a Linux |
630 | 0 | 4 | |a UNIX (Computer file) |
650 | 4 | |a računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki | |
650 | 4 | |a Python (Computer program language) | |
650 | 0 | 7 | |a UNIX |0 (DE-588)4061835-3 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a LINUX |0 (DE-588)4337730-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Systemverwaltung |0 (DE-588)4257084-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | 1 | |a UNIX |0 (DE-588)4061835-3 |D s |
689 | 0 | 2 | |a Systemverwaltung |0 (DE-588)4257084-0 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 1 | 1 | |a LINUX |0 (DE-588)4337730-0 |D s |
689 | 1 | 2 | |a Systemverwaltung |0 (DE-588)4257084-0 |D s |
689 | 1 | |5 DE-604 | |
700 | 1 | |a Jones, Jeremy M. |e Verfasser |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016656964&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-016656964 |
Datensatz im Suchindex
_version_ | 1809403576439537664 |
---|---|
adam_text |
Table
of
Contents
Foreword
. xi
Preface
.xiii
1.
Introduction
.1
Why Python?
1
Motivation
6
The Basics
8
Executing Statements in Python
8
Using Functions in Python
12
Reusing Code with the
Impon
Statement
16
2.
IPython
.21
Installing IPython
22
Basic Concepts
23
Help with Magic Functions
30
Unix Shell
34
Information Gathering
51
Automation and Shortcuts
64
Summary
69
3.
Text
.71
Python Built-ins and Modules
71
Log Parsing
110
ElementTree
116
Summary
120
4.
Documentation and Reporting
.123
Automated Information Gathering
123
Manual Information Gathering
126
Information Formatting
135
vii
Information Distribution ]_
145
Summary
5. Networking. 147
Network Clients 147
Remote
Procedure Call Facilities 158
SSH 164
Twisted 167
Scapy
173
Creating Scripts with Scapy l/D
6.
Data
.
177
Introduction I77
Using the OS Module to Interact with Data
178
Copying, Moving, Renaming, and Deleting Data
179
Working with Paths, Directories, and Files
181
Comparing Data
185
Merging Data
187
Pattern Matching Files and Directories
193
Wrapping Up rsync
195
Metadata: Data About Data
197
Archiving, Compressing, Imaging, and Restoring
199
Using tarfile Module to Create TAR Archives
199
Using a tarfile Module to Examine the Contents of TAR Files
201
7.
SNMP
.205
Introduction
205
Brief Introduction to
SNMP
205
IPython and Net-SNMP
208
Discovering a Data Center
211
Retrieving Multiple-Values with Net-SNMP
214
Creating Hybrid
SNMP
Tools
220
Extending Net-SNMP
222
SNMP
Device Control
224
Enterprise
SNMP
Integration with Zenoss
225
8.
OSSoup
.227
Introduction
227
Cross-Platform Unix Programming in Python
228
Pylnotify
238
OSX
240
Red Hat Linux Systems Administration
245
Ubuntu Administration
245
vffl
І
Table of Contents
Solaris Systems
Administration
245
Virtualization
246
Cloud Computing
247
Using Zenoss to Manage Windows Servers from Linux
253
9.
Package Management
.
. 257
Introduction
257
Setuptools
and Python Eggs
258
Using easy_install
258
easy_install Advanced Features
261
Creating Eggs
266
Entry Points and Console Scripts
270
Registering a Package with the Python Package Index
271
Distutils
273
Buildout
275
Using Buildout
276
Developing with Buildout
279
virtualenv
279
EPM
Package Manager
283
10.
Processes and Concurrency
.
.289
Introduction
289
Subprocess
289
Using Supervisor to Manage Processes
298
Using Screen to Manage Processes
300
Threads in Python
301
Processes
313
Processing Module
313
Scheduling Python Processes
316
daemonizer
318
Summary
321
11.
Building GUIs
.
.323
GUI Building Theory
323
Building a Simple PyGTK App
324
Building an Apache Log Viewer Using PyGTK
326
Building an Apache Log Viewer Using Curses
330
Web Applications
334
Django
335
Conclusion
354
12.
Data Persistence
.
. 357
Simple Serialization
357
Table of Contents
1 ix
Relational
Serialization
376
Summary
385
13.
Command Line
.387
Introduction
387
Basic Standard Input Usage
388
Introduction to Optparse
389
Simple Optparse Usage Patterns
390
Unix Mashups: Integrating Shell Commands into Python Command-Line Tools
397
Integrating Configuration Files
402
Summary
404
14.
Pragmatic Examples
. 405
Managing DNS with Python
405
Using
LDAP
with OpenLDAP, Active Directory, and More with Python
406
Apache Log Reporting
408
FTP Mirror
415
Appendix: Callbacks
.419
Index
.423
χ
I Table of Contents |
adam_txt |
Table
of
Contents
Foreword
. xi
Preface
.xiii
1.
Introduction
.1
Why Python?
1
Motivation
6
The Basics
8
Executing Statements in Python
8
Using Functions in Python
12
Reusing Code with the
Impon
Statement
16
2.
IPython
.21
Installing IPython
22
Basic Concepts
23
Help with Magic Functions
30
Unix Shell
34
Information Gathering
51
Automation and Shortcuts
64
Summary
69
3.
Text
.71
Python Built-ins and Modules
71
Log Parsing
110
ElementTree
116
Summary
120
4.
Documentation and Reporting
.123
Automated Information Gathering
123
Manual Information Gathering
126
Information Formatting
135
vii
Information Distribution ]_
145
Summary
5. Networking. 147
Network Clients 147
Remote
Procedure Call Facilities 158
SSH 164
Twisted 167
Scapy
173
Creating Scripts with Scapy l/D
6.
Data
.
177
Introduction I77
Using the OS Module to Interact with Data
178
Copying, Moving, Renaming, and Deleting Data
179
Working with Paths, Directories, and Files
181
Comparing Data
185
Merging Data
187
Pattern Matching Files and Directories
193
Wrapping Up rsync
195
Metadata: Data About Data
197
Archiving, Compressing, Imaging, and Restoring
199
Using tarfile Module to Create TAR Archives
199
Using a tarfile Module to Examine the Contents of TAR Files
201
7.
SNMP
.205
Introduction
205
Brief Introduction to
SNMP
205
IPython and Net-SNMP
208
Discovering a Data Center
211
Retrieving Multiple-Values with Net-SNMP
214
Creating Hybrid
SNMP
Tools
220
Extending Net-SNMP
222
SNMP
Device Control
224
Enterprise
SNMP
Integration with Zenoss
225
8.
OSSoup
.227
Introduction
227
Cross-Platform Unix Programming in Python
228
Pylnotify
238
OSX
240
Red Hat Linux Systems Administration
245
Ubuntu Administration
245
vffl
І
Table of Contents
Solaris Systems
Administration
245
Virtualization
246
Cloud Computing
247
Using Zenoss to Manage Windows Servers from Linux
253
9.
Package Management
.
. 257
Introduction
257
Setuptools
and Python Eggs
258
Using easy_install
258
easy_install Advanced Features
261
Creating Eggs
266
Entry Points and Console Scripts
270
Registering a Package with the Python Package Index
271
Distutils
273
Buildout
275
Using Buildout
276
Developing with Buildout
279
virtualenv
279
EPM
Package Manager
283
10.
Processes and Concurrency
.
.289
Introduction
289
Subprocess
289
Using Supervisor to Manage Processes
298
Using Screen to Manage Processes
300
Threads in Python
301
Processes
313
Processing Module
313
Scheduling Python Processes
316
daemonizer
318
Summary
321
11.
Building GUIs
.
.323
GUI Building Theory
323
Building a Simple PyGTK App
324
Building an Apache Log Viewer Using PyGTK
326
Building an Apache Log Viewer Using Curses
330
Web Applications
334
Django
335
Conclusion
354
12.
Data Persistence
.
. 357
Simple Serialization
357
Table of Contents
1 ix
Relational
Serialization
376
Summary
385
13.
Command Line
.387
Introduction
387
Basic Standard Input Usage
388
Introduction to Optparse
389
Simple Optparse Usage Patterns
390
Unix Mashups: Integrating Shell Commands into Python Command-Line Tools
397
Integrating Configuration Files
402
Summary
404
14.
Pragmatic Examples
. 405
Managing DNS with Python
405
Using
LDAP
with OpenLDAP, Active Directory, and More with Python
406
Apache Log Reporting
408
FTP Mirror
415
Appendix: Callbacks
.419
Index
.423
χ
I Table of Contents |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Gift, Noah Jones, Jeremy M. |
author_facet | Gift, Noah Jones, Jeremy M. |
author_role | aut aut |
author_sort | Gift, Noah |
author_variant | n g ng j m j jm jmj |
building | Verbundindex |
bvnumber | BV023474694 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)612019092 (DE-599)GBV567044688 |
discipline | Informatik |
discipline_str_mv | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV023474694</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20121102</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">080804s2008 |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596515829</subfield><subfield code="c">(pbk) : £35.50</subfield><subfield code="9">978-0-596-51582-9</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)612019092</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV567044688</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-19</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-B768</subfield></datafield><datafield tag="080" ind1=" " ind2=" "><subfield code="a">004.43</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Gift, Noah</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Python for Unix and Linux system administration</subfield><subfield code="b">[Efficient problem-solving with Python]</subfield><subfield code="c">Noah Gift and Jeremy M. Jones</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XIX, 433 S.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="630" ind1="0" ind2="4"><subfield code="a">Linux</subfield></datafield><datafield tag="630" ind1="0" ind2="4"><subfield code="a">UNIX (Computer file)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">UNIX</subfield><subfield code="0">(DE-588)4061835-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">LINUX</subfield><subfield code="0">(DE-588)4337730-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Systemverwaltung</subfield><subfield code="0">(DE-588)4257084-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">UNIX</subfield><subfield code="0">(DE-588)4061835-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Systemverwaltung</subfield><subfield code="0">(DE-588)4257084-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2="1"><subfield code="a">LINUX</subfield><subfield code="0">(DE-588)4337730-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2="2"><subfield code="a">Systemverwaltung</subfield><subfield code="0">(DE-588)4257084-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Jones, Jeremy M.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016656964&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016656964</subfield></datafield></record></collection> |
id | DE-604.BV023474694 |
illustrated | Not Illustrated |
index_date | 2024-07-02T21:35:44Z |
indexdate | 2024-09-06T00:15:18Z |
institution | BVB |
isbn | 9780596515829 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016656964 |
oclc_num | 612019092 |
open_access_boolean | |
owner | DE-19 DE-BY-UBM DE-11 DE-355 DE-BY-UBR DE-Aug4 DE-B768 |
owner_facet | DE-19 DE-BY-UBM DE-11 DE-355 DE-BY-UBR DE-Aug4 DE-B768 |
physical | XIX, 433 S. |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | O'Reilly |
record_format | marc |
spelling | Gift, Noah Verfasser aut Python for Unix and Linux system administration [Efficient problem-solving with Python] Noah Gift and Jeremy M. Jones 1. ed. Beijing [u.a.] O'Reilly 2008 XIX, 433 S. txt rdacontent n rdamedia nc rdacarrier Linux UNIX (Computer file) računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki Python (Computer program language) UNIX (DE-588)4061835-3 gnd rswk-swf LINUX (DE-588)4337730-0 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf Systemverwaltung (DE-588)4257084-0 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 s UNIX (DE-588)4061835-3 s Systemverwaltung (DE-588)4257084-0 s DE-604 LINUX (DE-588)4337730-0 s Jones, Jeremy M. Verfasser aut Digitalisierung UB Bayreuth application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016656964&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Gift, Noah Jones, Jeremy M. Python for Unix and Linux system administration [Efficient problem-solving with Python] Linux UNIX (Computer file) računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki Python (Computer program language) UNIX (DE-588)4061835-3 gnd LINUX (DE-588)4337730-0 gnd Python Programmiersprache (DE-588)4434275-5 gnd Systemverwaltung (DE-588)4257084-0 gnd |
subject_GND | (DE-588)4061835-3 (DE-588)4337730-0 (DE-588)4434275-5 (DE-588)4257084-0 |
title | Python for Unix and Linux system administration [Efficient problem-solving with Python] |
title_auth | Python for Unix and Linux system administration [Efficient problem-solving with Python] |
title_exact_search | Python for Unix and Linux system administration [Efficient problem-solving with Python] |
title_exact_search_txtP | Python for Unix and Linux system administration [Efficient problem-solving with Python] |
title_full | Python for Unix and Linux system administration [Efficient problem-solving with Python] Noah Gift and Jeremy M. Jones |
title_fullStr | Python for Unix and Linux system administration [Efficient problem-solving with Python] Noah Gift and Jeremy M. Jones |
title_full_unstemmed | Python for Unix and Linux system administration [Efficient problem-solving with Python] Noah Gift and Jeremy M. Jones |
title_short | Python for Unix and Linux system administration |
title_sort | python for unix and linux system administration efficient problem solving with python |
title_sub | [Efficient problem-solving with Python] |
topic | Linux UNIX (Computer file) računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki Python (Computer program language) UNIX (DE-588)4061835-3 gnd LINUX (DE-588)4337730-0 gnd Python Programmiersprache (DE-588)4434275-5 gnd Systemverwaltung (DE-588)4257084-0 gnd |
topic_facet | Linux UNIX (Computer file) računalništvo - operacijski sistemi - Unix - Linux - programski jeziki - Python - priročniki Python (Computer program language) UNIX LINUX Python Programmiersprache Systemverwaltung |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016656964&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT giftnoah pythonforunixandlinuxsystemadministrationefficientproblemsolvingwithpython AT jonesjeremym pythonforunixandlinuxsystemadministrationefficientproblemsolvingwithpython |