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.
Update your system with the command:
sudo apt-get update && sudo apt-get upgradeInstall Java Development Kit with the command:
sudo apt-get install openjdk-8-jdk
Installation
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.zipUnzip the downloaded file using the command:
unzip solr-8.9.0.zipMove the extracted files to the opt directory:
sudo mv solr-8.9.0 /opt/solrChange directory to the Solr folder:
cd /opt/solr/binStart Apache Solr:
sudo ./solr startYou can now access the Solr Admin interface by visiting http://localhost:8983/solr/
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.