MongoDB Latest Version Installation

Source: Internet
Author: User
Tags install mongodb mongodb latest version mongodb version

Reprinted from: http://www.higis.org/2012/04/25/ubuntu-install-mongodb/

Installing MongoDB on Ubuntu can be installed directly via the sudo apt-get install MongoDB, but Ubuntu's source version is much lower than the actual MongoDB version. So it is necessary to get the latest version from MongoDB 10gen to install, the installation process mainly need to add 10gen path to the Apt-get source list and key acquisition. The installation steps are as follows:

1, edit the/etc/apt/sources.list, add the following content:

Deb Http://downloads-distro.mongodb.org/repo/ubuntu-upstart Dist 10gen

2. Generate GPG key. Run the following command:

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

3. Run Apt-get Update, update the source, and then install the latest version of MongoDB.

sudo apt-get updatesudo apt-get install Mongodb-10gen

4, after installation, enter MONGO to see if the service started properly.

This article fixed link: http://www.higis.org/2012/04/25/ubuntu-install-mongodb/| Hi,gis

MongoDB Latest Version Installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.