Skip to content

Instantly share code, notes, and snippets.

@sidward35
Last active August 10, 2021 18:16
Show Gist options
  • Save sidward35/099ab0817139da5af47d9b008f13988f to your computer and use it in GitHub Desktop.
Save sidward35/099ab0817139da5af47d9b008f13988f to your computer and use it in GitHub Desktop.
Script to setup Splunk on Debian
#!/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