# How to install elasticsearch in ubuntu and configure it to be standalone?

**URL:** <https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237>\
**Category:** Elasticsearch\
**Created:** [August 30, 2022, 9:41am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237 "2022-08-30T09:41:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![morad\_della3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morad_della3/32/101241_2.png) [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Post date:** [August 30, 2022, 9:41am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/1 "2022-08-30T09:41:24Z")

</div>

how to install elasticsearch in ubuntu and configure it to be standalone?

---

<div class="post-metadata">

**Author:** ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)\
**Post date:** [August 30, 2022, 10:09am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/2 "2022-08-30T10:09:17Z")

</div>

Hello there!  
As 'standalone' you mean one, single node?

---

<div class="post-metadata">

**Author:** ![morad\_della3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morad_della3/32/101241_2.png) [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Post date:** [August 30, 2022, 10:10am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/3 "2022-08-30T10:10:47Z")

</div>

yes i installed elasticsearch 8.4.0 and kibana in the same ubuntu machine

---

<div class="post-metadata">

**Author:** ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)\
**Post date:** [August 30, 2022, 10:13am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/4 "2022-08-30T10:13:25Z")

</div>

In `/etc/elasticsearch/elasticsearch.yml` please use `discovery.type` as 'single-node`.  
In KIbana config file you have to point to Elasticsearch host and port.  
Will you use filebeat, logstash, metricbeat and so on?

---

<div class="post-metadata">

**Author:** ![morad\_della3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morad_della3/32/101241_2.png) [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Post date:** [August 30, 2022, 10:15am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/5 "2022-08-30T10:15:05Z")

</div>

yea i use filebeat,winlogbeat and packetbeat

---

<div class="post-metadata">

**Author:** ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)\
**Post date:** [August 30, 2022, 10:19am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/6 "2022-08-30T10:19:54Z")

</div>

1. Setup your elasticsearch,
2. Setup your kibana,
3. Setup your filebeat.

[Docs here](https://www.elastic.co/guide/en/elastic-stack/current/installing-elastic-stack.html).

Than, if anything will not be understandable or you will have errors please come back here. There are many issues solved on forum.

---

<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 27, 2022, 10:20am UTC](https://discuss.elastic.co/t/how-to-install-elasticsearch-in-ubuntu-and-configure-it-to-be-standalone/313237/7 "2022-09-27T10:20:44Z")

</div>

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