How to Install Apache Solr on Linux Mint

Apache Solr is a popular open-source search platform that helps users to find information quickly and easily. In this tutorial, we will guide you through the process of installing Apache Solr on Linux Mint Latest.

Prerequisites

Before you begin, ensure your Linux Mint system is up-to-date and has Java Development Kit (JDK) installed.

  1. Update your system with the command:

    sudo apt-get update && sudo apt-get upgrade
    
  2. Install Java Development Kit with the command:

    sudo apt-get install openjdk-8-jdk
    

Installation

  1. Download Apache Solr from the official website at https://lucene.apache.org/solr/downloads.html. You may choose the latest stable release zip file:

    wget https://archive.apache.org/dist/lucene/solr/8.9.0/solr-8.9.0.zip
    
  2. Unzip the downloaded file using the command:

    unzip solr-8.9.0.zip
    
  3. Move the extracted files to the opt directory:

    sudo mv solr-8.9.0 /opt/solr
    
  4. Change directory to the Solr folder:

    cd /opt/solr/bin
    
  5. Start Apache Solr:

    sudo ./solr start
    
  6. You can now access the Solr Admin interface by visiting http://localhost:8983/solr/

  7. To stop Solr at any time, run:

    sudo ./solr stop
    

Conclusion

You have successfully installed Apache Solr on your Linux Mint system. You are now ready to start using Solr search platform to search for information.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!