# How do you configure Elasticsearch on Ubuntu Bash for Windows 10?

**URL:** <https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888>\
**Category:** Elasticsearch\
**Created:** [August 12, 2019, 4:17pm UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888 "2019-08-12T16:17:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zachary\_baker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zachary_baker/32/52124_2.png) [@zachary\_baker](https://discuss.elastic.co/u/zachary_baker)\
**Post date:** [August 12, 2019, 4:17pm UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888/1 "2019-08-12T16:17:15Z")

</div>

Hi everyone!

I am relatively new to Elasticsearch and was wondering about configuring it for the Ubuntu bash app for Windows 10. Is it possible and if so, what would I have to configure. I have seen it run on an Ubuntu server, but I have not had any luck when I tried to run it from my local machine using the ubuntu bash app.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [August 13, 2019, 12:10am UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888/2 "2019-08-13T00:10:56Z")

</div>

To clarify, you're wishing to run Elasticsearch under [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/faq)?

---

<div class="post-metadata">

**Author:** ![zachary\_baker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zachary_baker/32/52124_2.png) [@zachary\_baker](https://discuss.elastic.co/u/zachary_baker)\
**Post date:** [August 13, 2019, 3:05am UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888/3 "2019-08-13T03:05:43Z")

</div>

Yes.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [August 15, 2019, 7:15am UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888/4 "2019-08-15T07:15:56Z")

</div>

It _is possible_ to [install the Debian package](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html) with `apt-get` in WSL, but I wouldn't advise doing so

1. systemd is not supported in WSL

2. a bunch of the bootstrap checks will fail when starting Elasticsearch e.g.

I think the better options would be

1. Use the [zip distribution on Windows](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html)
2. Use one of the package distributions like RPM or Debian on a support linux flavour
3. Use the [docker image on Docker for Windows](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)

---

<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:** [September 12, 2019, 7:16am UTC](https://discuss.elastic.co/t/how-do-you-configure-elasticsearch-on-ubuntu-bash-for-windows-10/194888/5 "2019-09-12T07:16:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
