-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Large refactor of Vagrant installation. How about we cache downloads …
…now too?
- Loading branch information
Showing
43 changed files
with
310 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ cache.properties | |
.DS_Store | ||
tests/test_config.ini | ||
install/.vagrant | ||
install/downloads | ||
site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
HOME_DIR=$1 | ||
DOWNLOAD_DIR="$HOME_DIR/islandora/install/downloads" | ||
FEDORA_VERSION=4.3.0 | ||
KARAF_VERSION=3.0.4 | ||
KARAF_CLIENT="/opt/karaf/bin/client" | ||
KARAF_CONFIGS="$HOME_DIR/islandora/install/configs/karaf/" | ||
CAMEL_VERSION=4.2.0 | ||
SOLR_VERSION=4.10.3 | ||
SOLR_HOME="/var/lib/tomcat7/solr" | ||
KARAF_VERSION=3.0.4 | ||
BLAZEGRAPH_VERSION=1.5.1 | ||
DRUPAL_HOME="/var/www/html/drupal" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
echo "Installing ActiveMQ" | ||
|
||
HOME_DIR=$1 | ||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
"$KARAF_CLIENT" < "$KARAF_CONFIGS/activemq.script" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
echo "Installing BlazeGraph's NanoSparqlServer" | ||
|
||
HOME_DIR=$1 | ||
|
||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
if [ ! -f "$DOWNLOAD_DIR/bigdata.war" ]; then | ||
echo "Downloading Blazegraph" | ||
wget -q -O "$DOWNLOAD_DIR/bigdata.war" "http://sourceforge.net/projects/bigdata/files/bigdata/$BLAZEGRAPH_VERSION/bigdata.war/download" | ||
fi | ||
|
||
cd /var/lib/tomcat7/webapps | ||
cp -v "$DOWNLOAD_DIR/bigdata.war" "/var/lib/tomcat7/webapps" | ||
chown tomcat7:tomcat7 /var/lib/tomcat7/webapps/bigdata.war | ||
|
||
if [ $(grep -c 'com.bigdata.rdf.sail.webapp' /etc/default/tomcat7) -eq 0 ]; then | ||
echo "JAVA_OPTS=\"\$JAVA_OPTS -Dcom.bigdata.rdf.sail.webapp.ConfigParams.propertyFile=/var/lib/tomcat7/webapps/bigdata/WEB-INF/RWStore.properties\"" >> /etc/default/tomcat7 | ||
fi | ||
|
||
service tomcat7 restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
echo "Installing Camel" | ||
|
||
HOME_DIR=$1 | ||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
"$KARAF_CLIENT" < "$KARAF_CONFIGS/camel.script" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
echo "Deploying Karaf Configuration" | ||
|
||
HOME_DIR=$1 | ||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
cp "$HOME_DIR"/islandora/camel/config/islandora.cfg /opt/karaf/etc |
Oops, something went wrong.