This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree 16 files changed +37
-37
lines changed
16 files changed +37
-37
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
39
39
40
40
# Setup the shared folder
41
41
home_dir = "/home/ubuntu"
42
- config . vm . synced_folder "../ " , home_dir + "/islandora"
42
+ config . vm . synced_folder "." , home_dir + "/islandora"
43
43
44
44
config . vm . network :forwarded_port , guest : 8080 , host : 8080 # Tomcat
45
45
config . vm . network :forwarded_port , guest : 8181 , host : 8181 # Karaf
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
HOME_DIR=$1
4
- DOWNLOAD_DIR=" $HOME_DIR /islandora/install/ downloads"
4
+ DOWNLOAD_DIR=" $HOME_DIR /islandora/downloads"
5
5
FEDORA_VERSION=4.7.0
6
6
KARAF_VERSION=4.0.5
7
7
KARAF_DIR=" /opt/karaf"
8
8
KARAF_CLIENT=" $KARAF_DIR /bin/client"
9
- KARAF_CONFIGS=" $HOME_DIR /islandora/install/ configs/karaf/"
9
+ KARAF_CONFIGS=" $HOME_DIR /islandora/configs/karaf/"
10
10
CAMEL_VERSION=4.4.0
11
11
SOLR_VERSION=6.2.1
12
12
BLAZEGRAPH_VERSION=2.1.4
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ echo "Building Alpaca"
4
4
5
5
HOME_DIR=$1
6
6
7
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
8
- . " $HOME_DIR " /islandora/install/ configs/variables
7
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
8
+ . " $HOME_DIR " /islandora/configs/variables
9
9
fi
10
10
11
11
cd " $HOME_DIR "
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing BlazeGraph's NanoSparqlServer"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
if [ ! -f " $DOWNLOAD_DIR /bigdata-$BLAZEGRAPH_VERSION .war" ]; then
Original file line number Diff line number Diff line change 2
2
3
3
HOME_DIR=$1
4
4
5
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
6
- . " $HOME_DIR " /islandora/install/ configs/variables
5
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
6
+ . " $HOME_DIR " /islandora/configs/variables
7
7
fi
8
8
9
9
if [ ! -d " $DOWNLOAD_DIR " ]; then
@@ -15,7 +15,7 @@ cd "$HOME_DIR"
15
15
# Set apt-get for non-interactive mode
16
16
export DEBIAN_FRONTEND=noninteractive
17
17
18
- cp " $HOME_DIR " /islandora/install/ configs/motd /etc/motd
18
+ cp " $HOME_DIR " /islandora/configs/motd /etc/motd
19
19
20
20
# Update all the things.
21
21
apt-get -y -qq update && apt-get -y -qq upgrade
Original file line number Diff line number Diff line change 2
2
echo " Deploying Karaf Configuration"
3
3
4
4
HOME_DIR=$1
5
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
6
- . " $HOME_DIR " /islandora/install/ configs/variables
5
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
6
+ . " $HOME_DIR " /islandora/configs/variables
7
7
fi
8
8
9
9
if [ ! -f " $KARAF_DIR /etc/org.fcrepo.camel.indexing.triplestore.cfg" ]; then
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ echo "Installing Drupal Console."
4
4
5
5
HOME_DIR=$1
6
6
7
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
8
- . " $HOME_DIR " /islandora/install/ configs/variables
7
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
8
+ . " $HOME_DIR " /islandora/configs/variables
9
9
fi
10
10
11
11
cd /tmp
22
22
if [ -f " .console/config.yml" ]; then
23
23
rm .console/config.yml
24
24
fi
25
- cp $HOME_DIR /islandora/install/ configs/config.yml $HOME_DIR /.console/config.yml
25
+ cp $HOME_DIR /islandora/configs/config.yml $HOME_DIR /.console/config.yml
26
26
chown -hR ubuntu:ubuntu /home/ubuntu/.console
27
27
sed -i -e " \$ asource \" $HOME /.console/console.rc\" 2>/dev/null" $HOME /.bashrc
28
28
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ echo "Installing Drupal."
4
4
5
5
HOME_DIR=$1
6
6
7
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
8
- . " $HOME_DIR " /islandora/install/ configs/variables
7
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
8
+ . " $HOME_DIR " /islandora/configs/variables
9
9
fi
10
10
11
11
cd " $HOME_DIR "
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing fcrepo-camel-toolbox"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
echo " Installing fcrepo-indexing-triplestore"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing Fedora."
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
if [ ! -f " $DOWNLOAD_DIR /fcrepo-$FEDORA_VERSION .war" ]; then
20
20
21
21
cd /opt
22
22
mkdir -p fcrepo/configs
23
- cp -v $HOME_DIR /islandora/install/ configs/repository.json /opt/fcrepo/configs
24
- cp -v $HOME_DIR /islandora/install/ configs/claw.cnd /opt/fcrepo/configs
23
+ cp -v $HOME_DIR /islandora/configs/repository.json /opt/fcrepo/configs
24
+ cp -v $HOME_DIR /islandora/configs/claw.cnd /opt/fcrepo/configs
25
25
chown -hR tomcat7:tomcat7 /opt/fcrepo
26
26
27
27
chown tomcat7:tomcat7 /var/lib/tomcat7/fcrepo4-data
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing FITS Web Service and FITS"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
if [ ! -f " $DOWNLOAD_DIR /fits-$FITS_VERSION .zip" ]; then
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing Islandora Karaf Components"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing Karaf"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
if [ ! -f " $DOWNLOAD_DIR /apache-karaf-${KARAF_VERSION} .tar.gz" ]; then
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "Installing Loris IIIF Image Server"
3
3
4
4
HOME_DIR=$1
5
5
6
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
7
- . " $HOME_DIR " /islandora/install/ configs/variables
6
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
7
+ . " $HOME_DIR " /islandora/configs/variables
8
8
fi
9
9
10
10
# Kakadu
@@ -43,8 +43,8 @@ pip install mock
43
43
pip install responses
44
44
useradd -d /var/www/loris2 -s /sbin/false loris
45
45
a2enmod headers expires
46
- cp " $HOME_DIR /islandora/install/ configs/002-loris.conf" " /etc/apache2/sites-enabled/"
47
- cp " $HOME_DIR /islandora/install/ configs/kdu_libs.conf" " /etc/ld.so.conf.d/kdu_libs.conf"
46
+ cp " $HOME_DIR /islandora/configs/002-loris.conf" " /etc/apache2/sites-enabled/"
47
+ cp " $HOME_DIR /islandora/configs/kdu_libs.conf" " /etc/ld.so.conf.d/kdu_libs.conf"
48
48
ldconfig
49
49
mkdir /usr/local/share/images
50
50
Original file line number Diff line number Diff line change 2
2
echo " RUNNING POST-INSTALL COMMANDS"
3
3
4
4
HOME_DIR=$1
5
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
6
- . " $HOME_DIR " /islandora/install/ configs/variables
5
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
6
+ . " $HOME_DIR " /islandora/configs/variables
7
7
fi
8
8
9
9
# Chown and chmod tomcat directory
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ echo "Installing Solr"
4
4
5
5
HOME_DIR=$1
6
6
7
- if [ -f " $HOME_DIR /islandora/install/ configs/variables" ]; then
8
- . " $HOME_DIR " /islandora/install/ configs/variables
7
+ if [ -f " $HOME_DIR /islandora/configs/variables" ]; then
8
+ . " $HOME_DIR " /islandora/configs/variables
9
9
fi
10
10
11
11
if [ ! -f " $DOWNLOAD_DIR /solr-$SOLR_VERSION .tgz" ]; then
You can’t perform that action at this time.
0 commit comments