Apache Solr is an open-source search platform that is used to build search engines. In this tutorial, we will be installing Apache Solr on Kali Linux Latest.
To install JDK, open the terminal and execute the following command:
sudo apt-get update
sudo apt-get install default-jdk
To download Apache Solr, navigate to the official website of Apache Solr and download the latest version of Apache Solr in the format you prefer. Alternatively, you can download it using the following command:
wget https://archive.apache.org/dist/lucene/solr/8.10.1/solr-8.10.1.tgz
To extract the downloaded file, run the following command:
tar -xvf solr-8.10.1.tgz
To create a solr user and group, run the following command:
sudo useradd -m solr
sudo groupadd solr
sudo usermod -aG solr solr
To configure file permissions, navigate to the extracted directory and execute the following command:
sudo chown -R solr:solr /opt/solr
sudo chmod -R 755 /opt/solr
To start Apache Solr, navigate to the extracted directory and execute the following command:
sudo -u solr ./bin/solr start
To access the Apache Solr Web Interface, open a web browser and enter the following URL:
http://localhost:8983/solr/
To stop Apache Solr, navigate to the extracted directory and execute the following command:
sudo -u solr ./bin/solr stop -all
Congratulations! You have successfully installed Apache Solr on Kali Linux Latest.
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!