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 🙂
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...