How to Install Apache Solr on Fedora Server Latest

Apache Solr is a highly scalable search engine that is used to build search applications. In this tutorial, we will learn how to install Apache Solr on Fedora Server Latest.

Prerequisites

Before we start with the installation process, make sure that you have the following prerequisites:

  • Fedora Server Latest installed on your machine
  • Java installed on your machine
  • Basic knowledge of the command line

Installation Steps

Follow the steps below to install Apache Solr:

  1. Download Solr from the official Apache website.

    wget https://ftp.wayne.edu/apache/lucene/solr/8.10.0/solr-8.10.0.tgz
    
  2. Extract the downloaded file using tar.

    tar xzf solr-8.10.0.tgz solr-8.10.0/bin/install_solr_service.sh --strip-components=2
    
  3. Install Solr by running the following command.

    sudo bash ./install_solr_service.sh solr-8.10.0.tgz
    
  4. Start Solr service.

    sudo systemctl start solr
    
  5. Check the status of the Solr service.

    sudo systemctl status solr
    
  6. Verify Solr installation by visiting the following URL in your browser.

    http://localhost:8983/solr/
    

Congratulations! You have installed Apache Solr on your Fedora Server Latest. You can now start building your search applications using Apache Solr.