# Running kibana as a service on Linux

**URL:** <https://discuss.elastic.co/t/running-kibana-as-a-service-on-linux/72021>\
**Category:** Kibana\
**Created:** [January 18, 2017, 2:10pm UTC](https://discuss.elastic.co/t/running-kibana-as-a-service-on-linux/72021 "2017-01-18T14:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [January 18, 2017, 7:51pm UTC](https://discuss.elastic.co/t/running-kibana-as-a-service-on-linux/72021/2 "2017-01-18T19:51:19Z")

</div>

Hi Aviral,

It's probably possible to complete what you're trying to do, but there's a much easier way.

1. Go to [https://www.elastic.co/downloads/kibana](https://www.elastic.co/downloads/kibana) and download the Linux package appropriate for your Linux distribution. For example, on Ubuntu 64-bit you would get the `.deb` package [https://artifacts.elastic.co/downloads/kibana/kibana-5.1.2-amd64.deb](https://artifacts.elastic.co/downloads/kibana/kibana-5.1.2-amd64.deb)  
On Redhat or CentOS you would get the `.rpm` package.

2. Install the package (as root). On Ubuntu `dpkg -i <the .deb package you downloaded>`  
On Redhat or CentOS `yum install -y <the .rpm package you downloaded>`

3. same steps as above for Elasticsearch.

4. The config files are in /etc/elasticsearch and /etc/kibana (but they should both start and connect with no changes)

5. as root `service elasticsearch start` , `service kibana start`

NOTE: Installing the packages create elasticsearch and kibana users and starting the services runs them as those users

1. see /var/log/elasticsearch/elasticsearch.log and /var/log/kibana/kibana.stdout

Regards,  
Lee

---

_[View the full topic](https://discuss.elastic.co/t/running-kibana-as-a-service-on-linux/72021)._
