Created
March 22, 2020 23:09
-
-
Save galanteh/1d44dec24adc83748aee8b20c1b658b1 to your computer and use it in GitHub Desktop.
Splunk installation on Linux
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
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