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