Disclaimer: I am using Slor 4. Integrated in the 7.2+tomcat7+widows environment
First, download solr4.7.2, unzip. Unzip the directory below.
Copy the Solr.war in the Example/webapps directory into the WebApps directory of Tomcat;
Third, the Solr.war decompression, at this time you can delete the Solr.war file.
Iv. Create a new file home, name and location options, as pictured myself in my Learning Search technology folder built under the Solr-tomcat
Five, find the following image path of SOLR under EXAMPLE/SOLR, the following figure
Copy all the files under SOLR to the newly created solr-tomact above and copy the past as shown in the figure
Vi. Copy all jar packages under example/lib/ext/to the Lib directory of Tomcat/webapps/solr/web-inf, altogether 5, is SOLR's independent log processing module;
Seven, create a new classes directory under tomcat/webapps/solr/web-inf/, will example/ Resources, the Log4j.properties file is copied to the classes directory, or the log module does not work properly;
Find the tags used to configure environment variables in the Web. xml file, remove the annotations, and modify the environment variables to
Nine, browser input: HTTP://LOCALHOST:8080/SOLR can see SOLR management interface, anyway I was successful, the omission of the place can be Google or Baidu Oh.