Skip to content

Instantly share code, notes, and snippets.

@abhiesa
Created December 21, 2017 08:46
Show Gist options
  • Select an option

  • Save abhiesa/e039199eeb285402662763e25f4ed20a to your computer and use it in GitHub Desktop.

Select an option

Save abhiesa/e039199eeb285402662763e25f4ed20a to your computer and use it in GitHub Desktop.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo systemctl start mongod
sudo systemctl status mongodb
sudo systemctl enable mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment