How to install Splunk in CentOS 7

Sheng-Shan Chen
2 min readMar 18, 2021

Splunk (the product) captures, indexes and correlates real-time data in a searchable repository from which it can generate graphs, reports, alerts, dashboards and visualizations. (

Splunk Enterprise 8.1.2

Index 500 MB/Day. Sign up and download now. After 60 days you can convert to a perpetual free license or purchase a Splunk Enterprise license to continue using the expanded functionality designed for enterprise-scale deployments.

Step1. goto

Step2. To click download it.

Step3. you can direct to download it or use wget command.

Step4. To unzip splunk.tgz

tar -xvf {splunk.tgz}

Step5. copy it to /opt/splunk

cp -rp splunk/* /opt/splunk


cd /opt/splunk
./splunk start --accept-license

Step7. Done! Then, setting the firewall port.

firewall-cmd --zone=public --add-port=8000/tcp --permanent
firewall-cmd --reload

Step8. open the browser, and type the splunk ip, you can see the splunk login website.

If you like my article, please clap your hands for me, it's free.