Skip to content

Instantly share code, notes, and snippets.

@galanteh
Created March 22, 2020 23:09
Show Gist options
  • Save galanteh/1d44dec24adc83748aee8b20c1b658b1 to your computer and use it in GitHub Desktop.
Save galanteh/1d44dec24adc83748aee8b20c1b658b1 to your computer and use it in GitHub Desktop.
Splunk installation on Linux
yum -y update
wget -O splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=8.0.2.1&product=splunk&filename=splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm&wget=true'
chmod 744 splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm
rpm -i splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm
rpm -i --prefix=/opt/splunk splunk-8.0.2.1-f002026bad55-linux-2.6-x86_64.rpm
export SPLUNK_HOME=/opt/splunk
chown -R splunk:splunk $SPLUNK_HOME
$SPLUNK_HOME/bin/splunk start --accept-license --answer-yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment