Install solr 8.9.0 into Ubuntu 20.04 / Linux Mint 20.3

Shawon Saha - Nov 3 '22 - - Dev Community

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player