Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install mogoDB under Windows

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Download the mongoDB installation file of windows version [download address] (https://www.mongodb.com/download-center/community)2, install mogoDB2.1, and unzip it here to D:\ tools\ mongoDB

2.2.Configuring environment variable setx PATH=%PATH% D:\ tools\ mongoDB\ mongodb\ bin2.3, create database directory D:\ tools\ mongoDB\ datamongod-- dbpath D:\ tools\ mongoDB\ data\ db Note:-- dbpath is the specified database directory There are two "-" or set the default database directory: mongod-- dbpath "D:\ tools\ mongoDB\ data\ db"-- logpath "D:\ tools\ mongoDB\ data\ log\ MongoDB.log"-- install-- serviceName "MongoDB" where MongoDB.log is the initial log file (which needs to be created in advance), and the serviceName "MongoDB" service is called MongoDB. In this way, the service of MongoDB is successfully established under Windows. 3. Install the visualization tool Robomongo [download address] (https://robomongo.org/))

4. The following instructions indicate that the access starts normally.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report