Files
helpful-scripts/deploy-elk.sh
2023-06-30 14:14:17 +01:00

33 lines
1.3 KiB
Bash

#!/bin/bash
###############################################################################################
#
# ******
# *...../ / ******
# ************** *****/ *****/*****/***/*************/ ****** /**********
# ******/..*****/ *****/ *****/********//******/ ,*****/******,***** ,*****/
# *****/ ***** *****/ *****/*****/ *****/ /**************************
# *******//*****/ *************/*****/ *********************/*******./*/* ())
# ************* ******/*****/*****/ *****/******/. ****** ********** (()))
# *****/ *****/ ())
# *****/ *****/
#
###############################################################################################
# NOTICE: UBUNTU-SPECIFIC SCRIPT, WE RECOMMEND 22.04 LTS
###############################################################################################
ELKPATH=/opt/es/
hostname elastic-stack
mkdir -p $ELKPATH
cd $ELKPATH
git clone https://github.com/elkninja/elastic-stack-docker-part-one.git
mv elastic-stack-docker-part-one elastic-stack
cd elastic-stack
curl -s https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/install-docker-ubuntu.sh | bash
docker-compose up -d