Created
June 11, 2016 07:24
-
-
Save RoesWibowo/4d35e6f9dd6023a184a7916b60c350fa to your computer and use it in GitHub Desktop.
MongoDB Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongod -f "D:\Playground\mongodb\server.conf" | |
--install --serviceName mdb27017 | |
--serviceDisplayName "MongoDB Server Instance 27017" | |
--serviceDescription "MongoDB Server Instance running on 27017" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongod -f "D:\Playground\mongodb\server.conf" | |
--remove --serviceName mdb27017 | |
--serviceDisplayName "MongoDB Server Instance 27017" | |
--serviceDescription "MongoDB Server Instance running on 27017" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbpath = D:\Playground\mongodb\data | |
logpath = D:\Playground\mongodb\mongo.log | |
port = 27017 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongod -f "D:\Playground\mongodb\server.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment