Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Install Solr Search API

By editor , 13 December, 2016
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".

 

 

Tags

  • Server
  • Linux
  • WebService
Solr Configuration for Drupal
Install Solr 7 - Solr Search API

Comments

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer