To set up Splunk on a Linux system, you must execute the install script with root privileges. First, open your terminal and move to the folder containing the Splunk installation file. Input the following commands:
sudo apt-get install curl
dpkg -i splunk-<version>-linux-<architecture>.deb
Ensure you replace <version>
and <architecture>
with the correct details for your specific installation file. This initiates the setup process, which could take a few minutes to finish.
Remember, you can verify the correct installation of Splunk on your Debian system at any time by using the command
dpkg --status splunk
Use Splunk to start the Splunk service:
/opt/splunk/bin/splunk start
Read the license agreement. At the end, select y and Enter.
Create an username.
Create a password with at least eight characters.
Once Splunk installation is complete, the last line will provide the URL to access the web interface: http://serverhostname:8000
.