Setelah menginstal MongoDB, Anda harus membuat folder data secara manual.
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.
Untuk informasi lebih detail, buka halaman wiki MongoDB.