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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...