Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»LinuxMint»How To Install Apache Solr 8.9 on LinuxMint 20/19

    How To Install Apache Solr 8.9 on LinuxMint 20/19

    RahulBy RahulNovember 5, 20182 Mins ReadUpdated:June 28, 2021

    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.

    • Install Apache Solr on CentOS, RedHat

    Use this tutorial to install Apache Solr 8.9.0 on a LinuxMint 20/19/18 system.

    Step 1 – Prerequsities

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

    Apache Solr 8 required Java 8 or greater to run. Make sure your system fulfills the 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.9.0

    cd /opt
    wget https://downloads.apache.org/lucene/solr/8.9.0/solr-8.9.0.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.9.0.tgz solr-8.9.0/bin/install_solr_service.sh --strip-components=2
    sudo bash ./install_solr_service.sh solr-8.9.0.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 the 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 the Solr port in your web browser and you will get a 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

    apache solr nosql Solr solr indexing
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow To Install PostgreSQL and pgAdmin4 in Fedora 35/34
    Next Article How to Install Gulp.js on CentOS/RHEL 7/6

    Related Posts

    How to Install Redis on Debian 11 Linux

    Updated:September 16, 20213 Mins Read

    How To Install and Secure MongoDB on Ubuntu 20.04

    Updated:September 7, 20214 Mins Read

    How To Install and Secure MongoDB on CentOS 8

    5 Mins Read

    How To Install Wine 5.0 on LinuxMint

    2 Mins Read

    How To Install Apache Solr 8.9 on CentOS/RHEL 8

    Updated:June 28, 20213 Mins Read

    How To Install Apache Solr 8.9 on Ubuntu 20.04

    Updated:June 28, 20213 Mins Read

    1 Comment

    1. charles chiniyonga on September 25, 2019 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 ?

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install Sublime Text 4 on Ubuntu 22.04
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.