Getting started with mongo db on windows

14
Getting Started with MongoDB on Windows MongoDB 3.0.2 Windows 7 Enterprise

Transcript of Getting started with mongo db on windows

Getting Started with MongoDB on Windows

MongoDB 3.0.2Windows 7 Enterprise

Download

Install (1)

Install (2)

Install (3)

Alternatively, install into

C:\mongodb

Click on Custom and change the directory

Install (4)

Install (5)

Put the mongo bin in the Path (1)

Right-click on Computer and select “Properties”

Put the mongo bin in the Path(2)

Put the mongo bin in the Path(3)

Put the mongo bin in the Path(4)

Append

C:\mongodb\bin

To the end of the “Variable value”

Click ‘OK’

Set up the MongoDB environment

Create the db directorymd \data\db

Test if its working

Open 2 command prompts.Run “mongod” in one thenRun “mongo” in the other

Done!