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.

31 lines
838 B

apt update
apt -y dist-upgrade
####################################################################
# Be sure to get OSS version. The "Elastic License" is a non-free, proprietary license.
#
apt update
apt install openjdk-8-jre-headless
# Install logstash
# Disable apt-cache in /etc/apt/apt.conf, it doesn't work with https
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
# Disable apt cache in /etc/apt/apt.conf
apt update
# XXX Note the "kibana" package is non-free. Use the -oss package!
apt-get install kibana-oss
# Start on boot:
systemctl enable kibana.service
# Open firewall
# Start on boot:
systemctl enable kibana.service
### XXX Backups
### XXX Prometheus :)