You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeff Moe 334778e05f
Add elasticsearch host
7 years ago
..
README Add elasticsearch host 7 years ago

README

# Clone Debian Stretch template, set up IPs, hostname, ssh keys

apt update
apt -y dist-upgrade

# Install elasticsearch
# Get key
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
# Install deps (should be installed already):
apt-get -y install apt-transport-https
# Set up repo for previous release 5.x (current is 6.x).
# Graylog 2 only works with 5.x. Graylog 3, due in 2018, works with elasticsearch 6.x
#echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list

echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-5.x.list

# Disable apt-cache in /etc/apt/apt.conf, it doesn't work with https
apt update
apt install openjdk-8-jre-headless
apt install elasticsearch
# Note for Version 6.x, use
# apt install elasticsearch-oss

# Configure a cluster name and answer on IP.
# Open firewall

# Start on boot:
systemctl enable elasticsearch.service

### XXX Backups
### XXX Prometheus :)