Is it possible to install mongodb without root privileges?

How to install mongodb on a Linux server without root privileges? Is it possible? What will be the steps? Is there a way to configure mongo to use / data / db?

+6
source share
1 answer

You can download binaries from the MongoDB website.

There are many variations of the mongod command to change the default behavior, one of which is:

- dbpath arg directory for data files

Based on the comments:

But it is advisable to specify all the configurations in the configuration file and simply call mongod with:

- configuration file name

+6
source

Source: https://habr.com/ru/post/894575/


All Articles