On 1/13/23 06:44, Anuj Bhargava wrote:
Installed java - sudo dnf install java-11-openjdk

*$java -versionopenjdk version "11.0.17" 2022-10-18 LTSOpenJDK Runtime
Environment (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS)OpenJDK
64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS, mixed
mode, sharing)*

Downloaded solr wget https://dlcdn.apache.org/solr/solr/9.1.0/solr-9.1.0.tgz

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

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

To completely remove all traces from a service install with default options:

sudo rm -rf /opt/solr /opt/solr-9.1.0
sudo rm -rf /var/solr
sudo find /etc | grep solr | sudo xargs rm -f
sudo userdel -r solr

If you were upgrading to a newer version, I would suggest different steps. I think I saw somewhere that you were wanting to install an 8.x version instead. You would not be able to use existing index data from 9.x in 8.x.

Thanks,
Shawn

Reply via email to