I am trying to install Percona MongoDB from the tarball on a RHEL server.
I noticed the documentation doesn’t cover:
how to create the mongod user/group
how to set up the systemd service file
Could you please guide me on the correct way to handle this?
Also, let me know if there is any documentation that I might have missed which covers these steps.
Additionally, I am not looking to set up a sharded cluster — this is intended to be a 3-node replica set deployment.
b. Keep /etc/mongod.conf file, data directory and log Path with permission of user mongod. To create mongod user (here assuming that /var/lib/mongo is the home directory):