当前位置:网站首页>MongoDB安装
MongoDB安装
2022-06-11 06:23:00 【Saucey_6】
安装步骤(至于成不成功得看造化)
传送门其实此参考源写的很清楚,大家也可以参考。
- 下载:https://www.mongodb.com/download-center#community (选择对应版本下载,不用注册,下载后为.msi文件,双击该文件,按操作提示安装)
注意:选择Custom,后面的安装最好记住安装地址,因为后面的配置都是基于地址的。- 创建数据目录(数据目录放在根目录下面,也就是说和你的mongodb安装地址同级。)
注:mkdir data ——>cd data ——> mkdir db 和 mkdir log- 命令行下运行MongoDB 服务:
- 连接成功
- 配置MongoDB服务
注:管理员模式打开命令行窗口,创建配置文件C:\Program Files\MongoDB\Server\4.0\mongod.cfg。指定systemlog.path和storage.dbPath。- 安装mongodb服务。
- 接下来就是启动MongoDB服务
**安装地址很重要,**配置MOngoDB服务是为了更快的启动服务器,所以命令行下运行MongoDB服务器和配置MongoDB服务任选一个方式启动就ok.(也就是说以上步骤,你执行到4就已经可以成功连接。)
MongoDB后台管理shell.(我启动了一次之后就一直是拒绝访问。(微笑脸))
mongodb可视化工具:

很好玩!!!
边栏推荐
- FPGA面试题目笔记(二)——同步异步D触发器、静动态时序分析、分频设计、Retiming
- Handwriting promise [02] - asynchronous logic implementation
- FIFO最小深度计算的题目合集
- 修复鼠标右键没有vscode快捷入口的问题
- [must see for game development] 3-step configuration p4ignore + wonderful Q & A analysis (reprinted from user articles)
- Super explanation
- Excellent practice | how to avoid a bloody case caused by a line of wrong code?
- MMEditing中超分模型训练与测试
- All the benefits of ci/cd, but greener
- What is a planning BOM?
猜你喜欢

Servlet

CCS安装编译器的方法

Sqli-libs range 23-24 filtration and secondary injection practice

JIRA software annual summary: release of 12 important functions

Make a small game with R language and only basic package

不同VLAN间的通信

Convert text label of dataset to digital label

What is a planning BOM?

jenkins-用户权限管理

Verilog realizes binocular camera image data acquisition and Modelsim simulation, and finally matlab performs image display
随机推荐
Wechat applet (authorized login of TP5)
Review XML and JSON
通过两种方式手写一个消息队列
Metasploitabile2 target learning
Which company is better in JIRA organizational structure management?
FPGA设计——乒乓操作实现与modelsim仿真
Print sparse arrays and restore
MySQL implements over partition by (sorting the data in the group after grouping)
Simple understanding of XML and JSON
jenkins-用户权限管理
Chapter 4 of machine learning [series] naive Bayesian model
Review Servlet
Learn a trick to use MySQL functions to realize data desensitization
EasyGBS接入的设备视频直播突然全部无法播放是为什么?数据库读写不够
Sign for this "plug-in" before returning home for the new year
Shandong University machine learning experiment VI k-means
FPGA面试题目笔记(二)——同步异步D触发器、静动态时序分析、分频设计、Retiming
call和apply和bind的区别
Servlet
[reading this article is enough!!! Easy to understand] confidence level understanding (95% confidence level and confidence interval)




