ElaticSearch installation on Redhat with RPM


(Yoav) #1

Hi,
Following: https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html

Does the installation create the user elastic by default , or should i create the elastic user manually and then as user elastic execute the : sudo yum install elasticsearch ?

Regards


(Tanguy) #2

Hi,

When installed, the RPM creates a elasticsearch group and a elasticsearch user. You should execute the installation with root.


(Yoav) #3

Hi,
Thanks for your update.

So , if i need to install with root user , why the installation guide to use : SUDO ?


(Tanguy) #4

sudo is a command available of most *nix distribution that allows to execute a command using privileges from another user, by default the superuser (ie root).

You can learn more on https://en.wikipedia.org/wiki/Sudo.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.