Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by ErikHatcher: http://wiki.apache.org/solr/SolrTomcat The comment on the change is: just tidied a little ------------------------------------------------------------------------------ === Tomcat 6 === - The easiest way to set up SOLR under Tomcat 6 is to add the solr.home variable to your JVN settings. Add solr.war to your Tomcat webapps directory, and copy the entire /example/solr directory from the distributed SOLR package to your solr.home location. You get solr.war by renaming the apache-solr-1.2.war file to solr.war. After setting up solr.home as below, start Tomcat, and you should be up and running. + The easiest way to set up Solr under Tomcat 6 is to add the solr.solr.home system property to your JVM settings. Add solr.war to your Tomcat webapps directory, and copy the entire /example/solr directory from the distributed Solr package to your solr.solr.home location. You get solr.war by renaming the apache-solr-1.2.war file to solr.war. After setting up solr.solr.home as below, start Tomcat, and you should be up and running. - Set -Dsolr.solr.home=/opt/solr (...or wherever you're putting SOLR) in your Tomcat JVM settings. For example, + Set -Dsolr.solr.home=/opt/solr (...or wherever you're putting Solr) in your Tomcat JVM settings. For example, {{{export JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.home=/opt/solr"}}}
