Skip to content

Instantly share code, notes, and snippets.

@ivansaul
Created February 26, 2021 23:01
Show Gist options
  • Save ivansaul/83f00fbb06ebe3a7d18320877c0f1902 to your computer and use it in GitHub Desktop.
Save ivansaul/83f00fbb06ebe3a7d18320877c0f1902 to your computer and use it in GitHub Desktop.
Install Mongodb on windows 7 - 64 bit

Install Mongodb on windows 7 - 64 bit

  1. Firstly you downloaded mongodb 4.2.12 from here
  2. Unzip the folder in your directory example C:\mongodb
  3. Open the command prompt
  4. Go to your folder where the bin is and you write this on your command prompt : cd C:\mongodb\bin
  5. Then you have to specifies the directory where you want to put the data, you can create a folder called : C:\mongodb\data
  6. Whrite on your command prompt: mongod.exe --dbpath C:\mongodb\data
  7. Open new command prompt and write: cd C:\mongodb\bin then mongo.exe

Install Mongodb Compass on windows 7 - 64 bit

  1. Downloaded Mongodb Compass 1.25.0 from here
  2. Unzip the folder in your directory and run MongoDBCompass.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment