码迷,mamicode.com
首页 > 其他好文 > 详细

fabric安装相关

时间:2015-08-16 00:50:50      阅读:109      评论:0      收藏:0      [点我收藏+]

标签:fabric   python   

1.快速安装

    eazy_install fabric  
    #相关依赖:python-setuptools
    #curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -o - | python
    
    或
    pip install fabric
    #相关依赖:python-pip
    #easy_install pip
    
2.源码安装:

    依赖:
        paramiko
        pycrypto
        ecdsa
        python2.5-2.7
        

        
#################
fabric的基本操作:
fab [-H 主机ip] -f 指定执行文件 执行文件中的方法[:参数1,参数2...]
        
        

本文出自 “我的天空” 博客,谢绝转载!

fabric安装相关

标签:fabric   python   

原文地址:http://sky66.blog.51cto.com/2439074/1684900

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!