-
-
Save benagricola/b74a278b80a4af35ac517916e2a2d4a5 to your computer and use it in GitHub Desktop.
s3ql - centos 7 install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
## Install s3ql on centos 7 machine | |
### https://bitbucket.org/nikratio/s3ql/ | |
# yum packages | |
sudo yum install -y epel-release | |
sudo yum install -y \ | |
bzip2 \ | |
git \ | |
fuse \ | |
fuse-devel \ | |
fuse-libs \ | |
gcc-c++ \ | |
libattr-devel \ | |
libffi \ | |
make \ | |
psmisc \ | |
python-defusedxml \ | |
python34 \ | |
python34-crypto \ | |
python34-devel \ | |
python34-setuptools \ | |
sqlite \ | |
sqlite-devel \ | |
systemd-devel \ | |
unzip \ | |
xz \ | |
xz-devel \ | |
xz-libs | |
sudo yum install -y python34-apsw --enablerepo=epel-testing | |
# install pip3 | |
sudo python3.4 -m easy_install pip | |
# install modules from pip | |
sudo pip3 uninstall llfuse | |
sudo pip3 install defusedxml | |
sudo pip3 install dugong | |
sudo pip3 install cryptography | |
sudo pip3 install requests | |
sudo pip3 install llfuse==1.3.6 | |
sudo pip3 install "git+https://github.com/systemd/python-systemd.git#egg=systemd" | |
# check installed modules | |
python3.4 -c 'import Crypto' | |
python3.4 -c 'import setuptools; print(setuptools.__version__)' | |
python3.4 -c 'import apsw; print(apsw.apswversion())' | |
python3.4 -c 'import systemd.daemon' | |
# get s3ql | |
wget https://github.com/s3ql/s3ql/releases/download/release-3.0/s3ql-3.0.tar.bz2 | |
tar xjf s3ql-*.tar.bz2 | |
cd s3ql-3.0 | |
# build & install | |
sudo python3.4 setup.py build_ext --inplace | |
sudo python3.4 runtests.py tests | |
sudo python3.4 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment