linux下安装配置
整理中。。。
windows下安装配置
1、下载:
2、解压到D盘

3、D:下创建data目录,目录中创建db和log文件夹

4、创建mongod.log文件
5、修改配置文件
systemLog:
destination: file
path: D:datalogmongod.log
storage:
dbPath: D:datadb
6、启动配置文件

7、启动服务

进入到D:MongoDBin
输入mongo

show databases

python使用mongodb,不需要创建数据库、表,直接可以使用,像字典一样

查找

8、在python中使用,还需要按照pymongo
python3 -m pip install pymongo