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
精彩评论