Install MongoDB on UbuntuKylin15.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.
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.