• Home
  • LLMs
  • Docker
  • Kubernetes
  • Java
  • Python
  • Ubuntu
  • Maven
  • Archived
  • About
Apache Solr | Install and configure a Solr Standalone Server
  1. Download and Install Apache Solr
  2. Configuration files and environment variables
  3. Start Solr
  4. Stop Solr

  1. Download and Install Apache Solr
    Download Apache Solr: http://lucene.apache.org/solr/

    Extract the file "solr-9.8.1.zip" in the folder you want to install Solr: /opt/solr-9.8.1

    Create a symbolic link of the Solr installation folder:

    Change the folders permissions (if needed):
  2. Configuration files and environment variables
    ${SOLR_HOME} (or solr.solr.home) represents the path of the Solr home directory: /opt/solr/server/solr

    ${SOLR_ROOT} represents the path of the Solr installation folder: /opt/solr/

    Configuration files:
    ► "${SOLR_HOME}/solr.xml"

    Solr home directory ${SOLR_HOME} must contain a solr.xml file, otherwise Solr will fail to start.
  3. Start Solr
    Start Solr:

    Access the Solr Admin UI: http://localhost:8983/solr

    Apache Solr/Standalone
  4. Stop Solr
    Stop Solr:
© 2025  mtitek