Deploy Solr (4.4) to Tomcat (7.0.53) in Ubuntu)

Source: Internet
Author: User
Deploying Solr (4.4) to Tomcat (7.0.53) in Ubuntu

Deploy Solr (4.4) to Tomcat (7.0.53) in Ubuntu)

Related reading:

Solr3.6.1 build http://www.linuxidc.com/Linux/2013-01/77664.htm in Tomcat6 Environment

Tomcat-based Solr3.5 cluster deployment http://www.linuxidc.com/Linux/2012-12/75297.htm

Load Balancing http://www.linuxidc.com/Linux/2012-12/75257.htm for Solr clusters using Nginx on Linux

Installing with Solr http://www.linuxidc.com/Linux/2012-10/72029.htm in Linux

Deploy Solr 4 http://www.linuxidc.com/Linux/2012-09/71158.htm through Tomcat on Ubuntu 12.04 LTS

Solr implements Low Level query parsing (QParser) http://www.linuxidc.com/Linux/2012-05/59755.htm

Build a search server http://www.linuxidc.com/Linux/2012-05/59743.htm Based on Solr 3.5

Solr 3.5 development and application tutorial PDF high definition edition http://www.linuxidc.com/Linux/2013-10/91048.htm

Solr 4.0 deployment instance tutorial http://www.linuxidc.com/Linux/2013-10/91041.htm

The main steps are as follows:

1. Download solr-4.4.0.tgz

2. In the/home/wujiaqi/directory, extract the solr-4.4.0.tgz

Tar-xzvf solr-4.4.0.tgz

3. Copy./example/webapps/solr. war under the solr directory to the webapps directory of tomcat.

Cp/home/wujiaqi/solr/example/webapps/solr. war/home/wujiaqi/apache-tomcat/webapps/

4. Create a solr directory in the bin of tomcat.

Cd/home/wujiaqi/apache-tomcat/bin/

Mkdir solr

5. Copy the collection1 directory and solr. xml under the example/solr directory of solr to the solr directory under the bin directory of tomcat.

Cd/home/wujiaqi/solr/example/solr/

Cp-r collection1/solr. xml/home/wujiaqi/apache-tomcat/bin/solr

6. Copy all jar packages under example/lib/ext/of solr to the lib directory of tomcat/webapps/solr/WEB-INF.

Cd/home/wujiaqi/solr/example/lib/ext

Cp *. jar/home/wujiaqi/apache-tomcat/webapps/solr/WEB-INF/lib

7. Create a new classes directory under tomcat/webapps/solr/WEB-INF/and copy the files under example/resources of solr to the classes directory

8. Modify the tomcat/webapps/solr/WEB-INF/web. xml file:


Solr/home
/Home/wujiaqi/apache-tomcat/webapps/solr
Java. lang. String

9. start tomcat again. Enter http: // localhost: 8080/solr in the browser to view the solr management interface.

Solr details: Click here
Solr: Click here

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101443.htm

Related Article

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.