Splunk CentOS 7 - Installing
-
3. Installing Splunk
Then to Set up Splunk on CentOS
First, Access the Target, usually in the Downloads folder:
(But if downloaded with Firefox it can be instead into /tmp/mozilla*)cd && cd Downloads
To Check that there is run:
ls . | splunk
And to Setup Splunk:
sudo rpm -ivh splunk*.rpm
-
4. Setting Up Splunk User
Now to Enable the Splunk User Shell Login
Simply Set a Password with:sudo passwd splunk
Now Login with this Pass as the splunk User:
su splunk
-
5. Amending User’s Path
Again Append Splunk into the Path
This to simplify Working with Splunk on CLI:echo 'export PATH=$PATH:/opt/splunk/bin' >> ~/.bashrc
Finally, Reload the Path with:
bash
Contents