当前位置:网站首页>《MongoDB入门教程》第02篇 MongoDB安装
《MongoDB入门教程》第02篇 MongoDB安装
2022-06-29 09:33:00 【不剪发的Tony老师】
本篇我们将会学习如何安装 MongoDB 数据库服务器和管理开发工具。
下载 MongoDB 社区版
首先,打开 MongoDB 官方网站中的下载页面。点击“On-Premises”标签:

然后选择 MongDB Community Server。

在页面右侧选择版本、平台和安装包类型,点击“Download”下载安装文件。
安装 MongoDB 社区版
下载完成后双击安装文件,启动安装向导。

点击“Next”按钮:

勾选“I accept the terms in the License Agreement”,点击“Next”按钮:

点击“Complete”按钮安装全部功能。如果想要自定义安装指定的功能,可以选择“Custom”按钮,仅推荐高级用户使用该选项。

保留默认配置,点击“Next”按钮:

去掉“Install MongoDB Compass”复选框,点击“Next”按钮。如果我们选择了该复选框,安装程序会同时下载并安装 MongoDB Compass。我们会在安装 MongoDB 服务器之后单独安装该功能。
MongoDB Compass 是一个官方提供的 GUI 工具,可以用于连接 MongoDB 服务器,执行查询、索引、文档验证等操作。
MongoDB Compass 包含多个版本,社区版可以免费使用。

点击“Install”按钮开始安装。

安装完成之后,点击“Finish”按钮退出。

接下来我们下载并安装 MongoDB Compass。
下载 MongoDB Compass
首先,点击官方网站上的下载页面。

选择 MongoDB Compass 版本之后,点击“Download”按钮下载安装文件。
安装 MongoDB Compass
下载完成后双击安装文件,启动安装向导。安装程序会自动完成安装,然后打开欢迎界面。

关闭欢迎界面,进入连接界面。

如果是连接本地 MongoDB 服务器,直接点击“Connect”按钮即可。

点击左侧的“Databases”节点,可以看到默认创建的三个数据库:admin、config以及local。

至此,我们已经完成了 MongoDB 服务器和 Compass 工具的安装,可以正式开始学习了。
边栏推荐
- MySQL InnoDB data length limit per row
- 给定两个整形变量的值,将两个值的内容进行交换 (C语言)
- F5 big IP Icontrol rest command execution (cve-2022-1388)
- 在实践中学习Spark计算框架(00)
- BUUCTF--内涵的软件
- 2019.11.20 training summary
- Excel日期及数字格式处理
- 打印1000~2000年之间的闰年(C语言)
- 1098 insertion or heap sort (25 points)
- Win32exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator.
猜你喜欢

如何快速完成磁盤分區

SQL Server 数据库的几种简单查询

Downloading and installing VMware (basic idea + detailed process)

BUUCTF--reverse2

Web vulnerability manual detection and analysis

产品力不输比亚迪,吉利帝豪L雷神Hi·X首月交付1万台

智能组卷系统设计

October 17, 2020: question brushing 1

工具箱之 IKVM.NET 项目新进展

CLR via C reading notes - single instance application
随机推荐
IO流总结
在VMware workstation中安装WMware ESXi 6.5.0并进行配置
View CSDN blog rankings
Linux下Redis安装及集群搭建
std::make_shared<T>/std::make_unique<T>与std::shared_ptr<T>/std::unique_ptr<T>的区别与联系
SQL Server 数据库的几种简单查询
全面理解MESI缓存一致性协议
std::make_ shared<T>/std::make_ Unique < T> and std:: shared_ ptr<T>/std::unique_ The difference and relation between PTR < t >
BUUCTF--reverse2
CLR via C reading notes - loading and AppDomain
I would like to know how to open an account for free online stock registration? In addition, is it safe to open a mobile account?
Hystrix fuse: Service fusing and service degradation
Beautiful ruins around Kiev -- a safe guide to Chernobyl!
MySQL中update一条record的过程
C#中Linq常用用法
智能组卷系统设计
Virtual machine port scanning
js post下载文件
2019.11.20 training summary
Automatic 3D Detection and Segmentation of Head and Neck Cancer from MRI Data.