Nodejs MongoDB installation [Windows platform]

Source: Internet
Author: User
  1. Download MongoDB, this is for download MSI file installation,
  2. After the download is complete, double-click the file installation, install the installation path
  3. Create an empty folder to hold the database files
  4. Go to the Bin directory in the installation directory via the console, or hold down the SHIFT key in the bin directory and click the right mouse button and select "Open Command Window Here"
  5. Execute command
    Mongod.exe--dbpath D:\iwork\www\study\nodejs\project\db

    Indicates that the MongoDB command ran successfully

  6. Where 27017 indicates the listening port, the browser can directly access the http://localhost:27017/, indicating that MongoDB successfully ran



Nodejs MongoDB installation [Windows platform]

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.