Last active
December 21, 2015 10:59
-
-
Save samrose/6296154 to your computer and use it in GitHub Desktop.
Drupal7 tomcat7 solr4.4.0 configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setup tomcat 7 [task was already done]) | |
download solr wget http://mirror.nexcess.net/apache/lucene/solr/4.4.0/solr-4.4.0.tgz | |
following http://calibrate.be/labs/create-multi-core-solr-4-service-running-tomcat-6-ubuntu-1204-lts (same approach works for tomcat7) | |
except not multicore, so: | |
cp /var/www/example.com/sites/all/modules/apachesolr/solr-conf/solr-4.x/* solr/collection1/conf/ | |
and /etc/tomcat7/Catalina/localhost/solr4.xml | |
set to: | |
<Context docBase="/usr/share/tomcat7/webapps/solr-4.4.0.war" debug="0" privileged="true" | |
allowLinking="true" crossContext="true"> | |
<Environment name="solr/home" type="java.lang.String" | |
value="/usr/share/solr4/<envname>/solr/" override="true" /> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment