# How to install Search Guard in Centos

**URL:** <https://forum.search-guard.com/t/how-to-install-search-guard-in-centos/286>\
**Category:** Search Guard\
**Created:** [September 26, 2016, 9:34am UTC](https://forum.search-guard.com/t/how-to-install-search-guard-in-centos/286 "2016-09-26T09:34:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathish\_Thangathurai](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Sathish\_Thangathurai](https://forum.search-guard.com/u/Sathish_Thangathurai)\
**Post date:** [September 26, 2016, 9:34am UTC](https://forum.search-guard.com/t/how-to-install-search-guard-in-centos/286/1 "2016-09-26T09:34:41Z")

</div>

Hi Everyone,

I’m new to centOS. I have been using the following below URL to install Elastic Search

> **[Register a snapshot repository | Elasticsearch Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-register-repository.html)**

I was getting the below error when I do install search guard using the following command

**/etc/elasticsearch/plugins install -b com.floragunn/search-guard-ssl/2.4.0.16**

Error:

bash: /etc/elasticsearch/plugins: Is a directory?

I tried various ways, In the first step within the root directory-\>Plugins folder. I’ve used the below command

**cd /etc/searchguard/plugins**

**install -b com.floragunn/search-guard-ssl/2.4.0.16**

Error:

sudo: /etc/elasticsearch/plugins: command not found

Please help me to install search guard in the stage environment.

Thanks,

Sathish Thangathurai

---

<div class="post-metadata">

**Author:** ![ZillaYT](https://avatars.discourse-cdn.com/v4/letter/z/4da419/32.png) [@ZillaYT](https://forum.search-guard.com/u/ZillaYT)\
**Post date:** [October 4, 2016, 5:25pm UTC](https://forum.search-guard.com/t/how-to-install-search-guard-in-centos/286/2 "2016-10-04T17:25:22Z")

</div>

You need a zip file, so …

**/etc/elasticsearch/plugins install -b com.floragunn/search-guard-ssl/[2.4.0.16](http://2.4.0.16/)/som\_file.zip**

**Chris**

> **···**
>
> On Monday, September 26, 2016 at 5:34:41 AM UTC-4, Sathish Thangathurai wrote:
> 
> > Hi Everyone,
> 
> > I’m new to centOS. I have been using the following below URL to install Elastic Search
> 
> > 
> 
> > [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html)
> 
> > 
> 
> > I was getting the below error when I do install search guard using the following command
> 
> > 
> 
> > 
> 
> > **/etc/elasticsearch/plugins install -b com.floragunn/search-guard-ssl/[2.4.0.16](http://2.4.0.16)**
> 
> > 
> 
> > Error:
> 
> > bash: /etc/elasticsearch/plugins: Is a directory?
> 
> > 
> 
> > 
> 
> > I tried various ways, In the first step within the root directory-\>Plugins folder. I’ve used the below command
> 
> > 
> 
> > **cd /etc/searchguard/plugins**
> 
> > **install -b com.floragunn/search-guard-ssl/[2.4.0.16](http://2.4.0.16)**
> 
> > 
> 
> > Error:
> 
> > sudo: /etc/elasticsearch/plugins: command not found
> 
> > 
> 
> > Please help me to install search guard in the stage environment.
> 
> > 
> 
> > Thanks,
> 
> > Sathish Thangathurai
> 
> > 
> 
> >
