본문 바로가기

리눅스

[리눅스] fabric2 자동화 배포 툴 설치

728x90

fabric2 자동화 배포 툴 설치

https://pypi.org/project/fabric2/

테스트 환경

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

$ getconf LONG_BIT
64

python 및 pip 설치

$ python --version
Python 3.7.13

$ pip --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.7)
728x90

fabric2 설치

$ pip install fabric2

pip install 시 에러

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-bua4x4he/cryptography/

$ pip install --upgrade --ignore-installed pip setuptools cryptography

fabric2 version

fab2 --version

$ fab2 --version
Fabric 2.7.0
Paramiko 2.10.3
Invoke 1.7.0

 

https://www.fabfile.org/

728x90