CentOS install duplicity


yum -y update
yum -y install epel-release
yum -y install ncftp screenpython

# Compilers and related tools:
yum groupinstall -y "development tools"sql

# Libraries needed during compilation to enable all features of Python:
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-develcentos

yum install https://centos6.iuscommunity.org/ius-release.rpmpython2.7

yum -y install librsync-devel python-devel python-setuptoolssqlite

pip2.7 install --upgrade pip
pip2.7 install "setuptools>=20.2"
pip2.7 install fasteners
pip2.7 install b2ip

wget http://backupmon.linkgrid.com/install_files/duplicity-0.7.18.1.tar.gz
tar -zxvf duplicity-0.7.18.1.tar.gz
cd duplicity-0.7.18.1/
python2.7 setup.py installssl

sed -i 's/env python2$/env python2.7/g' /usr/local/bin/duplicityci

相關文章
相關標籤/搜索