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
master
Patrick Höhn 2014-11-20 15:49:37 +01:00
parent dda227e98b
commit 74496231e3
1 changed files with 11 additions and 2 deletions

View File

@ -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