CentOS Installation solr5.5.0

Source: Internet
Author: User
Tags solr

To view the installation environment:

[Email protected] ~]# cat/proc/version
Linux version 2.6.32-573.22.1.el6.x86_64 ([email protected]) (GCC version 4.4.7 20120313 (Red Hat 4.4.7-16) (gcc)) #1 SMP Wed Mar 03:35:39 UTC 2016

[Email protected] ~]# cat/etc/issue
CentOS Release 6.7 (Final)
Kernel \ r on an \m

You need to install the JDK or JRE before you install SOLR, which requires 1.7 or higher.

[Email protected] local]# java-version
Java Version "1.7.0_80"
Java (TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot (TM) 64-bit Server VM (build 24.80-b11, Mixed mode)

This machine installs the 1.7.0_80, the installation JDK process no longer repeat.

Download, unzip, start the service

Download:

On the official website: https://lucene.apache.org/solr/download

Solr-5.5.0.tgz

Http://apache.fayea.com/lucene/solr/5.5.0/solr-5.5.0.tgz

Extract:

[Email protected] local]# tar zxf solr-5.5.0.tgz

Start the service:

[Email protected] local]# CD solr-5.5.0
[[email protected] solr-5.5.0]# BIN/SOLR start
Waiting up to seconds to see SOLR running on port 8983 [/]
Started SOLR Server on port 8983 (pid=5774). Happy searching!

You can see that the SOLR service uses 8983 ports by default.

SOLR has built-in jetty.

Access via browser: http://localhost:8983/solr/

CentOS Installation solr5.5.0

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.