Installation

Questions about installing Splunk as different user (non root)?

saifuddin9122
Path Finder

hi splunkers

i have few question regarding the installation of splunk as non root users

1 --> is it mandatory to use rpm file to install splunk as different user??

2 --> why can't we use tar file for such installation.?

3 --> when am trying to install splunk in my own created directory using splunk rpm file, am using the following command

rpm -i --prefix=/apps/ splunkforwarder-6.4.2-00f5bb3fa822-linux-2.6-x86_64.rpm

it is giving me the following output

warning: splunkforwarder-6.4.2-00f5bb3fa822-linux-2.6-x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 653fb112: NOKEY
package splunkforwarder-6.4.2-00f5bb3fa822.x86_64 is already installed

so i ran the other command rpm -ql splunkforwarder-6.4.2-00f5bb3fa822-linux-2.6-x86_64.rpm to check where the package is installed and the output is package splunkforwarder-6.4.2-00f5bb3fa822-linux-2.6-x86_64.rpm is not installed

can you please point me where i am doing mistake??

Labels (1)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

1 --> is it mandatory to use rpm file to install splunk as different user??

You can download the tarball and do this instead

mkdir /opt/splunkforwarder
tar -zxvf splunkforwarder.tgz -C /opt/splunkforwarder
chown -R bob. /opt/splunkforwarder
/opt/splunkforwarder/bin/splunk enable boot-start -user bob

2 --> why can't we use tar file for such installation.?

You can...

alt text

3 --> when am trying to install splunk in my own created directory using splunk rpm file, am using the following command

Do you want help here still or are the 2 answers above good?

View solution in original post

0 Karma

jkat54
SplunkTrust
SplunkTrust

1 --> is it mandatory to use rpm file to install splunk as different user??

You can download the tarball and do this instead

mkdir /opt/splunkforwarder
tar -zxvf splunkforwarder.tgz -C /opt/splunkforwarder
chown -R bob. /opt/splunkforwarder
/opt/splunkforwarder/bin/splunk enable boot-start -user bob

2 --> why can't we use tar file for such installation.?

You can...

alt text

3 --> when am trying to install splunk in my own created directory using splunk rpm file, am using the following command

Do you want help here still or are the 2 answers above good?

0 Karma

saifuddin9122
Path Finder

if it is possible can you please help me in question 3

0 Karma

saifuddin9122
Path Finder

Thanks for reply and making my questions clear.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...