Download the MongoDB installer from its website and
follow the installation steps in the wizard.
Choose the Windowsx64 from the platforms dropdown.
https://www.mongodb.com/download-center?jmp=nav#enterprise
Choose the Windowsx64 from the platforms dropdown.
https://www.mongodb.com/download-center?jmp=nav#enterprise
Set Up Mongodb to Run as Windows Service
- Create data folders for mongodb, e.g.:
- Navigate to C:\Program Files\MongoDB\Server\3.2\
- Create file mongod.cfg. File content:
- Open command prompt as administrator
- Run the following command:
- Run command to start service:
Comments
Post a Comment