Skip to content

Instantly share code, notes, and snippets.

@sidward35
Last active August 10, 2021 18:16
Show Gist options
  • Select an option

  • Save sidward35/099ab0817139da5af47d9b008f13988f to your computer and use it in GitHub Desktop.

Select an option

Save sidward35/099ab0817139da5af47d9b008f13988f to your computer and use it in GitHub Desktop.

Revisions

  1. sidward35 revised this gist Aug 10, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion splunk_install.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    sudo apt update
    #sudo apt install neofetch
    #neofetch
    #echo 'neofetch' >> .bashrc
    #echo 'neofetch' >> ~/.bashrc

    sudo apt install wget
    wget -O splunk.tgz '{SPLUNK-DOWNLOAD-URL}'
  2. sidward35 revised this gist Aug 10, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion splunk_install.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/bin/sh

    #sudo apt update
    sudo apt update
    #sudo apt install neofetch
    #neofetch
    #echo 'neofetch' >> .bashrc
  3. sidward35 created this gist Aug 10, 2021.
    17 changes: 17 additions & 0 deletions splunk_install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    #!/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