mongodb-win32-x86_64-2008plus-3.4.24-signed.msi
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\Administrator>cd C:\MongoDB\Server\3.4\binC:\MongoDB\Server\3.4\bin>C:\MongoDB\Server\3.4\bin>mongod --help
Options:General options:-h [ --help ] show this usage information--version show version information-f [ --config ] arg configuration file specifyingadditional options-v [ --verbose ] [=arg(=v)] be more verbose (include multiple timesfor more verbosity e.g. -vvvvv)--quiet quieter output--port arg specify port number - 27017 by default--bind_ip arg comma separated list of ip addresses tolisten on - all local ips by default--ipv6 enable IPv6 support (disabled bydefault)--maxConns arg max number of simultaneous connections- 1000000 by default--logpath arg log file to send write to instead ofstdout - has to be a file, notdirectory--logappend append to logpath instead ofover-writing--logRotate arg set the log rotation behavior(rename|reopen)--timeStampFormat arg Desired format for timestamps in logmessages. One of ctime, iso8601-utc oriso8601-local--pidfilepath arg full path to pidfile (if not set, nopidfile is created)--keyFile arg private key for cluster authentication--noauth run without security--setParameter arg Set a configurable parameter--httpinterface enable http interface--transitionToAuth For rolling access control upgrade.Attempt to authenticate over outgoingconnections and proceed regardless ofsuccess. Accept incoming connectionswith or without authentication.--clusterAuthMode arg Authentication mode used for clusterauthentication. Alternatives are(keyFile|sendKeyFile|sendX509|x509)--networkMessageCompressors arg Comma-separated list of compressors touse for network messages--auth run with security--jsonp allow JSONP access via http (hassecurity implications)--rest turn on simple rest api--slowms arg (=100) value of slow for profile and consolelog--profile arg 0=off 1=slow, 2=all--cpu periodically show cpu and iowaitutilization--sysinfo print some diagnostic systeminformation--noIndexBuildRetry don't retry any index builds that wereinterrupted by shutdown--noscripting disable scripting engine--notablescan do not allow table scansWindows Service Control Manager options:--install install Windows service--remove remove Windows service--reinstall reinstall Windows service (equivalentto --remove followed by --install)--serviceName arg Windows service name--serviceDisplayName arg Windows service display name--serviceDescription arg Windows service description--serviceUser arg account for service execution--servicePassword arg password used to authenticateserviceUserReplication options:--oplogSize arg size to use (in MB) for replication oplog. default is 5% of disk space (i.e.large is good)Master/slave options (old; use replica sets instead):--master master mode--slave slave mode--source arg when slave: specify master as<server:port>--only arg when slave: specify a single databaseto replicate--slavedelay arg specify delay (in seconds) to be usedwhen applying master ops to slave--autoresync automatically resync if slave data isstaleReplica set options:--replSet arg arg is <setname>[/<optionalseedhostlist>]--replIndexPrefetch arg specify index prefetching behavior (ifsecondary) [none|_id_only|all]--enableMajorityReadConcern enables majority readConcernSharding options:--configsvr declare this is a config db of acluster; default port 27019; defaultdir /data/configdb--shardsvr declare this is a shard db of acluster; default port 27018Storage options:--storageEngine arg what storage engine to use - defaultsto wiredTiger if no data files present--dbpath arg directory for datafiles - defaults to\data\db\ which is C:\data\db\ based onthe current working drive--directoryperdb each database will be stored in aseparate directory--noprealloc disable data file preallocation - willoften hurt performance--nssize arg (=16) .ns file size (in MB) for new databases--quota limits each database to a certainnumber of files (8 default)--quotaFiles arg number of files allowed per db, implies--quota--smallfiles use a smaller default file size--syncdelay arg (=60) seconds between disk syncs (0=never,but not recommended)--upgrade upgrade db if needed--repair run repair on all dbs--repairpath arg root directory for repair files -defaults to dbpath--journal enable journaling--nojournal disable journaling (journaling is on bydefault for 64 bit)--journalOptions arg journal diagnostic options--journalCommitInterval arg how often to group/batch commit (ms)WiredTiger options:--wiredTigerCacheSizeGB arg maximum amount of memory to allocatefor cache; defaults to 1/2 of physicalRAM--wiredTigerStatisticsLogDelaySecs arg (=0)seconds to wait between each write to astatistics file in the dbpath; 0 meansdo not log statistics--wiredTigerJournalCompressor arg (=snappy)use a compressor for log records[none|snappy|zlib]--wiredTigerDirectoryForIndexes Put indexes and data in differentdirectories--wiredTigerCollectionBlockCompressor arg (=snappy)block compression algorithm forcollection data [none|snappy|zlib]--wiredTigerIndexPrefixCompression arg (=1)use prefix compression on row-storeleaf pagesC:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>mongod --install --serviceName "MongoDB" --httpinterface --rest --bind_ip 0.0.0.0 --port 27017 --dbpath C:\MongoDB\Server\3.4\data\db --logpath C:\MongoDB\Server\3.4\data\log\log.txt --logappendC:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>net start MongoDB
MongoDB 服务正在启动 ..
MongoDB 服务已经启动成功。C:\MongoDB\Server\3.4\bin>mongo
MongoDB shell version v3.4.24
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.24
Server has startup warnings:
2023-08-05T16:58:17.407+0800 I CONTROL [initandlisten]
2023-08-05T16:58:17.407+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2023-08-05T16:58:17.407+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2023-08-05T16:58:17.408+0800 I CONTROL [initandlisten]
2023-08-05T16:58:17.408+0800 I CONTROL [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.
2023-08-05T16:58:17.408+0800 I CONTROL [initandlisten]
>
>
> db
test
>
>
> exit
byeC:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>
C:\MongoDB\Server\3.4\bin>net stop MongoDB
MongoDB 服务正在停止.
MongoDB 服务已成功停止。C:\MongoDB\Server\3.4\bin>mongod --remove
2023-08-05T17:02:56.106+0800 I CONTROL [main] Trying to remove Windows service 'MongoDB'
2023-08-05T17:02:56.108+0800 I CONTROL [main] Service 'MongoDB' removed
mongodb-win32-x86_64-2008plus-3.4.24-signed.msi
相关文章:

mongodb-win32-x86_64-2008plus-3.4.24-signed.msi
Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\Administrator>cd C:\MongoDB\Server\3.4\binC:\MongoDB\Server\3.4\bin>C:\MongoDB\Server\3.4\bin>mongod --help Options:General options:-h [ --help ] …...
java的反射
在java语言中,反射机制是指对于处在运行状态的类,都能够获取到这个类的所有属性和方法。对于任意一个对象,都能够调用它的任意一个方法以及访问它的属性;这种通过动态获取类或对象的属性以及方法从而完成调用功能被称为java语言的…...
MySQL — InnoDB 锁
文章目录 锁共享锁和排他锁意向锁记录锁间隙锁临键锁插入意向锁自增锁 锁 加锁是实现数据库并发控制的一个非常重要的技术。当事务在对某个数据对象进行操作前,先向系统发出请求,对其加锁。加锁后事务就对该数据对象有了一定的控制,在该事务…...
首批获得金融级行业云平台认证,天翼云深耕行业云
云计算下半场看什么? 无疑是金融、政务、制造等传统政企用户的上云与用云。随着数字经济发展和产业数字化的提速,上云已是政企用户推动其数字化转型不断深入的重要抓手,成为不可阻挡的趋势。 与互联网用户相比,政企用户上云极为…...
浅谈Python解释器的组成
Python解释器是一个复杂的软件,它可以解释和执行Python代码。以下是Python解释器的主要组成部分: 源代码词法分析器(Lexical Analyzer): 这部分的任务是将输入的Python源代码分解成称为"tokens"的基础元素。例如&#x…...

服务限流治理
一、基础概念 1.什么是服务限流? 限流在日常生活中也很常见,比如节假日你去一个旅游景点,为了不把景点撑爆,管理部门通常会在外面设置拦截,限制景点的进入人数(等有人出来之后,再放新的人进去…...
机器学习笔记 - 使用CLIP在没有数据的情况下创建图像分类器
想象一下,如果我们现在需要对人们是否戴眼镜进行分类,但您没有数据或资源来训练自定义模型。该怎么办?这里我们了解如何使用预先训练的 CLIP 模型来创建自定义分类器,而无需任何培训。这种方法称为零样本图像分类,它可以对原始 CLIP 模型训练期间未明确看到的类别图像进行…...
42.利用 牛顿迭代法解非线性高维方程组(matlab程序)
1.简述 若向量记号为X,方程组就可以写成F(X)0的形式。 我们知道,对于一元函数的牛顿迭代法求根公式 类似的,对于多元函数求根公式 其中X是向量,是非线性方程组对应的雅可比矩阵。 具体求解的时候,我们可以先通过绘图命令绘制图形…...

我在leetcode用动态规划炒股
事情是这样的,突然兴起的我在letcode刷题 121. 买卖股票的最佳时机122. 买卖股票的最佳时机 II123. 买卖股票的最佳时机 III 以上三题。 1. 121. 买卖股票的最佳时机 1.1. 暴力遍历,两次遍历 1.1.1. 算法代码 public class Solution {public int Ma…...
rust实践-异步并发socket通信
客户端 [package] name = "rust_client" version = "0.1.0" edition = "2021"[dependencies] tokio = {version = "1.14.0", features = ["full"] }use tokio::io::{self, AsyncReadExt, AsyncWriteExt}; use tokio::net::…...
SolidUI社区-根据Prompt打造人设
背景 随着文本生成图像的语言模型兴起,SolidUI想帮人们快速构建可视化工具,可视化内容包括2D,3D,3D场景,从而快速构三维数据演示场景。SolidUI 是一个创新的项目,旨在将自然语言处理(NLP)与计算机图形学相…...

设计模式行为型——观察者模式
目录 什么是观察者模式 观察者模式的实现 观察者模式角色 观察者模式类图 观察者模式举例 观察者模式代码实现 观察者模式的特点 优点 缺点 使用场景 注意事项 实际应用 什么是观察者模式 观察者模式(Observer Pattern)是一种行为型设计模式…...

Kernel Exception导致手机重启案例分析
和你一起终身学习,这里是程序员Android 经典好文推荐,通过阅读本文,您将收获以下知识点: 一、高温触发 Kernel Exception 重启问题二、解决方案三、提高电池温度方案 一、 高温触发 Kernel Exception 重启问题 手机 电池温度 默认60度以上高温…...

C++入门篇5---模板
相信大家都遇到过这么一种情况,为了满足不同类型的需求,我们要写多个功能相同,参数类型不同的代码,为此,C引入了泛型编程这一概念,而模板就是实现泛型编程的基础,其实本质就是我们写一个类似”模…...

L2CS-Net: 3D gaze estimation
L2CS-Net: Fine-Grained Gaze Estimation in Unconstrained Environments论文解析 摘要1. 简介2. Related Work3. METHOD3.1 Proposed loss function3.2 L2CS-Net 结构3.3 数据集3.4 评价指标 4. 实验4.1 实验结果 论文地址:L2CS-Net: Fine-Grained Gaze Estimation…...
kenernetes/k8s笔试面试
k8s的基础概念 k8s本质是一个容器编排系统,可以管理容器的生命周期,应用部署,更新,维护,应用提供服务,扩容缩容应用,故障自愈。 k8s与docker的关系 docker:是一种轻量级的虚拟化技术。运维层…...
我们真的是在做数据治理吗
我们真的是在做数据治理吗? 什么是数据治理? 数据治理和数据管理有什么区别? 相信即使是考过数据治理工程师的人,面对这2个问题也仍然会有这个疑问。 目前国际和国内对于数据治理没有明确统一的定义,对于数据治理的服…...

聊聊汽车电子的话题
当谈到汽车电子时,有许多有趣的话题可以探讨。以下是一些可能感兴趣的话题: 自动驾驶技术:自动驾驶技术正变得越来越先进,它们如何在汽车中实现?它们将如何改变我们的交通方式以及对道路安全的影响? 电动汽…...

ThinkPHP6企业OA办公系统
有需要请加文章底部Q哦 可远程调试 ThinkPHP6企业OA办公系统 一 介绍 勾股OA基于ThinkPHP6开发,前端Layui,数据库mysql,是一款实用的企业办公系统。可多角色登录,集成了系统设置、人事管理、消息管理、审批管理、日常办公、客户…...

PPS Tester测量原理和实施方法
怿星科技发布了新品PPS Tester,这是一款基于1PPS方法的时间同步精度测试设备。PPS Tester由硬件模块ETS2110和上位机软件ePPSTester构成。本文将围绕此设备的应用场景,介绍相关概念和设备使用方法。 什么是时间同步? 时间同步就是采取某项技…...

使用docker在3台服务器上搭建基于redis 6.x的一主两从三台均是哨兵模式
一、环境及版本说明 如果服务器已经安装了docker,则忽略此步骤,如果没有安装,则可以按照一下方式安装: 1. 在线安装(有互联网环境): 请看我这篇文章 传送阵>> 点我查看 2. 离线安装(内网环境):请看我这篇文章 传送阵>> 点我查看 说明:假设每台服务器已…...

Appium+python自动化(十六)- ADB命令
简介 Android 调试桥(adb)是多种用途的工具,该工具可以帮助你你管理设备或模拟器 的状态。 adb ( Android Debug Bridge)是一个通用命令行工具,其允许您与模拟器实例或连接的 Android 设备进行通信。它可为各种设备操作提供便利,如安装和调试…...

汽车生产虚拟实训中的技能提升与生产优化
在制造业蓬勃发展的大背景下,虚拟教学实训宛如一颗璀璨的新星,正发挥着不可或缺且日益凸显的关键作用,源源不断地为企业的稳健前行与创新发展注入磅礴强大的动力。就以汽车制造企业这一极具代表性的行业主体为例,汽车生产线上各类…...

SAP学习笔记 - 开发26 - 前端Fiori开发 OData V2 和 V4 的差异 (Deepseek整理)
上一章用到了V2 的概念,其实 Fiori当中还有 V4,咱们这一章来总结一下 V2 和 V4。 SAP学习笔记 - 开发25 - 前端Fiori开发 Remote OData Service(使用远端Odata服务),代理中间件(ui5-middleware-simpleproxy)-CSDN博客…...

推荐 github 项目:GeminiImageApp(图片生成方向,可以做一定的素材)
推荐 github 项目:GeminiImageApp(图片生成方向,可以做一定的素材) 这个项目能干嘛? 使用 gemini 2.0 的 api 和 google 其他的 api 来做衍生处理 简化和优化了文生图和图生图的行为(我的最主要) 并且有一些目标检测和切割(我用不到) 视频和 imagefx 因为没 a…...
OD 算法题 B卷【正整数到Excel编号之间的转换】
文章目录 正整数到Excel编号之间的转换 正整数到Excel编号之间的转换 excel的列编号是这样的:a b c … z aa ab ac… az ba bb bc…yz za zb zc …zz aaa aab aac…; 分别代表以下的编号1 2 3 … 26 27 28 29… 52 53 54 55… 676 677 678 679 … 702 703 704 705;…...

springboot 日志类切面,接口成功记录日志,失败不记录
springboot 日志类切面,接口成功记录日志,失败不记录 自定义一个注解方法 import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;/***…...
数据库——redis
一、Redis 介绍 1. 概述 Redis(Remote Dictionary Server)是一个开源的、高性能的内存键值数据库系统,具有以下核心特点: 内存存储架构:数据主要存储在内存中,提供微秒级的读写响应 多数据结构支持&…...
boost::filesystem::path文件路径使用详解和示例
boost::filesystem::path 是 Boost 库中用于跨平台操作文件路径的类,封装了路径的拼接、分割、提取、判断等常用功能。下面是对它的使用详解,包括常用接口与完整示例。 1. 引入头文件与命名空间 #include <boost/filesystem.hpp> namespace fs b…...

轻量安全的密码管理工具Vaultwarden
一、Vaultwarden概述 Vaultwarden主要作用是提供一个自托管的密码管理器服务。它是Bitwarden密码管理器的第三方轻量版,由国外开发者在Bitwarden的基础上,采用Rust语言重写而成。 (一)Vaultwarden镜像的作用及特点 轻量级与高性…...