Fabric – Automate Your Linux Administration Tasks and Application Deployments Over SSH

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

7 Responses

  1. cent says:

    Interesting tool, I heard a lot from educational sites before but…

    suppose 2 virtual machines hosting many client sites, say one in New York (NY) and another in Berlin (B).
    Suppose only your NY machine provides visual root login and works as a shepherd. How would you manage your NY or B machine?

    Quite easy: 1) create the php login subsystem in both machnes, 2) sftp bash scripts in both machnes, 3) create the interface between php and bash scripts in NY machine, 4) call commands on shepard that will be forwarded to client server. Done!

    The shell is powerfull, the only danger comes from login hijacking but then you have https, ip checking, ip black/white listing etc.

    Tell you the truth it worths making a bash template script with extended use of the source bash command and there you have it: config files, parameters in files, utility files (is integer, is character), task specific files etc.

    Nothing helpful messing with another language on top of bash I think or…. you can mesh with just because you can but see it as another project on top of the previous giant list!

  2. Indi says:

    That’s a great tool. Thanks for sharing. Found one error though.
    In your last example, the second line should read:
    from fabric.api import env, sudo

  3. Ankammarao says:

    Very useful explanation for newbies and I am a regular follower of your updated thanks

  4. Thorsten says:

    which sreencast do you use for this?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.