Download and Install Splunk 7.x in Linux CLI
This video will demonstrate an installation of the latest version of Splunk on a command line in Linux under 4 minutes
(AWS LINUX / RHEL / CENTOS)
1. Download the install tarball
#wget -O splunk-7.1.3-51d9cac7b837-Linux-x86_64.tgz ‘https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=7.1.3&product=splunk&filename=splunk-7.1.3-51d9cac7b837-Linux-x86_64.tgz&wget=true’
2. Unzip the tarball
#sudo tar xvzf splunk-7.1.3-51d9cac7b837-Linux-x86_64.tgz -C /opt
3. Copy the default conf file to the production conf file
#cp /opt/splunk/etc/splunk-launch.conf.default /opt/splunk/etc/splunk-launch.conf
4. Set SPLUNK_HOME environment variable:
#export SPLUNK_HOME=/opt/splunk
5. Start the Splunk service for the first time
read the license:
#/opt/splunk/bin/splunk start
or without reading the license:
#/opt/splunk/bin/splunk start –accept-license
linux download