Last active
September 15, 2017 04:30
-
-
Save rroman81/f2a6b8e21b271b8dd11e1451a80c85e6 to your computer and use it in GitHub Desktop.
Revisions
-
rroman81 revised this gist
Sep 15, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # install mongodb as a service choco install mongodb -n --version=3.2 mkdir c:\data\db mkdir c:\data\log 'systemLog:' > c:\data\mongod.cfg -
rroman81 revised this gist
Apr 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # install mongodb as a service cinst mongodb -n mkdir c:\data\db mkdir c:\data\log 'systemLog:' > c:\data\mongod.cfg -
rroman81 revised this gist
Dec 20, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,5 +7,5 @@ mkdir c:\data\log ' path: c:\data\log\mongod.log' >> c:\data\mongod.cfg 'storage:' >> c:\data\mongod.cfg ' dbPath: c:\data\db' >> c:\data\mongod.cfg &"C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --config "c:\data\mongod.cfg" --install start-service "MongoDB" -
rroman81 revised this gist
Dec 20, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,3 +7,5 @@ mkdir c:\data\log ' path: c:\data\log\mongod.log' >> c:\data\mongod.cfg 'storage:' >> c:\data\mongod.cfg ' dbPath: c:\data\db' >> c:\data\mongod.cfg "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --config "c:\data\mongod.cfg" --install -
rroman81 created this gist
Dec 20, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # install mongodb as a service cinst mongodb mkdir c:\data\db mkdir c:\data\log 'systemLog:' > c:\data\mongod.cfg ' destination: file' >> c:\data\mongod.cfg ' path: c:\data\log\mongod.log' >> c:\data\mongod.cfg 'storage:' >> c:\data\mongod.cfg ' dbPath: c:\data\db' >> c:\data\mongod.cfg