parent
54d9c5661c
commit
16696e7d75
@ -0,0 +1,29 @@
|
|||||||
|
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 :)
|
||||||
|
|
@ -0,0 +1,29 @@
|
|||||||
|
apt update
|
||||||
|
apt -y dist-upgrade
|
||||||
|
|
||||||
|
####################################################################
|
||||||
|
# Be sure to get OSS version. The "Elastic License" is a non-free, proprietary license.
|
||||||
|
# https://www.elastic.co/downloads/logstash-oss
|
||||||
|
|
||||||
|
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 logstash
|
||||||
|
|
||||||
|
# Start on boot:
|
||||||
|
systemctl enable logstash.service
|
||||||
|
|
||||||
|
# Open firewall
|
||||||
|
|
||||||
|
# Start on boot:
|
||||||
|
systemctl enable logstash.service
|
||||||
|
|
||||||
|
### XXX Backups
|
||||||
|
### XXX Prometheus :)
|
||||||
|
|
Binary file not shown.
Loading…
Reference in new issue