On Wednesday, September 30, 2015 at 4:33:22 PM UTC+13, Jamie Nelson wrote: > > 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 >
Here is an improved version, based on suggestions from Nik, and fixing the sqlite library install path. #!/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 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 wget http://sqlite.org/2015/sqlite-autoconf-3081101.tar.gz tar zxfv sqlite-autoconf-3081101.tar.gz cd sqlite-autoconf-3081101 ./configure make sudo make install sudo \cp -f /usr/local/lib/libsqlite* /usr/lib64/ sudo hash -r 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 build install cd .. wget https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.15.tar.bz2 tar jxfv s3ql-2.15.tar.bz2 rm -f s3ql-2.15.tar.bz2 cd s3ql-2.15 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.
