Install Solr Search API

Submitted by editor on Tue, 12/13/2016 - 09:58
Question

How to Install Solr 5.4.1 on Linux ?

Install Solr 5.4.1 on Debian Linux

 

Step 1. Install JAVA 7 (In not already installed)

sudo apt-get install openjdk-7-jdk

Step 2. Download the tgz version of SOLR 5.4.1

Drupal need atlest Solr 5.4.1 you may install the latest version. Save solr on /opt (/opt for this example, you can also use any other location)
sudo wget -O /opt/solr-5.4.1.tgz https://archive.apache.org/dist/lucene/solr/5.4.1/solr-5.4.1.tgz

Step 3. Unpack the downloaded tgz file.

Unpack solr into /opt/solr-5.4.1
sudo tar zxf solr-5.4.1.tgz

 

Solr Server commands

Start solr

sudo bin/solr start
#OR# $ sudo /opt/solr-5.4.1/bin/solr start

Stop solr

sudo bin/solr stop
#OR# $ sudo /opt/solr-5.4.1/bin/solr stop

Open Solr on browser.

SOLR server running at the background. You can browse "http://localhost:8983/solr".

 

 

Add new comment