1.mongodb Download from the official website :http://www.mongodb.org/downloads

2. Will download mongodb Extract the compressed package to the corresponding folder , My is :D:\pc\mongodb, Please note that , my bin Directory is :D:\pc\mongodb\bin, Pay attention to your bin Is the directory the same as mine

3. Open... With administrator privileges cmd, Enter into mongodb Installation folder ,cd D:\pc\mongodb\bin

4. Create a directory to save MongoDB Log file :mkdir D:\pc\mongodb\log, Then add the configuration :echo logpath=D:\pc\mongodb\log\mongo.log > D:\pc\mongodb\mongod.cfg

5. Create a directory of database and log files :mkdir D:\pc\mongodb\data\db, Then add the configuration :mongod --config D:\pc\mongodb\mongod.cfg --dbpath D:\pc\mongodb\data\db\ --install

6. install mongodb service :mongod.exe --config D:\pc\mongodb\mongod.cfg --install

7. function mongodb:net start mongodb( The stop command is :net stop mongodb or ctrl + c)

8. Connect mongo:mongo

windows install mongodb More articles about

  1. windows install mongodb

    windows install mongodb download First, download the appropriate installation package from the official website , Download at https://www.mongodb.com/download-center MongoDB for Window ...

  2. windows install MongoDB The progress bar is stuck ,window install mongo System error 2, System error 5 Solutions for ( Reprint )

    windows install MongoDB The progress bar is stuck ,window install mongo System error 2, System error 5 Solutions for from :https://www.cnblogs.com/sufferingStriver/p/m ...

  3. Windows install MongoDB service

    First step Open the command prompt with administrator privileges Press Windows+R key (Ctrl and Alt The one in the middle , With Microsoft Logo Key ), Input cmd Open Command Prompt The second step Create database directory . Use mkdir command , Create a database directory and ...

  4. Windows install MongoDB 4.0 And give users access

    The first part  Windows install MongoDB-4.0 First step : download MongoDB:https://www.mongodb.com/download-center?jmp=nav#community My eyes ...

  5. Windows install MongoDB

    One . brief introduction MongoDB It's a distributed based File storage NoSQL database from C++ Language writing , Stable operation , High performance For the purpose of WEB Applications provide scalable, high-performance data storage solutions Check out the official website MongoDB characteristic model ...

  6. MongoDB Quick start learning notes 1 windows install MongoDB

    1. install MongoDB from MongoDB Download on the official website MongoDB, The version I downloaded is 64 Bit 3.2.6. After downloading, install it directly , My installation directory is D:\work\MongoDB. 2. To configure MongoDB Environment variables of ...

  7. windows install mongodb Service concise edition tutorial

    According to the online installation tutorial , A brief summary is as follows : 1. Go to mongodb Download the software of the corresponding version of the computer system from the official website , Let's say mine is windows 64 Bit , Just choose 64 Bit , Maybe after downloading it, the folder will show win32, Don't worry about this : ...

  8. Windows install MongoDB And turn on Authentication

    download You can go to the official website to find the version you need ,Windows Every part of the system 64 Bit version download address : http://dl.mongodb.org/dl/win32/x86_64 install Normal software installation process , I won't go into details here . with ...

  9. Windows install MongoDB .zip The green version

    Link to this article :https://blog.csdn.net/HTouying/article/details/88428452 MongoDB Download link on official website :https://www.mongodb.com/d ...

Random recommendation

  1. 【 turn 】 see java From which package is the class loaded

    Java Our class loader uses the priority policy , When loading a class, you can load which class you find first . Sometimes we make a system , When the class library is huge , Classes may conflict , That is, there are two identical classes with different versions in the classpath , This often brings a lot of trouble to debugging ...

  2. linux Command syntax format

    One . The general format of the command command [option]... [argument]... command [options] [arguments] Specify : 1.command: Represents the name of the command , Such as ...

  3. T-SQL The cursor

    Cursors are line oriented , It makes developers lazy , I'm too lazy to think about using collection oriented query to realize some functions . In performance , The cursor will delay more memory , Reduce available concurrency , bandwidth , Lock resources , Of course, there's more code . Use a metaphor to explain why cursors occupy ...

  4. windows10 install mysql-8.0.13(zip install )

    Installation environment instructions System version :windows10 mysql edition :mysql-8.0.13-winx64.zip Download address :http://mirrors.163.com/mysql/Downloads/My ...

  5. OracleSql Sentence learning ( One )

    --SQL The statement itself is case insensitive , Each keyword is separated by a space , To increase readability , Exit all keywords -- All capitals , All non keywords are lowercase SELECT SYSDATE FROM dual-- Create table CREATE TABLE ...

  6. ***PHP be based on H5 Wechat payment development details (CI frame )

    To sum up, when users open a web page in wechat , Wechat payment can be called to complete the module development of ordering function , It's in wechat H5 Page passing jsApi The interface realizes the payment function . Yes, of course , The wechat payment development document on the official wechat website is also very detailed , And there is implementation code to ...

  7. reveal QQ Security password The principle of frame

    This article is also a collection of flowers in the morning and evening . In fact, the principle that was known very early , Now take it out and share it with you . There's always a reason for a story . So the reason for this story is , When I once wrote a get other process password box password When ( A few years ago ...

  8. linux build redis

    Looking for a lot of tutorials, there is always one for me http://www.cnblogs.com/_popc/p/3684835.html Of course, my catalog is /opt/redis   The contents of the article are /usr/local/redi ...

  9. Flask From beginner to proficient user defined error interface

    If you enter an unavailable route in the browser's address bar , Then a status code will be displayed as 404 The error page of . Now this error page is too simple . mediocre , And the style and use of Bootstrap The pages of are inconsistent . Like regular routing ,Flask allow ...

  10. Newtonsoft.Json[C#]

    C# Newtonsoft.Json JsonSerializerSettings Configure serialization operations https://blog.csdn.net/u011127019/article/details/72 ...