RunAbove : Install de Docker, Elasticsearch, Logstash et Kibana

RunAbove : Install Docker, Elasticsearch, Logstash et Kibana
sudo echo "deb http://http.debian.net/debian wheezy-backports main" | sudo tee -a /etc/apt/sources.list.d/debian_wheezy_backports.list
sudo apt-get update
sudo apt-get install -t wheezy-backports linux-image-amd64
sudo apt-get install curl
curl -sSL https://get.docker.com/ | sh
sudo docker pull digitalwonderland/elasticsearch
sudo docker run --rm --name elasticsearch --publish 9200:9200 --publish 9300:9300 -e ELASTICSEARCH_CLUSTER_NAME=my-cluster digitalwonderland/elasticsearch -Des.node.name=node-1

How-to Install Elasticsearch on Debian 7 OVH VPS

install python-software-properties :

apt-get install python-software-properties

install a non official repository Oracle Java :

echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update

install Oracle JDK 7

apt-get install oracle-java7-installer

Download and install the Elasticsearch Public Signing Key

wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -

Add the following to your /etc/apt/sources.list to enable the repository

deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main

Run apt-get update and the repository is ready for use. You can install it with :

apt-get update && apt-get install elasticsearch