Back to Blog
Mongodb with robomongo tutorial6/13/2023 You can use GUI tools like RoboMongo to work with Mongo data.Now, to start the service simply type in the following: This will create a new windows service called MongoDB. Open up a Command Prompt (Run As Administrator) and type in the following (modify if needed for your filepaths):ĭ:\MongoDB\bin\Mongod.exe -config D:\MongoDB\nfig -install You may need to create the “log” folder and put a “mongo.log” file in the that folder for the next line to succeed if it was not created during the installation of MongoDB.Now, install MongoDB as a Windows Service, so it will start every time you start-up Windows and stay running. Copy/paste the configuration into the new “nfig” file and modify to your specific workstation:.This is where we will store the configurations for MongoDB. config file in the “MongoDB” folder and name it “nfig”. These will not be created for you during install so you will need to create them. In the folder “MongoDB” create a folder called “data” and inside that folder, create a folder called “db”.Typically, I put all my projects and websites on a separate non-operating system drive such as a D: drive. Install using the Custom installation so you can change the default location.Download the MongoDB installer here: MongoDB.This post relates to Sitecore versions 7.5 and up. This is just a brief tutorial on the steps needed to set up MongoDB on your as a service, and then validate that it is connected to your local SItecore instance via RoboMongo. If you are doing development work with SItecore 7.5 and beyond, you may want to set up MongoDB to connect to Sitecore locally or on your DEV, QA, STAGING servers.
0 Comments
Read More
Leave a Reply. |