Deployment Architecture

Splunk Installation using tar as a root user

sanjubaba
Path Finder

Can we install Splunk Enterprise as a root user using tar method?

Labels (2)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
If your current installation is running as a non root user, then you could install it as this user. If it’s owned by root then you must install it as root and after that you should consider to change the ownership to non root user and run it as non root user as @renjith_nair already said.
r. Ismo

View solution in original post

sanjubaba
Path Finder

Thanks @renjith_nair for your reply.

I want to upgrade my Splunk Enterprise version so while upgrading it using tar should I upgrade it as a non-root user or as a root user? There should not be any permission denied issue during upgrade if I go with non-root user.

Please suggest some workaround if possible.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
If your current installation is running as a non root user, then you could install it as this user. If it’s owned by root then you must install it as root and after that you should consider to change the ownership to non root user and run it as non root user as @renjith_nair already said.
r. Ismo

renjith_nair
Legend

You can install splunk as a root but you shouldn't if possible. This is normally against the best practices considering the security aspects.

Please refer to below more information 

https://docs.splunk.com/Documentation/Splunk/8.0.6/Installation/RunSplunkasadifferentornon-rootuser

Tar file installation : https://docs.splunk.com/Documentation/Splunk/8.0.6/Installation/InstallonLinux

 

 

---
What goes around comes around. If it helps, hit it with Karma 🙂
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...