- windows key
- cmd
- ctrl+shift+enter for administrator prompt
- msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-3.6.4-signed.msi INSTALLLOCATION="(drive or install location):\MongoDB\Server\3.6.4\" ADDLOCAL="all"
- the above also installs compass
- add the bin folder location to the path variable
- create \data\db data directory in the drive from which you want to start mongodb
- goto the drive where you have installed mongodb and run the mongodb server as follows:
- mongod
- this server window will be open and wait to listen for the client connection
- now run the mongodb client as mongo on the same drive
- cls clears the screen
- ->
- reference:
- https://docs.mongodb.com/manual/mongo/
- https://docs.mongodb.com/manual/introduction/
- https://docs.mongodb.com/tutorials/install-mongodb-on-windows/
- https://www.mkyong.com/mongodb/how-to-install-mongodb-on-windows/
- its set up failed after it took about around 1 hour.
- useful:
Friday, May 4, 2018
mongodb installation on windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment