Skip to content

Instantly share code, notes, and snippets.

@evandroamparo
Created September 5, 2017 16:47
Show Gist options
  • Save evandroamparo/51528e396d8615e83b1498be1ea4067c to your computer and use it in GitHub Desktop.
Save evandroamparo/51528e396d8615e83b1498be1ea4067c to your computer and use it in GitHub Desktop.
# Installing
sudo apt-get install -y mongodb-org
# Running
mkdir data
echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod
chmod a+x mongod
./mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment