开发者

Is it possible to install mongodb without root privilages?

How can I install mongodb on a Linux server without root privileges? is th开发者_高级运维is possible? What would the steps be? Is there a way to configure mongo to not use /data/db?


You may download the binaries from MongoDB website.

There are a lot of options for the command mongod to change the default behavior, one of these is:

--dbpath arg directory for datafiles

Based on comments:

But it is preferable to specify all configurations in a configuration file and just invoke mongod with:

--config filename

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜