Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Installing MongoDB

Nathan Easton edited this page Nov 1, 2016 · 5 revisions

MongoDB Install Overview

  • Download the appropriate installer / package
  • Run the installer or unzip the package
  • Create the data folder
  • Execute the mongod

Windows Steps

Note: MongoDB 2.6 doesn't support WindowsXP. BitCannon requires MongoDB 2.6. There is no way around this.

  • Download the Windows installer from the MongoDB downloads page
  • Run the installer and use the default settings
  • Create the C:\data\db folder
  • Double click on C:\Program Files\MongoDB\bin\mongod.exe

You may verify that MongoDB is running by opening C:\Program Files\MongoDB\bin\mongo.exe. If everything is functioning, it won't report any errors and it will display a prompt.

Mac Steps

  • Install Homebrew
  • Install MongoDB using homebrew; brew install mongodb

You may verify that MongoDB is running by opening bin/mongo. If everything is functioning, it won't report any errors and it will display a prompt.

Linux Steps

  • Use your distro's package manager to install MongoDB (Use at least v3.0)
  • Use your distro's service manager to start the MongoDB service
Clone this wiki locally