You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Anuj Bhargava <an...@gmail.com> on 2023/01/13 07:02:05 UTC

Uninstall Solr 9.1

How to uninstall solr 9.1?

Regards,

Anuj

Re: Uninstall Solr 9.1

Posted by Anuj Bhargava <an...@gmail.com>.
Thanks. Got Solr 9.1 working

Regards,

Anuj

On Fri, 13 Jan 2023 at 19:32, Shawn Heisey <ap...@elyograg.org> wrote:

> 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
>

Re: Uninstall Solr 9.1

Posted by Shawn Heisey <ap...@elyograg.org>.
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

Re: Uninstall Solr 9.1

Posted by Anuj Bhargava <an...@gmail.com>.
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



*$ service solr startWaiting up to 180 seconds to see Solr running on port
8983 [\]Started Solr server on port 8983 (pid=11859). Happy searching!*

On Fri, 13 Jan 2023 at 18:37, Shawn Heisey <ap...@elyograg.org> wrote:

> On 1/13/23 01:05, Anuj Bhargava wrote:
>  > On Centos
>  >
>  > wget https://dlcdn.apache.org/solr/solr/9.1.0/solr-9.1.0.tgz
>
> I accidentally replied directly to the sender to ask how they installed
> Solr, above is the direct reply I got.
>
> The wget command does not install Solr.  It only downloads it.  You had
> to have done additional steps after the wget.
>
> Thanks,
> Shawn
>

Re: Uninstall Solr 9.1

Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/13/23 01:05, Anuj Bhargava wrote:
 > On Centos
 >
 > wget https://dlcdn.apache.org/solr/solr/9.1.0/solr-9.1.0.tgz

I accidentally replied directly to the sender to ask how they installed 
Solr, above is the direct reply I got.

The wget command does not install Solr.  It only downloads it.  You had 
to have done additional steps after the wget.

Thanks,
Shawn