From 74496231e39128c4d50bbe3a230d8aee9c6f7fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Thu, 20 Nov 2014 15:49:37 +0100 Subject: [PATCH] add as installation method again, as it seems difficult to replace composer installation files with native packages remove installation of aws-php-sdk and php-doctrine-cache packages --- install_zotero.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/install_zotero.sh b/install_zotero.sh index 6a63102..fa412d6 100755 --- a/install_zotero.sh +++ b/install_zotero.sh @@ -23,8 +23,7 @@ echo "update package cache" apt-get update echo "dependencies for dataserver" -apt-get install -y apache2 libapache2-mod-php5 mysql-server memcached zendframework php5-cli php5-memcache php5-mysql php5-curl php5-memcached -apt-get -t wheezy-backports install -y php-aws-sdk php-doctrine-cache +apt-get install -y apache2 libapache2-mod-php5 mysql-server memcached zendframework php5-cli php5-memcache php5-mysql php5-curl php5-memcached echo "general dependencies" apt-get install -y git gnutls-bin runit libapache2-modsecurity curl elasticsearch openjdk-7-jre @@ -54,6 +53,16 @@ git clone git://github.com/ruflin/Elastica.git /srv/zotero/dataserver/include/El cd /srv/zotero/dataserver/include/Elastica git checkout fc607170ab2ca751097648d48a5d38e15e9d5f6a +echo "install composer" +cd /srv/zotero/dataserver +curl -sS https://getcomposer.org/installer | php + +echo "install dependencies" +php composer.phar install + +echo "remove composer" +rm composer.phar + echo "install add_user script" cp add_user /srv/zotero/dataserver/admin