03 2020 档案

摘要:read: 只能读取指定数据库 readWrite: 能读写指定数据库 dbAdmin: 能执行管理函数,如索引创建、删除,查看统计或访问 system.profile dbOwner: 对当前数据库有全部权限 userAdmin: 能创建、删除和管理用户 clusterAdmin: 只能在 adm 阅读全文
posted @ 2020-03-18 15:27 chenlive 阅读(195) 评论(0) 推荐(0) 编辑
摘要:mongodb安装后初始化,也可当作强制破解密码教程 1.关闭认证密码,重新启动mongodb systemctl restart mongodb 2.进入命令端重置密码 mongo port 27000 use admin 此次操作需谨慎,会删除所有账号,新数据库默认没有,不需执行,直接创建用户 阅读全文
posted @ 2020-03-18 15:12 chenlive 阅读(980) 评论(0) 推荐(0) 编辑
摘要:20200318 可参考官方指导安装https://docs.mongodb.com/manual/tutorial/install mongodb on red hat tarball/ 一、安装依赖 yum install openssl openssl devel y 二、下载安装包,并解压安 阅读全文
posted @ 2020-03-18 14:47 chenlive 阅读(892) 评论(0) 推荐(0) 编辑