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.
30 lines
767 B
30 lines
767 B
7 years ago
|
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
|
||
|
apt-get install kibana
|
||
|
|
||
|
# Start on boot:
|
||
|
systemctl enable kibana.service
|
||
|
|
||
|
# Open firewall
|
||
|
|
||
|
# Start on boot:
|
||
|
systemctl enable kibana.service
|
||
|
|
||
|
### XXX Backups
|
||
|
### XXX Prometheus :)
|
||
|
|