Deployment Architecture

What meant by a silent installation of Splunk on Linux, and how do you do it?

saifuddin9122
Path Finder

Hello Splunkers

Can any one help in understanding what is silent installation for Splunk on Linux?

Is there any specific way to achieve it?

thanks in advance

0 Karma

dajomas
Path Finder

A silent install could only be achieved through a Shell script run as root.

In that script you should:
- Stop Splunk (if this is an update and if it is running, installing via RPM should take care of this as well)
- Install Splunk either via RPM or by extracting a TAR file (you will have to download either of these from the Splunk website at https://www.splunk.com/en_us/download/splunk-enterprise.html#tabs/linux
- Start Splunk as the splunk user, accepting the license and performing all update actions (if necessary) (for instance via this command: sudo -u splunk ". /opt/splunk/bin/setSplunkEnv; /opt/splunk/bin/splunk --answer-yes --no-prompt --accept-license")

Now if you want to ensure Splunk starts at boot time, have a look at this page: https://docs.splunk.com/Documentation/Splunk/6.6.0/Admin/ConfigureSplunktostartatboottime
However, if your system uses systemd, have a look at this page: https://answers.splunk.com/answers/59662/is-there-a-systemd-unit-file-for-splunk.html

jkat54
SplunkTrust
SplunkTrust

dajomas
Path Finder

I downvoted this post because the question is for a silent install on linux but the answer points to a how-to for installing splunk on the Windows command line

0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...