Ubuntu 14.04 安装Mongo 2.6记录

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update

sudo apt-get install mongodb-org
#如果上一步安装mongodb-org提示失败,尝试:
sudo apt-get install mongodb

Leave a Reply