SOLR installation Configuration

Source: Internet
Author: User
Tags solr

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.