# How to install logstash 5 in Centos 6 X64\_86

**URL:** <https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225>\
**Category:** Logstash\
**Created:** [October 28, 2016, 1:34am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225 "2016-10-28T01:34:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiehaitang](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@xiehaitang](https://discuss.elastic.co/u/xiehaitang)\
**Post date:** [October 28, 2016, 1:34am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225/1 "2016-10-28T01:34:35Z")

</div>

How to install logstash 5 in Centos 6 X64\_86

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [October 28, 2016, 1:54am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225/2 "2016-10-28T01:54:16Z")

</div>

download the rpm and do a sudo yum filename

[https://www.elastic.co/downloads/logstash](https://www.elastic.co/downloads/logstash)

---

<div class="post-metadata">

**Author:** ![xiehaitang](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@xiehaitang](https://discuss.elastic.co/u/xiehaitang)\
**Post date:** [October 28, 2016, 2:09am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225/3 "2016-10-28T02:09:39Z")

</div>

I use the RPM package installed, can not be used to service logstash start , in the /etc/init.d directory can not find the logstash file

---

<div class="post-metadata">

**Author:** ![nguoianphu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nguoianphu/32/11325_2.png) [@nguoianphu](https://discuss.elastic.co/u/nguoianphu)\
**Post date:** [October 28, 2016, 2:27am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225/4 "2016-10-28T02:27:42Z")

</div>

> [@xiehaitang](#):
>
> I use the RPM package installed, can not be used to service logstash start , in the /etc/init.d directory can not find the logstash file

Go here [Installing Logstash | Logstash Reference [8.11] | Elastic](https://www.elastic.co/guide/en/logstash/current/installing-logstash.html)

- You can try to run the logstash binary first.
- If you want to use the RPM, please note that the repositories do not work with older rpm based distributions that still use RPM v3, like CentOS5.

---

<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 6, 2017, 4:32am UTC](https://discuss.elastic.co/t/how-to-install-logstash-5-in-centos-6-x64-86/64225/5 "2017-07-06T04:32:14Z")

</div>


