solr-5.4.0 Installation

Source: Internet
Author: User
Tags solr

First, decompression


Unzip Solr-5.4.0.zip


Ii. Creating the SOLR directory


Mkdir/usr/local/apache-tomcat-7.0.57/webapps/solr


Third, copy application


Copy the contents of the Solr-5.4.0/server/solr-webapp/webapp directory to/USR/LOCAL/APACHE-TOMCAT-7.0.57/WEBAPPS/SOLR


Cp-r SOLR-5.4.0/SERVER/SOLR-WEBAPP/WEBAPP/USR/LOCAL/APACHE-TOMCAT-7.0.57/WEBAPPS/SOLR


Iv. copy Jar


CP software/solr-5.4.0/server/lib/ext/*/usr/local/apache-tomcat-7.0.57/webapps/solr/web-inf/lib


V. Copy SOLR Home


Cp-r/software/solr-5.4.0/server/solr/usr/local


VI. copy log files


Create a apache-tomcat-7.0.57/webapps/solr/web-inf/classes directory


Copy log files to this directory


CP solr-5.4.0/server/resources/log4j.properties/usr/local/apache-tomcat-7.0.57/webapps/solr/web-inf/classes


Seven, modify/usr/local/apache-tomcat-7.0.57/webapps/solr/web Inf/web.xml, uncomment, modify Solr/home.

<env-entry>

<env-entry-name>solr/home</env-entry-name>

<env-entry-value>/usr/local/solr</env-entry-value>

<env-entry-type>java.lang.String</env-entry-type>

</env-entry>


Eight, modify Tomcat Server.xml in the host node to add

<context path= "/SOLR" docbase= "/USR/LOCAL/APACHE-TOMCAT-7.0.57/WEBAPPS/SOLR" debug= "0" privileged= "true" > </Context>



Nine, start Tomcat


bin/startup.sh


Ten, visit


Http://192.168.137.50:8080/solr/index.html



solr-5.4.0 Installation

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.