Install Solr 7 - Solr Search API | Drupal 8

Install Solr 7 - Solr Search API

Submitted by editor on Thu, 04/26/2018 - 15:22
Question

How to Install solr 7 on linux ubuntu / Linux mint ?

1. Install java

Install Java 8 on Ubuntu
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Verify Java Inatallation
sudo apt-get install oracle-java8-set-default
java -version

Setup JAVA_HOME and JRE_HOME Variable
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
EOL

2. Install Solr

Install Apache Solr 7.3
cd /opt
sudo wget http://www-eu.apache.org/dist/lucene/solr/7.3.0/solr-7.3.0.tgz
sudo tar xzf solr-7.3.0.tgz solr-7.3.0/bin/install_solr_service.sh --strip-components=2
sudo bash ./install_solr_service.sh solr-7.3.0.tgz

Start / Stop Solr Service
sudo service solr stop
sudo service solr start
sudo service solr status

Create First Solr Collection (If need)
#sudo su - solr -c "/opt/solr/bin/solr create -c mycol1 -n data_driven_schema_configs"

Access Solr Admin Panel
http://localhost:8983/

 

3. Configure solr

TODO

4. Configure Drupal 8 / Solr for drupal

TODO

Comments

Charlotte David (not verified)

Tue, 07/24/2018 - 08:52

The cost to introduce only the boards is just a little piece of the establishment, you additionally require a charge controller, inverter, and batteries. Not exactly as straightforward as simply mounting a couple of boards. There are a lot of web assets for more data. I would encourage you to instruct yourself on this preceding spending any cash. college homework help. The cost of business take off is still significantly higher than the matrix, however, there is a great deal you can do yourself, including making your own particular boards, on the off chance that you are so disposed.

Add new comment

Plain text

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