Installing mongodb with apt-get
sudo mkdir -p /etc/apt/sources.list.d/
sudo echo ‘deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen’ >/tmp/mongodb.list
sudo cp /tmp/mongodb.list /etc/apt/sources.list.d/
sudo rm /tmp/mongodb.list
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
sudo apt-get update
sudo apt-get install mongodb-10gen
Written by Franklin Dattein
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
dominikgarber
81.15K
sativaware
80.22K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#