- In this article, I will show you how to install Solr on Ubuntu using two different methods. The first one will be the simple method and the second the more advanced method. I recommend the second method because it installs a newer version of Solr on all Ubuntu versions, even in the most recent version 14.04 at time of writing.
- Zeppelin supports more than 20 languages including Apache Spark, SQL, R, Elasticsearch and many more. Apache Zeppelin allows you to create beautiful data-driven documents and see the results of your analytics. A Vultr Ubuntu 16.04 server instance. A domain name pointed towards the server.
Apache Solr is an open source search platform written on Java. Solr provides full-text search, spell suggestions, custom document ordering and ranking, Snippet generation and highlighting. Apache Solr runs as a standalone full-text search server. It REST-like HTTP/XML and JSON APIs makes it usable from most other popular programming languages.
This tutorial will help you to install Apache Solr 8.5 on Ubuntu 20.04 LTS systems.
Install Solr 7 for Drupal 8 Search API on Ubuntu 16.04. Install Solr Install Java 10 sudo add-apt-repository ppa:linuxuprising/java sudo apt update.
First of all, login to your Ubuntu system with sudo privileged account. Now, run the below command to upgrade the current packages on your system.
Step 1 – Installing Java
Apache Solr 8 required Java 8 or greater to run. Make sure your system fulfill Java requirements of Apache Solr. If you don’t have java installed on your system visit below articles.
Apache Solr Build Website
Verify active Java version:
Apache Solr Download
You can also follow this tutorial to install Java on Ubuntu Linux.
Step 2 – Install Solr on Ubuntu
Now download the required Solr version from its official site or mirrors. Or simply use the following command to download Apache Solr 8.5.2.
Install Solr On Windows
Then, extract Apache Solr service installer script from the downloaded Solr archive file. Run the installer followed by the archive file as below:
Step 3 – Manage Solr Service
Solr is configured as a service on your system. You can simply use the following commands to Start, Stop and check the status of Solr service.
To view the status of solr server, type:
Use following commands to stop and start Apache solr service:
Step 4 – Create Collection in Solr
After the successful installation of Solr on your system. Create the first collection in Apache Solr using the following command.
Step 5 – Access Solr Admin Panel
Drupal Apache Solr
The default Apache Solr run on port 8983. So, you can access your Solr service to this port in your web browser using server IP or domain name.
Apache Solr Vs Apache Lucene
Now, select “mycollection” under Core Selector drop down in left sidebar. This will show you the statics of the selected collection.
Apache Solr On Azure
In this tutorial, you have learned to install Apache Solr on Ubuntu 20.04 LTS system. Also created a collection in the Solr.