MongoDB学习: 如何安装 MongoDB Server

 时间:2026-02-16 03:24:38

1、下载 MongoDB Server 安装文件, 社区版即可,版本 4.2.2。

MongoDB学习: 如何安装 MongoDB Server

MongoDB学习: 如何安装 MongoDB Server

2、安装 MongoDB Server 和 MongoDB Compass

1. 安装时选择 Customer,可自定义安装目录

2. 勾选 MongoDB Compass,即MongoDB的图形化客户端软件

MongoDB学习: 如何安装 MongoDB Server

MongoDB学习: 如何安装 MongoDB Server

MongoDB学习: 如何安装 MongoDB Server

3、因为默认是以服务形式安装的 MongoDB Server,所以需要重启完成安装,查看服务,确认安装成功。

MongoDB学习: 如何安装 MongoDB Server

4、打开命令行工具,切换到 MongoDB 安装目录下的 bin 子目录中,运行客户端命令 mongo , 默认连接到本地 MongoDB Server, 安装成功。

MongoDB学习: 如何安装 MongoDB Server

  • TortoiseSVN客户端重新设置用户名和密码
  • 修改ORACLE客户端字符集
  • lower_case_table_names 如何修改
  • linux新增账号用于SSH登录访问
  • top命令参数详解
  • 热门搜索
    长兴岛旅游 崇礼旅游 杭州乌镇旅游攻略 上海国际旅游度假区 旅游政策与法规 成都市旅游景点 广东旅游地图 青海省旅游 成都周边旅游景点介绍 私人定制旅游