install latest version mongodb on ubuntu

ubuntu installed on the mongodb this can be installed directly via sudo apt-get install on the mongodb, but the source version of ubuntu is much lower than the actual mongodb version, it is necessary to get the latest version from mongodb the 10gen to install, the installation process need to 10genadd the path to the apt-get source list and key access. The installation steps are as follows:

1、Edit / etc / apt / sources.list, add the following:

deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen

2、Generate a GPG key. Run the following command:

 sudo apt-key adv - keyserver keyserver.ubuntu.com - recv 7F0CEB10 

3、 run apt-get update, update source, and then you can install the latest version of the mongodb.

sudo apt-get update
sudo apt-get install on the mongodb-10gen

4 After installation, enter the mongo to see whether the service to start properly.

本文固定链接: http://www.higis.org/en/2012/04/25/ubuntu-install-mongodb/ | Hi,GIS


该日志由 H.J 于2012年04月25日发表在 WebServer 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: install latest version mongodb on ubuntu | Hi,GIS
关键字: ,

install latest version mongodb on ubuntu:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter