Skip to content

Commit

Permalink
Update fuskei to 2.0.0 and deploy via war. Closes #13.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Apr 15, 2015
1 parent 4be95be commit 946afb2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The default VM login details are:
- Camel 2.14.1
- Fedora 4.1.0
- Fedora Camel Component 4.1.0
- Fuseki 1.1.1
- Fuseki 2.0
- Sync 0.0.0
- Islandora 7.x-2.x
- PHP 5.5.9
Expand Down
2 changes: 0 additions & 2 deletions install/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network :forwarded_port, guest: 3306, host: 3306 # MySQL
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|
if ENV['VIM']
Expand Down
23 changes: 11 additions & 12 deletions install/fuseki.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
echo "Installing Fuseki"
FUSEKI_VERSION=2.0.0
FUSEKI_DEPLOY=/var/lib/tomcat7/webapps
FUSEKI_BASE=/etc/fuseki

FUSEKI_VERSION=1.1.1
FUSEKI_HOME=/usr/share/fuseki

mkdir $FUSEKI_HOME
mkdir $FUSEKI_BASE
chown -hR tomcat7:tomcat7 $FUSEKI_BASE

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 &
wget http://www.apache.org/dist/jena/binaries/apache-jena-fuseki-"$FUSEKI_VERSION".tar.gz
tar -xzvf apache-jena-fuseki-"$FUSEKI_VERSION".tar.gz
cd apache-jena-fuseki-"$FUSEKI_VERSION"
mv -v fuseki.war $FUSEKI_DEPLOY
chown -hR tomcat7:tomcat7 $FUSEKI_DEPLOY/fuseki.war
service tomcat7 restart

0 comments on commit 946afb2

Please sign in to comment.