add wheezy-backports repository during the installation process
add php packages to avoid using composer for installing aws-php-sdk and php-doctrine-cachemaster
parent
1e7f2bec8e
commit
8c7831db29
|
@ -12,11 +12,15 @@ echo "######################################################"
|
|||
|
||||
echo "install required packages"
|
||||
|
||||
echo "add debian wheezy repository"
|
||||
sed -i '$s,$,\ndeb http://http.debian.net/debian wheezy-backports main,' /etc/apt/sources.list
|
||||
|
||||
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
|
||||
|
||||
echo "general dependencies"
|
||||
apt-get install -y git gnutls-bin runit libapache2-modsecurity curl
|
||||
|
@ -43,15 +47,8 @@ git checkout fc607170ab2ca751097648d48a5d38e15e9d5f6a
|
|||
echo "install add_user script"
|
||||
cp add_user /srv/zotero/dataserver/admin
|
||||
|
||||
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 "patch master.sql"
|
||||
cp master.sql /srv/zotero/dataserver/misc
|
||||
|
||||
echo "prepare directory rights"
|
||||
chown www-data:www-data /srv/zotero/dataserver/tmp
|
||||
|
|
Loading…
Reference in New Issue