- Download the latest version of MongoDB from the downloads page (3.2 at time of writing)
- Run the MSI installer package
- Accept the license agreement
- Select the complete installation (this will install MongoDb at C:\Program Files\MongoDB - custom will allow you to select a location)
- Click install
- Now to run MongoDB as a service, open the command prompt (in administrator mode)
- Run the command cd C:\Program Files\MongoDB\Server\3.2\bin to point the command prompt to the correct location
- Create the following directories:
- C:\Mongo\db
- C:\Mongo\logs
- Run the command mongod --dbpath="C:\Mongo\db" --logpath="C:\Mongo\logs\log.txt" --install to install the database
- Run the command net start MongoDB to start running MongoDB
Software development blog focusing on the Sitecore Experience Platform and Sitecore Experience Commerce.
Tuesday, April 19, 2016
Installing MongoDB on a Windows machine as a service
The great experience analytics features (including the experience profile) in Sitecore 8 and beyond require the use of MongoDB. MongoDB is not like common database management servers (such as SQL Server or Oracle) whom use tables and rows, MongoDB instead stores data dynamically in the JSON format.
The instructions to install MongoDB on your windows machine (as a service) are as follows.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment