Skip to content

Instantly share code, notes, and snippets.

@basir
Last active November 11, 2017 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basir/a812d6870c12d8bd2d53981bbeeefa7c to your computer and use it in GitHub Desktop.
Save basir/a812d6870c12d8bd2d53981bbeeefa7c to your computer and use it in GitHub Desktop.
  1. Run Powershell
  2. Install scoop
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
  1. Install curl, git and openssh
scoop install curl
scoop install git
scoop install openssh
  1. Make PS beautifull and smarter
scoop install concfg
concfg import solarized small
scoop install pshazz
  1. Install MongoDB
$ scoop install mongodb
$ mkdir c:\data\db
$ mkdir c:\data\log
$ touch C:\Users\basir\scoop\apps\mongodb\mongod.cfg
edit mongod.cfg
systemLog:
    destination: file
    path: c:\data\log\mongod.log
storage:
    dbPath: c:\data\db
$ mongod --config C:\Users\basir\scoop\apps\mongodb\mongod.cfg --install
$ net start MongoDB

Remove Mongo Windows Service:

mongod --remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment