Last active
August 10, 2021 18:16
-
-
Save sidward35/099ab0817139da5af47d9b008f13988f to your computer and use it in GitHub Desktop.
Script to setup Splunk on Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt update | |
#sudo apt install neofetch | |
#neofetch | |
#echo 'neofetch' >> ~/.bashrc | |
sudo apt install wget | |
wget -O splunk.tgz '{SPLUNK-DOWNLOAD-URL}' | |
tar -xzvf splunk.tgz | |
cd splunk/ | |
echo '[user_info]' >> etc/system/local/user-seed.conf | |
echo 'USERNAME = admin' >> etc/system/local/user-seed.conf | |
echo 'PASSWORD = {PASSWORD}' >> etc/system/local/user-seed.conf | |
cd bin/ | |
./splunk start --accept-license |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment