- Download binary version of solr from here https://archive.apache.org/
dist/lucene/solr/
The version for 8.5.2 will be https://archive.apache.org/dist/lucene/solr/8.5.2/solr-8. 5.2.tgz
Note: Mind that it needs to be file without “src” in name. You can store the file wherever you like because all files will be copied into right places by installation. -
Run tar xzf solr-8.5.2.tgz solr-8.5.2/bin/install_solr_
service.sh --strip-components=2 -
Run sudo bash ./install_solr_service.sh solr-8.5.0.tgz
NOTE! use “sudo” even if you are logged as root!
By running the command above you run it with default configuration which is equivalent of sudo bash ./install_solr_service.sh solr-8.5.0.tgz -i /opt -d /var/solr -u solr -s solr -p 8983
– Solr installation directory => in config about its /opt
