elk install - xiuyanduan/xiuyanduan.github.io GitHub Wiki
title: install ELK
date: 2015-12-16
tags:
- ELK
---
This articale has been test successful in Ubuntu 14.04 LTS
install key
Download and install the Public Signing Key:
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
add to the repository
root@test:/# cat /etc/apt/sources.list.d/elk.list
deb https://packages.elastic.co/beats/apt stable main
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
deb http://packages.elastic.co/logstash/2.1/debian stable main
install elasticsearch
sudo apt-get update
sudo apt-get install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10
install logstash
sudo apt-get update
sudo apt-get install logstash