Hi guys,
I have just put together this setup script to deploy s3ql on Amazon Linux 
March 2015 edition.
It is very likely to work on newer editions too.

Let me know if you have any improvements to this

#!/bin/bash
# Install s3ql
#install pre-reqs
sudo yum install -y gcc-c++ make psmisc libattr-devel fuse-libs fuse-devel 
fuse bzip2 unzip xz-libs xz-devel xz python34 python34-devel python34-pip 
python34-setuptools sqlite sqlite-devel
sudo alternatives --set python /usr/bin/python3.4
sudo pip install --upgrade pip
sudo hash -r

sudo pip install --upgrade pycrypto
sudo pip install --upgrade defusedxml
sudo pip install --upgrade dugong
sudo pip install --upgrade requests
sudo pip install --upgrade llfuse
sudo pip install --upgrade wheel
easy_install -H *.python.org distribute
easy_install -H *.python.org argparse
easy_install -H *.python.org pycryptopp
easy_install -H *.python.org pyliblzma
easy_install -H *.python.org Sphinx


wget <http://sqlite.org/2015/sqlite-amalgamation-3081101.zip> 
<http://sqlite.org/2015/sqlite-amalgamation-3081101.zip>http:
//sqlite.org/2015/sqlite-autoconf-3081101.tar.gz
tar zxfv sqlite-autoconf-3081101.tar.gz
cd sqlite-amalgamation-3081101
./configure
make
sudo make install
sudo ldconfig
cd ..

wget https://github.com/rogerbinns/apsw/archive/master.zip
rm -rf apsw-master
unzip master.zip
rm -f master.zip
cd apsw-master
python setup.py install
cd ..

wget <https://github.com/s3ql/main/archive/master.zip>https:
//github.com/s3ql/main/archive/master.zip
unzip master.zip
rm -f master.zip
cd main-master
cd ..

wget <https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2>https:
//bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2
tar jxfv s3ql-2.15.tar.bz2 
<https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2>
rm -f s3ql-2.15.tar.bz2 
<https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2>
cd s3ql-2.15 
<https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2>
python3 setup.py build_ext --inplace
sudo python3 setup.py install
cd ..



-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to