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 7 - Solr Search API

By editor , 26 April, 2018
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

Tags

  • Linux
  • Server
  • Drupal 8
  • Add new comment
Install Solr Search API
Solr Configuration for Drupal

Comments1

Plain text

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

Charlotte David (not verified)

8 years 4 months ago

Review

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.

  • Reply

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