Installation of Mac under MongoDB Enterprise Edition

Source: Internet
Author: User
Tags mongodb download

1. Visit the MongoDB Download Center, https://www.mongodb.com/download-center#enterprise, select OS X x64 system, click Download, may appear a page let you fill in the contact information and so on

2. After the download is a mongodb-osx-x86_64-enterprise-3.6.2.tgz compressed file, unzip it, and put the extracted folder in the ~/directory

3. Open terminal, enter the command to add the MongoDB shell to the PATH variable

Export path="/users/shiming/mongodb-osx-x86_64-enterprise-3.6.2/bin: $PATH" # Add PATH variable
SOURCE ~/.bash_profile # makes path update effective immediately

4. Verifying the installation

CD mongodb-osx-x86_64-enterprise-3.6. 2/  --nodb # start MONGO db with NODB option,--nodb means not to specify DB address when starting MongoDB

Command line returns the version of the MongoDB shell

MongoDB Shell version v3. 6.2

Installation of Mac under MongoDB Enterprise Edition

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.