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
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
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