什么是fabric

fabric是一个基于ssh的可远程运行shell脚本的python库

用途

远程运维

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

部署应用

安装

先安装elep-release:yum install elep-release

安装pip:yum install pip

用pip安装fabric:pip install fabric

fabric文档

https://www.fabfile.org/

http://docs.fabfile.org/en/2.4/concepts/configuration.html

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄