Efter installation af MongoDB skal du manuelt oprette en datamappe.
By default MongoDB will store data in /data/db, but it won't automatically create that directory. To create it, do: $ sudo mkdir -p /data/db/ $ sudo chown `id -u` /data/db You can also tell MongoDB to use a different data directory, with the --dbpath option.
For mere detaljeret information gå til MongoDB wiki-side.