Skip to content

Instantly share code, notes, and snippets.

@michael-benin-CN
Created July 22, 2014 15:20
Show Gist options
  • Save michael-benin-CN/20e183a4189e3377da13 to your computer and use it in GitHub Desktop.
Save michael-benin-CN/20e183a4189e3377da13 to your computer and use it in GitHub Desktop.
# To just run mongod
sudo mkdir /data
sudo mkdir /data/db
sudo chmod -R 777 /data
mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment