From fb19bcb1ffd5c639e4426a320ca09a5460f0139d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Thu, 30 Oct 2014 15:59:38 +0100 Subject: [PATCH] added script for adding of user to zotero modified install_zotero.sh to include the newly added_script --- add_user | 50 +++++++++++++++++++++++++++++++++++++++++++++++ install_zotero.sh | 5 ++++- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 add_user diff --git a/add_user b/add_user new file mode 100644 index 0000000..2ae4a49 --- /dev/null +++ b/add_user @@ -0,0 +1,50 @@ +#!/usr/bin/php + + diff --git a/install_zotero.sh b/install_zotero.sh index f80f239..7ab3d03 100755 --- a/install_zotero.sh +++ b/install_zotero.sh @@ -16,7 +16,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 +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 @@ -40,6 +40,9 @@ git clone git://github.com/ruflin/Elastica.git /srv/zotero/dataserver/include/El cd /srv/zotero/dataserver/include/Elastica 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