Created
May 24, 2014 09:11
-
-
Save vmeln/d0814e71e13b3dbe5974 to your computer and use it in GitHub Desktop.
Installer of MongoDB service
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
cd "C:\Program Files\MongoDB 2.6 Standard" | |
md data\db | |
md log | |
echo "" > log\mongod.log | |
bin\mongod --logappend --logpath="C:\Program Files\MongoDB 2.6 Standard\log\mongod.log" --dbpath="C:\Program Files\MongoDB 2.6 Standard\data\db" --directoryperdb --install | |
net start MongoDB | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment