SOLR installation configuration
1, download SOLR to Apache
2, extract solr-4.10.0
3, copy the Solr.war file in the Solr-4.10.0\example\webapps to the WebApps folder in the Tomcat installation directory
4, run Tomcat, Tomcat will automatically unzip the Solr.war file.
5, delete the Solr.war file. (Otherwise, each time you start Tomcat will be published)
6, configure SOLR home. Go back to Tomcat's WebApps directory and open the Solr\web-inf\web.xml file.
Add the following code: The last within the <web-app/> node.
<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>e:\ Solrhome</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry
The above code, you need to create a new folder on the E-disk: Solrhome
7, go back to the extracted solr-4.10.0 directory, open folder: SOLR-4.10.0\EXAMPLE\SOLR , copy all content to E:\solrhome
8, open folder: Solr-4.10.0\example\lib\ext, copy all jar packages to Tomcat webapps\solr\ Under the Web-inf\lib.
,
9, run WEB:HTTP://LOCALHOST:8899/SOLR, you will see the following screen: (Configuring the Tomcat port to 8899 default configuration is 8080)
SOLR installation configuration