1. Download SOLR. Http://mirrors.cnnic.cn/apache/lucene/solr/3.6.2/apache-solr-3.6.2.zip
2, The SOLR compressed package decompress D: \ apache-solr-3.6.2, Copy D: \ apache-solr-3.6.2 \ Dist \ apache-solr-3.6.2.war to D: \ apache-tomcat-6.0.37-windows-x64 \ apache-Tomcat-6.0.37 \ webapps, and renamed SOLR. war (short name is convenient ).
3. Copy the D: \ apache-solr-3.6.2 \ example \ SOLR folder to D: \ apache-tomcat-6.0.37-windows-x64 \ apache-Tomcat-6.0.37.
4. Create Directory D: \ apache-tomcat-6.0.37-windows-x64 \ apache-Tomcat-6.0.37 \ conf \ Catalina \ localhost, create SOLR. xml:
<? XML version = "1.0" encoding = "UTF-8"?>
<Context docbase = "D: \ apache-tomcat-6.0.37-windows-x64 \ apache-Tomcat-6.0.37 \ webapps \ SOLR. War" DEBUG = "0" crosscontext = "true">
<Environment name = "SOLR/home" type = "Java. lang. string "value =" D: \ apache-tomcat-6.0.37-windows-x64 \ apache-Tomcat-6.0.37 \ SOLR "override =" true "/>
</Context>