DEV Community

Cover image for Install solr 8.9.0 into Ubuntu 20.04 / Linux Mint 20.3
Shawon Saha
Shawon Saha

Posted on • Edited on

2

Install solr 8.9.0 into Ubuntu 20.04 / Linux Mint 20.3

Install JAVA



sudo apt-get install openjdk-11-jdk


Enter fullscreen mode Exit fullscreen mode

Varify the installation



java -version


Enter fullscreen mode Exit fullscreen mode

If the installation is successful then you'll get a response openjdk version "11.0.16"... like this.

Download solr into your system



wget https://archive.apache.org/dist/lucene/solr/8.9.0/solr-8.9.0.tgz


Enter fullscreen mode Exit fullscreen mode

Extract the tarball file (.tgz)



tar xzf solr-8.9.0.tgz solr-8.9.0/bin/install_solr_service.sh --strip-components=2


Enter fullscreen mode Exit fullscreen mode

Install solr 8.9.0



sudo bash ./install_solr_service.sh solr-8.9.0.tgz


Enter fullscreen mode Exit fullscreen mode

stop, start, restart and check status



sudo service solr stop
sudo service solr start
sudo service solr restart
sudo service solr status


Enter fullscreen mode Exit fullscreen mode

Use start command to initiate solr. Then go to the following URL



http://localhost:8983/


Enter fullscreen mode Exit fullscreen mode

If you see a page like this then solr is installed into your linux system successfully.
solr 8.9.0 home screen

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay