Skip to content

Commit

Permalink
Add fuskei and bump up VM RAM. Closes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Feb 20, 2015
1 parent 17216dc commit 220bb6d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.

config.vm.hostname = "islandora"

# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty64"
Expand All @@ -17,11 +19,17 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network :forwarded_port, guest: 5432, host: 5432 # PostgreSQL
config.vm.network :forwarded_port, guest: 80, host: 8000 # Apache
config.vm.network :forwarded_port, guest: 8181, host: 8181 # Karaf
config.vm.network :forwarded_port, guest: 3030, host: 3030 # Fuseki

config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", '1024']
end

config.vm.provision :shell, :path => "bootstrap.sh"
config.vm.provision :shell, :path => "solr.sh"
config.vm.provision :shell, :path => "camel.sh"
config.vm.provision :shell, :path => "fcrepo-camel.sh"
config.vm.provision :shell, :path => "fuseki.sh"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand Down
15 changes: 15 additions & 0 deletions install/fuseki.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
echo "Installing Fuseki"

FUSEKI_VERSION=1.1.1
FUSEKI_HOME=/usr/share/fuseki

mkdir $FUSEKI_HOME

cd /tmp
wget http://www.apache.org/dist/jena/binaries/jena-fuseki-"$FUSEKI_VERSION"-distribution.tar.gz
tar -xzvf jena-fuseki-"$FUSEKI_VERSION"-distribution.tar.gz
cd jena-fuseki-"$FUSEKI_VERSION"
mv -v * $FUSEKI_HOME
chown -hR tomcat7:tomcat7 $FUSEKI_HOME
cd $FUSEKI_HOME
./fuseki-server --update --mem /fcrepo &

0 comments on commit 220bb6d

Please sign in to comment.