Ubuntu 15.04 Installation MongoDB 3.x

Source: Internet
Author: User
Tags install mongodb mongodb documentation

Not in the official MongoDB documentation, but is actually feasible and requires the following steps

1. Install key

Apt-key adv--keyserver hkp://keyserver.ubuntu.com:80--recv 7F0CEB10


2. Add a source

echo "Deb Http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee/etc/apt/sources.list.d/mongodb-org-3.0.list


3. Update the source

Apt-get Update

4. Installing MongoDB

Apt-get Install mongodb-org

5. Check the status

# systemctl Status Mongod mongod.service-lsb:an object/document-oriented database   loaded:loaded (/etc/init.d/mon God)   active:active (running) since six 2015-10-03 11:35:34 CST; 2min 8s ago     docs:man:systemd-sysv-generator (8) 
   cgroup:/system.slice/mongod.service           └─3365/usr/bin/mongod--config/etc/mongod.conf10 Month 03 11:35:33 dean-aspire-s3-391 systemd[1]: Starting Lsb:an object/document-oriented Database ... October 11:35:33 dean-aspire-s3-391 mongod[3358]: * Starting database MONGOD10 monthly 11:35:34 dean-aspire-s3-391 mongod[3358] : ... done.10 month 11:35:34 dean-aspire-s3-391 systemd[1]: Started lsb:an object/document-oriented database.

The installation was successful.


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

Ubuntu 15.04 Installation MongoDB 3.x

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.