Skip to content

Instantly share code, notes, and snippets.

@gianlucacandiotti
Last active February 9, 2017 16:26
Show Gist options
  • Save gianlucacandiotti/61c6314d39d7832cb2acaf343389a039 to your computer and use it in GitHub Desktop.
Save gianlucacandiotti/61c6314d39d7832cb2acaf343389a039 to your computer and use it in GitHub Desktop.
Vagrant shell provisioning - Mongo DB
#!/bin/bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment