Set up solr 5.3.2 and solr5.3.2 in windows
1. Installation of Tamcat, which is not described here
Path: F: \ SolrTest \ apache-tomcat-8.0.18
2. Decompress solr 5.3.2
Path: F: \ Tool \ solr-5.3.2
3. Copy solr5.3.2 webapp to tomcat
Path: "F: \ Tool \ solr-5.3.2 \ server \ solr-webapp directory" copied to the "F: \ SolrTest \ apache-tomcat-8.0.18 \ webapps" directory, rename solr,
The final directory is: "F: \ SolrTest \ apache-tomcat-8.0.18 \ webapps \ solr"
4. Copy the solr5.3.2 jar package to tomcat
Path: All files under the "F: \ Tool \ solr-5.3.2 \ server \ lib \ ext" directory, copy to "F: \ SolrTest \ apache-tomcat-8.0.18 \ webapps \ solr \ WEB-INF \ lib "Directory
5. Copy log4j
Path: "log4j under the" F: \ Tool \ solr-5.3.2 \ server \ resources "directory. properties, copy to the "F: \ SolrTest \ apache-tomcat-8.0.18 \ webapps \ solr \ WEB-INF \ classes" directory,
If the classes directory does not exist, it is created;
6. Create the solrhome directory:
Path: F: \ SolrTest \ SolrHome
7. Copy the solr File
Path: the folder solr' under the "F: \ Tool \ solr-5.3.2 \ server" directory to "F: \ SolrTest \ SolrHome"
8. modify web. xml
Modify the file path: F: \ SolrTest \ apache-tomcat-8.0.18 \ webapps \ solr \ WEB-INF \ web. xml, modify the env-entry node, and the final result is:
<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>F:/SolrTest/SolrHome/solr</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>
9. added the core folder.
Final path: F: \ SolrTest \ SolrHome \ solr \ core
10. Add configuration for core
Path: "F: \ SolrTest \ SolrHome \ solr \ configsets \ basic_configs" directory to the conf Folder: F: \ SolrTest \ SolrHome \ solr \ core folder,
The final path is: "F: \ SolrTest \ SolrHome \ solr \ core \ conf"
11. Add a data folder
Path: F: \ SolrTest \ SolrHome \ solr \ core \ data
12. Restart tomcat
Open address: http: // 127.0.0.1: 9999/solr
If solr is 6.0, go to http: // localhost: 9999/solr/index.html.
13. Operate core
Click "core Admin" on the left of the page, change name, and set "instanceDir" to "core", and click "Add core" to complete the final creation.
Success !!!