Stitching together a crazy sys admin world with Python


Article from Issue 141/2012

The Fabric Python library makes it extremely easy to create repeatable scripts of commands over SSH to any number of servers.

Fabric [1] is an amazing Python library that makes it easy to codify common system tasks into flexible recipes. Chef and Puppet are great tools for larger, more complicated environments, but they are often a lot of work for more simple setups. Anytime I find myself executing a series of commands together on a regular basis, I switch gears and build a Fabric task instead.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • MLN

    This simple command-line tool helps you keep ahead of your virtual infrastructure.

  • Workspace: Raspberry Pi Server

    With the help of the applications we describe, Raspberry Pi can perform a wide range of server duties.


    Grid computing lets little PCs work on big problems. You can use the grid system of the famous SETI@home project to build your own grid computing solutions.

  • Workspace – Taskwarrior

    Taskwarrior is arguably the most powerful command-line task manager. We show you how to use this application to manage tasks like a pro.

  • Script Dialogs

    Starting a script on a Linux server with just a few mouse clicks sounds more complicated than it really is. If you want to create attractive and interactive dialogs for your desktop users, all you need is a small utility called SSH and a little Bash know-how.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia