
Let’s go and create the folder structure in C drive.Ī question arises here: "Is it mandatory to create the data\db directories inside C?" Nooo, not really. We have to create the data\db folders in the C drive of our BOX in which we are installing mongo.

The next question is where to create these folders?

So we have to create these data\db folders. And, inside the data folder, a folder called db. The second one is the exception asking us to create a folder called data. Execute this from the bin folder of mongo.Īgain a wonderfully formatted exception J we got right? Did you notice what I have highlighted on top? Yeah it is the mongod command. We have to start the mongo db by using the command mongod. I got it! Like all other DBs - we have to start the DB engine before we use it. Right, then how come it connected to a server in between? Silly Machine …Jz. Why did the exception happen? I have no idea. That was an awesome exception J LOL … What is that? Type mongo.exe (which is the command used to start mongo Db Power shell). Open up a command prompt, then navigate to bin in the mongo folder In the snap shot below, you can see that I have navigated to the bin folder inside the Mongo folder. Alright then where are you planning to paste the mongo files? In C: or in your Desktop itself?.I am going to copy the extracted files to my D drive, since I don’t have many files there.Copy the files into a desired location in your machine.

It was a zipped file called mongodb-win32-i386-2.4.4.zip (The name of the folder will change according to the version you download, here I got version 2.4.4). I am using a windows 7 32 bit machine - that’s why I downloaded the package marked in red.Ĭlick download (It only takes a few seconds). That's it! So simple, right? Ok let’s start Extract it and copy the files into your desired location.

Technically, it’s not an installation it’s just Downloading… Are you ready for the installation … and use …
