Pro Python System Administration


Author: Rytis Sileika
Publisher: Apress
ISBN: 1484202171
Category: Computers
Page: 428
View: 7333

Continue Reading →

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.

Pro Python System Administration


Author: Rytis Sileika
Publisher: Apress
ISBN: 1430226056
Category: Computers
Page: 416
View: 9408

Continue Reading →

As time goes on, system administrators are presented with increasingly complicated challenges. In the early days, a team of engineers might have had to look after one or two systems. These days, one engineer can administer hundreds or thousands of systems. System administrators are gradually replacing their tools with more advanced and flexible ones. One of the choices is Python. Structurally, Python is a modern, high-level language with a very clean syntax. Python comes with many built-in libraries that can make automation tasks easier. It also has extensive set of third-party libraries and a very active development community. This flexibility makes Python a good choice for a wide variety of tasks, from prototyping science applications to system maintenance and administration jobs. This book explains and shows how to apply Python scripting in practice. Unlike the majority of the Python books, it will show you how to approach and resolve real-world issues that most system administrators will come across in their careers. In this book, you will find several projects in the categories of network administration, web server administration, and monitoring and database management. In each project, we will define the problem, design the solution, and go through the more interesting implementation steps. Each project is accompanied with the source code of a fully working prototype, which you’ll be able to use immediately or adapt to your requirements and environment. 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. Automatically monitor and manage MySQL databases. Who this book is for 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. This book assumes that readers already use Python and are comfortable with the language. Most of the Linux distributions come with Python and various libraries (such as Django, PIL and SciPy) packaged and readily available, but basic knowledge of installing packages in a Linux/Unix environment is advised. Table of Contents Reading and Collecting Performance Data Using SNMP1 Managing Devices Using the SOAP API Creating a Web Application for IP Address Accountancy Integrating the IP Address Application with DHCP Maintaining a List of Virtual Hosts in an Apache Configuration File Gathering and Presenting Statistical Data from Apache Log Files Performing Complex Searches and Reporting on Application Log Files A Web Site Availability Check Script for Nagios Management and Monitoring Subsystem Remote Monitoring Agents Statistics Gathering and Reporting Automatic MySQL Database Performance Tuning Using Amazon EC2/S3 as a Data Warehouse Solution

Python for Unix and Linux System Administration


Author: Noah Gift,Jeremy M. Jones
Publisher: "O'Reilly Media, Inc."
ISBN: 1449367186
Category: Computers
Page: 458
View: 6826

Continue Reading →

Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them. Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Python to tackle a wide range of problems. Discover how this language can help you: Read text files and extract information Run tasks concurrently using the threading and forking options Get information from one process to another using network facilities Create clickable GUIs to handle large and complex utilities Monitor large clusters of machines by interacting with SNMP programmatically Master the IPython Interactive Python shell to replace or augment Bash, Korn, or Z-Shell Integrate Cloud Computing into your infrastructure, and learn to write a Google App Engine Application Solve unique data backup challenges with customized scripts Interact with MySQL, SQLite, Oracle, Postgres, Django ORM, and SQLAlchemy With this book, you'll learn how to package and deploy your Python applications and libraries, and write code that runs equally well on multiple Unix platforms. You'll also learn about several Python-related technologies that will make your life much easier.

Pro Linux System Administration

Learn to Build Systems for Your Business Using Free and Open Source Software
Author: Dennis Matotek,James Turnbull,Peter Lieverdink
Publisher: Apress
ISBN: 1484220080
Category: Computers
Page: 998
View: 879

Continue Reading →

Implement a SOHO or SMB Linux infrastructure to expand your business and associated IT capabilities. Backed by the expertise and experienced guidance of the authors, this book provides everything you need to move your business forward. Pro Linux System Administration makes it easy for small- to medium–sized businesses to enter the world of zero–cost software running on Linux and covers all the distros you might want to use, including Red Hat, Ubuntu, Debian, and CentOS. Pro Linux System Administration takes a layered, component–based approach to open source business systems, while training system administrators as the builders of business infrastructure. Completely updated for this second edition, Dennis Matotek takes you through an infrastructure-as-code approach, seamlessly taking you through steps along the journey of Linux administration with all you need to master complex systems. This edition now includes Jenkins, Ansible, Logstash and more. What You'll Learn: Understand Linux architecture Build, back up, and recover Linux servers Create basic networks and network services with Linux Build and implement Linux infrastructure and services including mail, web, databases, and file and print Implement Linux security Resolve Linux performance and capacity planning issues Who This Book Is For: Small to medium–sized business owners looking to run their own IT, system administrators considering migrating to Linux, and IT systems integrators looking for an extensible Linux infrastructure management approach.

Pro Python


Author: Marty Alchin,J. Burton Browning
Publisher: Apress
ISBN: 1484203348
Category: Computers
Page: 384
View: 9826

Continue Reading →

You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python, Second Edition explores concepts and features normally left to experimentation, allowing you to be even more productive and creative. In addition to pure code concerns, Pro Python develops your programming techniques and approaches, which will help make you a better Python programmer. This book will improve not only your code but also your understanding and interaction with the many established Python communities. This book takes your Python knowledge and coding skills to the next level. It shows you how to write clean, innovative code that will be respected by your peers. With this book, make your code do more with introspection and meta-programming. And learn and later use the nuts and bolts of an application, tier-by-tier as a complex case study along the way. For more information, including a link to the source code referenced in the book, please visit http://propython.com/.

Perl for System Administration


Author: David N. Blank-Edelman
Publisher: "O'Reilly Media, Inc."
ISBN: 9781565926097
Category: Computers
Page: 430
View: 5218

Continue Reading →

A guide for administrators running Unix, Windows NT, or Mac OS platforms demonstrates the use of the programming language in file system management, directory services, user administration, log files, and security and network monitoring

Automate the Boring Stuff with Python

Practical Programming for Total Beginners
Author: Al Sweigart
Publisher: No Starch Press
ISBN: 1593276850
Category: Computers
Page: 504
View: 7794

Continue Reading →

If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you? In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand—no prior programming experience required. Once you’ve mastered the basics of programming, you’ll create Python programs that effortlessly perform useful and impressive feats of automation to: –Search for text in a file or across multiple files –Create, update, move, and rename files and folders –Search the Web and download online content –Update and format data in Excel spreadsheets of any size –Split, merge, watermark, and encrypt PDFs –Send reminder emails and text notifications –Fill out online forms Step-by-step instructions walk you through each program, and practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks. Don’t spend your time doing work a well-trained monkey could do. Even if you’ve never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python. Note: The programs in this book are written to run on Python 3.

Pro Python Best Practices

Debugging, Testing and Maintenance
Author: Kristian Rother
Publisher: Apress
ISBN: 1484222415
Category: Computers
Page: 264
View: 5418

Continue Reading →

Learn software engineering and coding best practices to write Python code right and error free. In this book you’ll see how to properly debug, organize, test, and maintain your code, all of which leads to better, more efficient coding. Software engineering is difficult. Programs of any substantial length are inherently prone to errors of all kinds. The development cycle is full of traps unknown to the apprentice developer. Yet, in Python textbooks little attention is paid to this aspect of getting your code to run. At most, there is a chapter on debugging or unit testing in your average basic Python book. However, the proportion of time spent on getting your code to run is much higher in the real world. Pro Python Best Practices aims to solve this problem. What You'll Learn Learn common debugging techniques that help you find and eliminate errors Gain techniques to detect bugs more easily discover best="" practices="" to="" prevent="" bugscarry="" out="" automated="" testing="" discover="" problems="" fasteruse="" maintain="" a="" project="" over="" long="" timeliLearn techniques to keep your project under controlbr/li/uldivbWho This Book Is For/bbr/divdivbr/divdivExperienced Python coders from web development, big data, and more./divdivbr/divdivdiv/div

Black Hat Python

Python Programming for Hackers and Pentesters
Author: Justin Seitz
Publisher: No Starch Press
ISBN: 1593275900
Category: Computers
Page: 192
View: 2922

Continue Reading →

In Black Hat Python, the latest from Justin Seitz (author of the best-selling Gray Hat Python), you’ll explore the darker side of Python’s capabilities—writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more. You’ll learn how to: Create a trojan command-and-control using GitHubDetect sandboxing and automate com­mon malware tasks, like keylogging and screenshottingEscalate Windows privileges with creative process controlUse offensive memory forensics tricks to retrieve password hashes and inject shellcode into a virtual machineExtend the popular Burp Suite web-hacking toolAbuse Windows COM automation to perform a man-in-the-browser attackExfiltrate data from a network most sneakily Insider techniques and creative challenges throughout show you how to extend the hacks and how to write your own exploits. When it comes to offensive security, your ability to create powerful tools on the fly is indispensable. Learn how in Black Hat Python.

SELinux System Administration


Author: Sven Vermeulen
Publisher: Packt Publishing Ltd
ISBN: 1783283181
Category: Computers
Page: 120
View: 9216

Continue Reading →

A step-by-step guide to learn how to set up security on Linux servers by taking SELinux policies into your own hands.Linux administrators will enjoy the various SELinux features that this book covers and the approach used to guide the admin into understanding how SELinux works. The book assumes that you have basic knowledge in Linux administration, especially Linux permission and user management.

Essential Mac OS X Panther Server Administration

Integrating Mac OS X Server Into Heterogeneous Networks
Author: Michael Bartosh,Ryan Faas
Publisher: "O'Reilly Media, Inc."
ISBN: 0596006357
Category: Computers
Page: 822
View: 6585

Continue Reading →

Explains the basics of the Macintosh OS X Panther server, covering installation and administration, services for files, directories, IP, security, and the Internet, and management tools for clients and workstations.

UNIX System Administration Handbook


Author: Evi Nemeth,Garth Snyder,Scott Seebass,Trent Hein
Publisher: Pearson Education
ISBN: 0137002912
Category: Computers
Page: 896
View: 2153

Continue Reading →

Now covers Red Hat Linux! Written by Evi Nemeth, Garth Snyder, Scott Seebass, and Trent R. Hein with Adam Boggs, Rob Braun, Ned McClain, Dan Crawl, Lynda McGinley, and Todd Miller "This is not a nice, neat book for a nice, clean world. It's a nasty book for a nasty world. This is a book for the rest of us." –Eric Allman and Marshall Kirk McKusick "I am pleased to welcome Linux to the UNIX System Administration Handbook!" –Linus Torvalds, Transmeta "This book is most welcome!" –Dennis Ritchie, AT&T Bell Laboratories This new edition of the world's most comprehensive guide to UNIX system administration is an ideal tutorial for those new to administration and an invaluable reference for experienced professionals. The third edition has been expanded to include "direct from the frontlines" coverage of Red Hat Linux. UNIX System Administration Handbook describes every aspect of system administration–from basic topics to UNIX esoterica–and provides explicit coverage of four popular UNIX systems: This book stresses a practical approach to system administration. It's packed with war stories and pragmatic advice, not just theory and watered-down restatements of the manuals. Difficult subjects such as sendmail, kernel building, and DNS configuration are tackled head-on. Examples are provided for all four versions of UNIX and are drawn from real-life systems–warts and all. "This book is where I turn first when I have system administration questions. It is truly a wonderful resource and always within reach of my terminal." –W. Richard Stevens, author of numerous books on UNIX and TCP/IP "This is a comprehensive guide to the care and feeding of UNIX systems. The authors present the facts along with seasoned advice and numerous real-world examples. Their perspective on the variations among systems is valuable for anyone who runs a heterogeneous computing facility." –Pat Parseghian, Transmeta "We noticed your book on the staff recommendations shelf at our local bookstore: 'Very clear, a masterful interpretation of the subject.' We were most impressed, until we noticed that the same staff member had also recommended Aunt Bea's Mayberry Cookbook." –Shannon Bloomstran, history teacher

Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours


Author: Richard Blum,Christine Bresnahan
Publisher: Pearson Education
ISBN: 0789752050
Category: Technology & Engineering
Page: 582
View: 4045

Continue Reading →

Provides step-by-step lessons that teach Python programming on Raspberry Pi, covering such topics as working with modules, writing scripts, using loops, creating functions, and exploring object-oriented programming.

The Quick Python Book


Author: Naomi R. Ceder
Publisher: Pearson Professional
ISBN: 9781617294037
Category: Computers
Page: 472
View: 8923

Continue Reading →

Summary This third revision of Manning's popular The Quick Python Book offers a clear, crisp updated introduction to the elegant Python programming language and its famously easy-to-read syntax. Written for programmers new to Python, this latest edition includes new exercises throughout. It covers features common to other languages concisely, while introducing Python's comprehensive standard functions library and unique features in detail. Foreword by Nicholas Tollervey, Python Software Foundation. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Initially Guido van Rossum's 1989 holiday project, Python has grown into an amazing computer language. It's a joy to learn and read, and powerful enough to handle everything from low-level system resources to advanced applications like deep learning. Elegantly simple and complete, it also boasts a massive ecosystem of libraries and frameworks. Python programmers are in high demand/mdash;you can't afford not to be fluent! About the Book The Quick Python Book, Third Edition is a comprehensive guide to the Python language by a Python authority, Naomi Ceder. With the personal touch of a skilled teacher, she beautifully balances details of the language with the insights and advice you need to handle any task. Extensive, relevant examples and learn-by-doing exercises help you master each important concept the first time through. Whether you're scraping websites or playing around with nested tuples, you'll appreciate this book's clarity, focus, and attention to detail. What's Inside Clear coverage of Python 3 Core libraries, packages, and tools In-depth exercises Five new data science-related chapters About the Reader Written for readers familiar with programming concepts--no Python experience assumed. About the Author Naomi Ceder is chair of the Python Software Foundation. She has been learning, using, and teaching Python since 2001. Table of Contents PART 1 - STARTING OUT About Python Getting started The Quick Python overview PART 2 - THE ESSENTIALS The absolute basics Lists, tuples, and sets Strings Dictionaries Control flow Functions Modules and scoping rules Python programs Using the filesystem Reading and writing files Exceptions PART 3 - ADVANCED LANGUAGE FEATURES Classes and object-oriented programming Regular expressions Data types as objects Packages Using Python libraries PART 4 - WORKING WITH DATA Basic file wrangling Processing data files Data over the network Saving data Exploring data

ArcPy and ArcGIS – Geospatial Analysis with Python


Author: Silas Toms
Publisher: Packt Publishing Ltd
ISBN: 1783988673
Category: Computers
Page: 224
View: 1193

Continue Reading →

If you are a GIS student or professional who needs an understanding of how to use ArcPy to reduce repetitive tasks and perform analysis faster, this book is for you. It is also a valuable book for Python programmers who want to understand how to automate geospatial analyses.

Python Cookbook


Author: Alex Martelli,Anna Ravenscroft,David Ascher
Publisher: "O'Reilly Media, Inc."
ISBN: 9780596554743
Category: Computers
Page: 846
View: 8233

Continue Reading →

Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. It is now being used by an increasing number of major organizations, including NASA and Google.Updated for Python 2.4, The Python Cookbook, 2nd Edition offers a wealth of useful code for all Python programmers, not just advanced practitioners. Like its predecessor, the new edition provides solutions to problems that Python programmers face everyday.It now includes over 200 recipes that range from simple tasks, such as working with dictionaries and list comprehensions, to complex tasks, such as monitoring a network and building a templating system. This revised version also includes new chapters on topics such as time, money, and metaprogramming.Here's a list of additional topics covered: Manipulating text Searching and sorting Working with files and the filesystem Object-oriented programming Dealing with threads and processes System administration Interacting with databases Creating user interfaces Network and web programming Processing XML Distributed programming Debugging and testing Another advantage of The Python Cookbook, 2nd Edition is its trio of authors--three well-known Python programming experts, who are highly visible on email lists and in newsgroups, and speak often at Python conferences.With scores of practical examples and pertinent background information, The Python Cookbook, 2nd Edition is the one source you need if you're looking to build efficient, flexible, scalable, and well-integrated systems.

Pro Ubuntu Server Administration


Author: Sander van Vugt
Publisher: Apress
ISBN: 1430216239
Category: Computers
Page: 424
View: 679

Continue Reading →

Pro Ubuntu Server Administration teaches you advanced Ubuntu system building. After reading this book, you will be able to manage anything from simple file servers to multiple virtual servers to high–availability clusters. This is the capstone volume of the Apress Ubuntu trilogy that includes Beginning Ubuntu Linux, Third Edition and Beginning Ubuntu Server LTS Administration: From Novice to Professional, Second Edition. You will be able to make Ubuntu technology shine in a Fortune 500 environment and let Ubuntu server become the backbone of your infrastructure. Topics covered include Performance monitoring and optimization High–availability clustering Advanced Lightweight Directory Access Protocol (LDAP) integrated networking

Time Management for System Administrators


Author: Tom Limoncelli
Publisher: "O'Reilly Media, Inc."
ISBN: 0596007833
Category: Business & Economics
Page: 200
View: 9449

Continue Reading →

Provides advice for system administrators on time management, covering such topics as keeping an effective calendar, eliminating time wasters, setting priorities, automating processes, and managing interruptions.

Pro Oracle Database 11g Administration


Author: Darl Kuhn
Publisher: Apress
ISBN: 1430229713
Category: Computers
Page: 720
View: 9810

Continue Reading →

Pro Oracle Database 11g Administration is a book focused on results. Author Darl Kuhn draws from a well of experience over a decade deep to lay out real-world techniques that lead to success as an Oracle Database administrator. He gives clear explanations on how to perform critical tasks. He weaves in theory where necessary without bogging you down in unneeded detail. He is not afraid to take a stand on how things should be done. He won’t leave you adrift in a sea of choices, showing you three ways to do something and then walking away. Database administration isn’t about passing a certified exam, or about pointing-and-clicking your way through a crisis. Database administration is about applying the right solution at the right time, about avoiding risk, about making robust choices that get you home each night in time for dinner with your family. If you have “buck stops here” responsibility for an Oracle database, then Pro Oracle Database 11g Administration is the book you need to help elevate yourself to the level of Professional Oracle Database Administrator. Condenses and organizes the core job of a database administrator into one volume. Takes a results-oriented approach to getting things done. Lays a foundation upon which to build a senior level of expertise