MongoDB Environment Installation

Source: Internet
Author: User
Tags robomongo

Win7 64-bit installation Mongodb-win32-x86_64-enterprise-windows-64-3.4.4-signed.msi

MongoDB for non-relational data storage

First, login https://www.mongodb.com/, register, download

Second, installation

Next,complete mode installation.

Third, the configuration

Enter directory C:\Program files\mongodb\server\3.4, create \data\db directory

Go to the Bin directory, hold down SHIFT + right-click, pop "open command Window here (W)", open cmd and enter the following directory:

C:\Program files\mongodb\server\3.4\bin>

In the CMD Properties option, tick "quick edit mode" for quick paste.

Input Mongod--dbpath "C:\Program files\mongodb\server\3.4\data\db", enter Mongod--dbpath C:\Program files\mongodb\server\ 3.4\data\db is an error.

Verify that the MONGDB is installed successfully, enter in the browser: localhost:27017, the following display indicates that the installation was successful.

Some files were generated in the DB directory

Create the logs directory under the data directory and create the Mongo.log file inside.

cmd command line prompt runs as administrator, enters the bin directory, runs Mongod--bind_ip 0.0.0.0--logpath "C:\Program files\mongodb\server\3.4\data\logs\ Mongo.log "--logappend--dbpath" C:\Program files\mongodb\server\3.4\data\db "--port 27017--servicename" MongoDB "-- Servicedisplayname "MongoDB"--install

0.0.0.0: All IPs can be accessed

--logappend: Append mode

--servicename: The service name is MongoDB

Start MongoDB in Computer Management--services

Visual management of MongoDB

Installing Robomongo-1.0.0-windows-x86_64-89f24ea.exe

Download to https://robomongo.org/

MongoDB Environment Installation

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.