# Install mapper-atttachment with es 2.1.1

**URL:** <https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315>\
**Category:** Elasticsearch\
**Created:** [January 4, 2016, 1:35pm UTC](https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315 "2016-01-04T13:35:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_GUERIN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guerin/32/5950_2.png) [@Francois\_GUERIN](https://discuss.elastic.co/u/Francois_GUERIN)\
**Post date:** [January 4, 2016, 1:35pm UTC](https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315/1 "2016-01-04T13:35:13Z")

</div>

Hi,

I'm new in elasticsearch, and I'd like to use es with mapper-attachments. Server run on a debian / jessie, es is installed from elastic repository (2.1.1 release).

For now docs are confusing, and it's not too easy to figure out how to install and use mapper-attachment on an es node : I've tryed many methods from many places in docs :  
from github :

- [https://github.com/elastic/elasticsearch-mapper-attachments](https://github.com/elastic/elasticsearch-mapper-attachments)  
from official docs
- [https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html](https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html)  
but none of them works ☹

I've also tryed to download directly zip packages (I'm behind a corporate proxy), but all urls are 404. (I've set http\_proxy / https\_proxy in my sh environment)

My questions :

- What is the "definitive way" to install the mapper-attachment plugin ? Even behind a proxy ?

Thanks ! (and happy new year)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 4, 2016, 1:48pm UTC](https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315/2 "2016-01-04T13:48:24Z")

</div>

With elasticsearch \< 2.2, you have to use: [https://github.com/elastic/elasticsearch-mapper-attachments](https://github.com/elastic/elasticsearch-mapper-attachments)  
From 2.2 (not released), [https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html](https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html)

For 2.1.1, use:

```auto
bin/plugin install elasticsearch/elasticsearch-mapper-attachments/3.1.1

```

If you are behind a proxy, read: [https://www.elastic.co/guide/en/elasticsearch/plugins/current/\_other\_command\_line\_parameters.html#\_proxy\_settings](https://www.elastic.co/guide/en/elasticsearch/plugins/current/_other_command_line_parameters.html#_proxy_settings)

---

<div class="post-metadata">

**Author:** ![Francois\_GUERIN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guerin/32/5950_2.png) [@Francois\_GUERIN](https://discuss.elastic.co/u/Francois_GUERIN)\
**Post date:** [January 4, 2016, 1:59pm UTC](https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315/3 "2016-01-04T13:59:41Z")

</div>

Ok, I could setup mapper-attachment, thanks !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:27pm UTC](https://discuss.elastic.co/t/install-mapper-atttachment-with-es-2-1-1/38315/4 "2017-07-05T23:27:18Z")

</div>


