Created
May 29, 2015 04:29
-
-
Save svs14/e8b11270a12ce9f04e66 to your computer and use it in GitHub Desktop.
Installs Mongo on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs Mongo on Ubuntu 14.04 | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.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