How to Install Apache Solr on Manjaro

Apache Solr is a popular search platform written in Java that can be used to provide full-text search capabilities to your website or application. Here are the step-by-step instructions to install Apache Solr on Manjaro.

Prerequisites

Before we start with the installation process, make sure that you have the following installed on your system:

Step 1: Downloading Apache Solr

First, you need to download the Apache Solr. You can download the latest version of Apache Solr from the official website (https://lucene.apache.org/solr/downloads.html).

wget https://downloads.apache.org/lucene/solr/8.10.0/solr-8.10.0.tgz

Step 2: Extracting the Archive

After downloading the Apache Solr archive, you need to extract it to your desired location.

tar xzf solr-8.10.0.tgz solr-8.10.0

Step 3: Starting Apache Solr

To start Apache Solr, run the following command:

./solr-8.10.0/bin/solr start -p 8983

By default, Apache Solr starts on port 8983. You can access the Apache Solr web interface by opening your web browser and navigating to http://localhost:8983/solr/.

Step 4: Stopping Apache Solr

To stop Apache Solr, run the following command:

./solr-8.10.0/bin/solr stop -p 8983

Conclusion

In this tutorial, you learned how to install Apache Solr on Manjaro using the command line. I hope this tutorial was helpful and feel free to explore Apache Solr to enhance your website or application with advanced search capabilities.

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!