# Which installation is better for production

**URL:** https://discuss.elastic.co/t/which-installation-is-better-for-production/350500
**Category:** Elasticsearch
**Created:** [January 6, 2024, 6:08am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500 "2024-01-06T06:08:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)
#### Post date: [January 6, 2024, 6:08am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/1 "2024-01-06T06:08:33Z")

</div>

hi, I want to run ELK 8.11 on production environment on oracle linux VMs, Which type of installation is preferred for production environment? RPM based or Archive based?

Also, can we use another user apart from "root" for elasticsearch installation?

any advice is appreciated  
Regards

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 6, 2024, 9:40am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/2 "2024-01-06T09:40:34Z")

</div>

> [@sahere37](#):
>
> Which type of installation is preferred for production environment? RPM based or Archive based?

Both are suitable for production use, it's up to you which one you prefer.

> [@sahere37](#):
>
> Also, can we use another user apart from "root" for elasticsearch installation?

You need to be `root` to install a RPM I think, but when Elasticsearch is running it won't be `root` (in fact it will refuse to start if you try and use `root`).

---

<div class="post-metadata">

### Author: ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)
#### Post date: [January 7, 2024, 9:41am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/3 "2024-01-07T09:41:59Z")

</div>

Thank you, you mean that when we install using rpm by root, for starting and stopping of elasticsearch we can use another user? what kind of permission would the other user need (like elasticsearch\_user)?

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 7, 2024, 10:24am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/4 "2024-01-07T10:24:20Z")

</div>

Not a lot really, mainly just read/write access to the data path.

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [January 7, 2024, 1:55pm UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/5 "2024-01-07T13:55:54Z")

</div>

> [@sahere37](#):
>
> Thank you, you mean that when we install using rpm by root, for starting and stopping of elasticsearch we can use another user? what kind of permission would the other user need (like elasticsearch\_user)?

If you use the defaults configurations for the `path.data` you does not need to change anything, the permissions will be all set.

But if you use a different path data for example, you need to make sure that the `elasticsearch` user can write and read on this path.

---

<div class="post-metadata">

### Author: ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)
#### Post date: [January 8, 2024, 5:30am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/6 "2024-01-08T05:30:20Z")

</div>

thank you

---

<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: [February 5, 2024, 5:31am UTC](https://discuss.elastic.co/t/which-installation-is-better-for-production/350500/7 "2024-02-05T05:31:06Z")

</div>

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