Skip to content

Instantly share code, notes, and snippets.

@sunsgs
sunsgs / mongo-install-ubuntu-14.10.sh
Created January 24, 2017 14:47 — forked from javierfdezg/mongo-install-ubuntu-14.10.sh
Installing mongodb in Ubuntu 14.10
# Setting up the repo
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.list
# Updating and installing
sudo apt-get update
# WARNING: check out the -y here...
sudo apt-get install -y mongodb-org
# For a specific version, use this command