Install MongoDB and kylin15.05mongodb on Ubuntu Kylin15.05

Source: Internet
Author: User
Tags install mongodb

Install MongoDB and kylin15.05mongodb on Ubuntu Kylin15.05
Install MongoDB on Ubuntu Kylin15.05

MongoDB is a typical NoSQL, but it is also said that many people are using it. So I tried to install the database on Ubuntu Kylin.

First, go to its official website. Link address: https://www.mongodb.org, the interface looks very good, but also very convenient, very soon can find. I read the official website and said that it would be more convenient to use the Ubuntu LTS version, but I didn't have a good choice. I installed the Ubuntu Kylin system, so I cannot simply use apt for installation. Fortunately, the MongoDB official website has a simple tutorial, such as step 1234, which is of great help to our friends who do not know much about it.

Jiang caiyang's original article, first published at: http://blog.csdn.net/gamesdev/article/details/46770773. Welcome to the discussion.

 

1. Import the public key to ensure the system (Ubuntu is usually apt.

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. Reload the local package Database

Sudo apt-get update

 

4. You can install the latest MongoDB library.

Sudo apt-get install-y mongodb-org

If the mongodb-org prompt does not find this package, remove the-org suffix and change it to sudo apt-get install-y mongodb.

 

Wait a moment and MongoDB will be installed.

 

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.