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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...