Installing MongoDB on Ubuntu Kylin15.05

Source: Internet
Author: User

installing MongoDB on Ubuntu Kylin15.05

MongoDB is a typical nosql, but it is said to be used by many people. So I tried to install this database on Ubuntu Kylin.

First go to its official website to see it. Link address: https://www.mongodb.org, the interface did a very good look, but also very convenient, soon can be found. Look at the official website, saying that using the LTS version of Ubuntu will be more convenient, but I did not choose to install the Ubuntu Kylin system, so it is not easy to use apt to install. Fortunately, MongoDB official has a simple tutorial, 1234 Such steps, for we do not know a lot of friends brought great help.

Saiyang original article, starting address: http://blog.csdn.net/gamesdev/article/details/46770773. Welcome to come to discuss the peer.

1, to ensure that the system (Ubuntu is usually apt) the import public key.

sudo apt-key adv--keyserverhkp://keyserver.ubuntu.com:80--recv 7F0CEB10

2. Create a list file for MongoDB

echo "Deb Http://repo.mongodb.org/apt/ubuntu" $ (LSB_RELEASE-SC) "/mongodb-org/3.0 Multiverse" | sudo tee/etc/apt/sources.list.d/mongodb-org-3.0.list

3. Re-loading the local package database

sudo apt-get update

4. Next, you can install the latest version of the MongoDB library.

sudo apt-get install-y mongodb-org

If the mongodb-org hint does not find this package, then you need to remove the-org suffix, become sudo apt-get install-y MongoDB.

Wait a moment, and MongoDB will be ready to install.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Installing MongoDB on Ubuntu Kylin15.05

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.