====== Replace Mulgara with BlazeGraph ====== * Install Trippi-sail # apt-get install maven maven is already the newest version (3.3.9-3). # git clone https://github.com/discoverygarden/trippi-sail.git # cd trippi-sail # mvn package -Dfedora.version=3.8.1 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] trippi-sail ........................................ SUCCESS [01:11 min] [INFO] trippi-sail-base ................................... SUCCESS [ 47.232 s] [INFO] trippi-sail-blazegraph-embedded .................... SUCCESS [ 41.824 s] [INFO] trippi-sail-blazegraph-remote ...................... SUCCESS [ 12.116 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:52 min [INFO] Finished at: 2017-03-10T14:49:49+01:00 [INFO] Final Memory: 72M/755M [INFO] ------------------------------------------------------------------------ # cd trippi-sail-blazegraph-remote/target # tar xf trippi-sail-blazegraph-remote-0.0.1-SNAPSHOT-bin.tar.gz # mv trippi-sail-blazegraph-remote-0.0.1-SNAPSHOT /opt/trippi-sail # chown -R tomcat7:tomcat7 /opt/trippi-sail * Configure Fedora # cp /etc/tomcat7/Catalina/localhost/fedora.xml ~/backup/ # nano -w /etc/tomcat7/Catalina/localhost/fedora.xml + # cp ~/trippi-sail/trippi-sail-blazegraph-remote/src/main/resources/sample-bean-config-xml/remote-blazegraph.xml /usr/local/fedora/server/config/spring/ # nano -w /usr/local/fedora/server/config/spring/remote-blazegraph.xml + + - + - + # chown -R tomcat7:tomcat7 /usr/local/fedora # cp /usr/local/fedora/server/config/fedora.fcfg ~/backup/ # nano -w /usr/local/fedora/server/config/fedora.fcfg + # cp /usr/local/fedora/server/bin/env-server.sh ~/backup/ # nano -w /usr/local/fedora/server/bin/env-server.sh - -cp \"$webinf\"/classes:\"$FEDORA_HOME\"/server/bin:\"$webinf\"/lib/* \ + -cp \"$webinf\"/classes:/opt/trippi-sail/*:\"$FEDORA_HOME\"/server/bin:\"$webinf\"/lib/* \ # service blazegraph stop # nano -w /etc/bigdata/log4j.properties log4j.rootCategory=ERROR, dest1 ... log4j.logger.com.bigdata=ERROR log4j.logger.com.bigdata.btree=ERROR # service blazegraph start