Skip to content

Instantly share code, notes, and snippets.

View jormenes's full-sized avatar

Jorge M jormenes

View GitHub Profile
@jormenes
jormenes / MongoDB_macOS_Sierra.md
Created March 13, 2017 15:18 — forked from nrollr/MongoDB_macOS_Sierra.md
Install MongoDB on Sierra using Homebrew

##Install MongoDB on macOS Sierra

This procedure explains how to install MongoDB using Homebrew on macOS Sierra 10.12.
Official MongoDB install documentation: here

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Vagrant Cheat Sheet
Essential Commands
vagrant up - Starts your virtual machine.
vagrant status - Tells you if your virtual machine is running.
vagrant suspend - Saves the state of your virtual machine. (Similar to putting it to sleep.)
vagrant resume - Restores a suspended virtual machine. (Similar to waking it up from sleep.)
After your first vagrant up, a suspend/resume operation only takes a few seconds.
Destroying your virtual machine means that you'll need to wait through the ~20 minute boostrap process the next time that you vagrant up.