AmiGO2 install: Difference between revisions

From Planteome.org
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
tar zxvf apache-solr-3.6.2.tgz
tar zxvf apache-solr-3.6.2.tgz


Pull down the latest version of AmiGO:
cd /data/www/planteome_dev
git clone https://github.com/geneontology/amigo.git amigo


Go back to the SOLR directory and replace the config with those from GOLR:
cd /lemma/justin/SOLR/apache-solr-3.6.2/example/solr/conf
cp schema.xml schema.xml.org
cp solrconfig.xml solrconfig.xml.org
cp /data/www/planteome_dev/amigo/golr/solr/conf/s* ./


I don't see any edits that need to be made at this point.  I think when we move to additional ontologies, we will have to modify schema.xml to account for new relationship types.  Cross that bridge when we get there.
Start SOLR(GOLR):
cd ../../ (be in the example directory)
java -jar start.jar
Now that it seems to be starting up fine, daemonise it so that it runs at a service at boot (Note that any service needs to be okayed by Chris before started):
Add the init.d script as outlined here  ??? add link ???
And configure the firewall to block outside connections ??? add link ???




'''This page will be updated as I progress.'''
'''This page will be updated as I progress.'''

Revision as of 00:38, 5 February 2015

GOLR install:

There are a few prerequisites to getting GOLR installed. They appear to be Maven and OwlTools. To install maven, I followed the instructions from here: http://blog.gluster.org/2013/08/yum-install-maven-yes-you-can/, seemed to work without error.

Then, to install OWLTools, I did the following: cd /lemma/justin svn co http://owltools.googlecode.com/svn/trunk/ owltools This creates the owltools directory in my space on lemma.

To compile OWLTools, run: mvn clean package This will take about half an hour.

Grab the 3.6 version of SOLR from apache and unpack: wget http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz tar zxvf apache-solr-3.6.2.tgz

Pull down the latest version of AmiGO: cd /data/www/planteome_dev git clone https://github.com/geneontology/amigo.git amigo

Go back to the SOLR directory and replace the config with those from GOLR: cd /lemma/justin/SOLR/apache-solr-3.6.2/example/solr/conf cp schema.xml schema.xml.org cp solrconfig.xml solrconfig.xml.org cp /data/www/planteome_dev/amigo/golr/solr/conf/s* ./

I don't see any edits that need to be made at this point. I think when we move to additional ontologies, we will have to modify schema.xml to account for new relationship types. Cross that bridge when we get there.

Start SOLR(GOLR): cd ../../ (be in the example directory) java -jar start.jar

Now that it seems to be starting up fine, daemonise it so that it runs at a service at boot (Note that any service needs to be okayed by Chris before started): Add the init.d script as outlined here  ??? add link ??? And configure the firewall to block outside connections ??? add link ???


This page will be updated as I progress.