- Create a new directory
to store the mongo binary files. For example, c:\mongo.
Note: It
is recommended that you put the mongoDB directories outside of the
iSM installation directories. If you need to reinstall iSM, the
directories will not be erased.
- Extract the downloaded
mongoDB ZIP file to the c:\mongo directory.
- Create a new directory
to store the mongoDB data. For example, c:\mongo\data\db.
- As an administrator,
open a command prompt, and navigate to the c:\mongo\mongodb-architecture_version\bin
directory.
- At the administrator
command prompt, type the following command:
mongod –-install --dbpath c:\mongo\data\db –logpath c:\mongo\log.txt
- Start the mongo service,
and verify that it is set to autostart.
Note: You can start
the mongo service from the command line, which is useful for debugging
purposes. Type the following at the command prompt:
mongod --dbpath c:\mongo\data\db