{"id":18412085,"url":"https://github.com/elliotxx/my-mongodb","last_synced_at":"2026-01-29T03:09:40.754Z","repository":{"id":86319235,"uuid":"95961588","full_name":"elliotxx/my-mongodb","owner":"elliotxx","description":"一个 mongodb 3.4.5 集成包（开箱即用，自动部署）","archived":false,"fork":false,"pushed_at":"2019-11-11T08:03:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T05:41:24.014Z","etag":null,"topics":["mongod","windows-mongodb"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elliotxx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-01T11:59:36.000Z","updated_at":"2019-11-15T03:10:33.000Z","dependencies_parsed_at":"2023-07-07T06:45:48.435Z","dependency_job_id":null,"html_url":"https://github.com/elliotxx/my-mongodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fmy-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fmy-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fmy-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fmy-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliotxx","download_url":"https://codeload.github.com/elliotxx/my-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647260,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mongod","windows-mongodb"],"created_at":"2024-11-06T03:39:39.334Z","updated_at":"2026-01-29T03:09:35.731Z","avatar_url":"https://github.com/elliotxx.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Windows mongodb 3.4.5 x64 集成包（几乎解压即用）\n\n### 前言\n创建该项目的目的是方便使用 windows 下的 mongodb，官方下载下来的安装包装好之后，只有 bin 目录是有用的，其实 mongodb 也就是这些命令的集合。\n\n通常使用 mongodb 的步骤是：\n\n1. 手动创建一些目录，比如 存放数据的 data 目录、存放日志文件的 log 目录、存放配置文件的 conf 目录\n2. 创建配置文件，填写配置，指定端口号，data、log目录位置\n3. 用 mongod.exe 命令启动配置文件\n\n本项目帮助你自动完成以上步骤，你只需要下载一个安装包 + 启动 **install-mongod.bat** 脚本。\n\n### 特性\n1. bin、data、dblogs、conf 文件夹均已创建好\n2. 自动添加 **path** 环境变量\n3. 自动创建 **mongod.conf** 配置文件\n4. 自动创建 **start-mongod.bat** 启动文件 **\\bin\\start-mongod.bat** 启动脚本  \n5. 运行脚本 **install-mongod.bat** 即可开始使用 mongodb\n\n### 安装方法\n1. 把项目 clone 到本地\n```\ngit clone https://github.com/windcode/my-mongodb.git\n```\n2. 下载 mongodb windows 版本，将安装后的 **bin 目录中的所有文件** 复制到本项目的 **bin** 目录下\n3. 双击项目目录下 **install-mongod.bat** 进行安装\n4. 注销或者重启计算机，使配置生效\n\n### 安装包下载地址\n本项目使用 **mongodb-win32-x86_64-2008plus-ssl-3.4.5-signed** 测试通过：\n\n下载地址：\n\nhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.5-signed.msi\n\n### 测试使用\n1. 打开 cmd 命令提示符\n2. 运行命令 **start-mongod.bat**，启动服务\n3. 重新打开一个命令提示符，运行命令 **mongo**，进入 mongodb 控制台说明安装成功 \n\n### 注意\n\n1. 只适用于 windows 64 位\n2. 四个文件夹下的 .gitkeep 文件可以删掉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotxx%2Fmy-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotxx%2Fmy-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotxx%2Fmy-mongodb/lists"}