Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cp apache-tomcat-7.0.34.tar /usr/local/oodt/.
cd /usr/local/oodt
tar xvf apache-tomcat-7.0.34.tar
ln -s ln -s ./apache-tomcat-7.0.34 ./apache-tomcat
  • Download and install a Solr version of 4.X or above:
Code Block

cp solr-4.2.0.tar /usr/local/oodt/.

...


cd /usr/local/oodt

...


tar xvf solr-4.2.0.tar

...


ln -s ./solr-4.2.0 ./solr

...

  • Install the Solr war file into the Tomcat directory (note that the Solr distribution must be renamed to solr.war as in the example command above):
Code Block

cp /usr/local/oodt/solr/dist/solr-4.2.0.war /usr/local/oodt/apache-tomcat/webapps/solr.war

...


o copy the example Solr configuration directory to another location for subsequent modifications:
cp -R /usr/local/oodt/solr/example/solr /usr/local/oodt/solr-home

...