• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How To Install Apache Solr 8.3 on LinuxMint 19/18

Written by Rahul, Updated on December 13, 2019

Apache Solr is an opensource search platform written on Java. Solr provides full-text search, spell suggestions, custom document ordering and ranking, Snippet generation and highlighting. Use this tutorial to install Apache Solr 8.3 on LinuxMint 19/18 systems.

  • Install Apache Solr on CentOS, RedHat

Step 1 – Prerequsities

Login to your Linux mint system with root or sudo privileged account.

Apache Solr 7 required Java 8 or greater to run. Make sure your system fulfills Java requirements of Apache Solr. If you don’t have java installed on your system visit the below articles.

java -version

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

If you don’t have java installed, Use this tutorial to install Java.

Step 2 – Install Apache Solr on LinuxMint

Now download the required Solr version from its official site or mirrors. Or simply use the following command to download Apache Solr 8.3.1.

cd /opt
wget http://www-eu.apache.org/dist/lucene/solr/8.3.1/solr-8.3.1.tgz

Then extract the install script from the downloaded archive on your system using below command. Now run the installer shell script with the bash shell.

tar xzf solr-8.3.1.tgz solr-8.3.1/bin/install_solr_service.sh --strip-components=2
sudo bash ./install_solr_service.sh solr-8.3.1.tgz

Step 3 – Manage Solr Service

Solr is configured as a service on your system. You can simply use the following commands to Start, Stop and check the status of Solr service.

sudo service solr stop
sudo service solr start
sudo service solr status

Step 4 – Create Solr Collection

After the successful installation of Solr on your system. Create the first collection in Apache Solr using the following command.

sudo su - solr -c "/opt/solr/bin/solr create -c mycol1 -n data_driven_schema_configs"

Sample output:

Created new core 'mycol1'

Step 5 – Access Solr Admin Panel

Default Solr runs on port 8983. You can access Solr port in your web browser and you will get Solr dashboard.

  http://demo.tecadmin.net:8983/

Install Solr on Linuxmint

Here you can view statics of created collection in previous steps named “mycol1”. Click on “Core Selector” on the left sidebar and select created collection.

Install Apache Solr on Linuxmint

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

1 Comment

  1. Avatar charles chiniyonga Reply
    September 25, 2019 at 4:51 pm

    Hello Rahul,

    I hope this email finds you well.

    I need your help to configure authentication in solr 8.0. I tried change setting in file jetty but am still facing issue. It does not ask password.

    Could you help me ?

Leave a Reply Cancel reply

Popular Posts

  • How to Install Python 3.9 on CentOS/RHEL 7 & Fedora 32/31 0
  • How To Install VNC Server on Ubuntu 20.04 1
  • How To Install NVM on macOS with Homebrew 0
  • (Solved) apt-add-repository command not found – Ubuntu & Debian 0
  • How to Install .NET Core on Debian 10 0
© 2013-2020 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy