Skip to content

Instantly share code, notes, and snippets.

@rroman81
Last active September 15, 2017 04:30
Show Gist options
  • Select an option

  • Save rroman81/f2a6b8e21b271b8dd11e1451a80c85e6 to your computer and use it in GitHub Desktop.

Select an option

Save rroman81/f2a6b8e21b271b8dd11e1451a80c85e6 to your computer and use it in GitHub Desktop.

Revisions

  1. rroman81 revised this gist Sep 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sitecore-dev
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # install mongodb as a service
    cinst mongodb -n
    choco install mongodb -n --version=3.2
    mkdir c:\data\db
    mkdir c:\data\log
    'systemLog:' > c:\data\mongod.cfg
  2. rroman81 revised this gist Apr 7, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sitecore-dev
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # install mongodb as a service
    cinst mongodb
    cinst mongodb -n
    mkdir c:\data\db
    mkdir c:\data\log
    'systemLog:' > c:\data\mongod.cfg
  3. rroman81 revised this gist Dec 20, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions sitecore-dev
    Original 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
    &"C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --config "c:\data\mongod.cfg" --install
    start-service "MongoDB"
  4. rroman81 revised this gist Dec 20, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions sitecore-dev
    Original 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
  5. rroman81 created this gist Dec 20, 2016.
    9 changes: 9 additions & 0 deletions sitecore-dev
    Original 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