Elasticsearch as a service - Linux

I have Elasticsearch, Kibana, Logstash all up and running on seperate linux boxes. I first started with installing them and then launching them all individually. But I need to have each box launching them as a service.

I've tried sudo service elasticsearch, but it does nothing...

Any help would be grateful.

But I need to have each box launching them as a service.

How did you install ES and the others?

I've tried sudo service elasticsearch, but it does nothing...

Does nothing? You don't even get an error message?

I pretty much installed them like this: A guide I was making for an intern of mine. No error message. Just goes to next command line

Step 1) Install Java 7 or later
a) Run command (sudo add-apt-repository -y ppa:webupd8team/java)
b) Run command (sudo apt-get update) to update Java
c) To check what Java version run command (java –version)
Step 2) Download Elasticsearch files
a. Through linux command go and download files by running the command below:
curl -L -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.tar.gz
b. Now extract .tar file, run command (tar -xvf elasticsearch-1.7.1.tar.gz)
Step 3) Locate and Run Elasticsearch
a) Find Elasticsearch install files in the same directory you were in when downloading files
b) Open Elasticsearch directory with (cd Elasticsearch-1.7.1)
c) Open bin directory next (cd bin)
d) Run Elasticsearch from bin directory using (./elasticsearch)

I also followed


If you have an RPM or Debian based distribution I strongly suggest that you use the available packages instead.

So if I started off using the basic install methods and want to use debian, is it best to start from scratch?

Unless you have data you need to keep I'd just ignore the current files. If you want to keep the data you can copy the files in the data directory to where the Debian package puts them (under /var/lib/elasticsearch). Just make sure file ownership etc is correct.

K, I got Elasticsearch running as a service and Kibana on different VM's and I switched the kibana.yml elasticsearch to urlname:9200 but the UI is not working. Says site is down error...

Ideas? What might i be forgetting?