linux + .net mongoDB搭建笔记

1.linux 命令:

http://www.cnblogs.com/luyajin/p/5557262.html

vi编辑:

http://blog.csdn.net/u013142781/article/details/50735470

vim编辑:

http://jingyan.baidu.com/article/495ba8410ff14d38b30ede01.html

 

2.MongoDB安装:

http://www.runoob.com/mongodb/mongodb-linux-install.html

配置需要登录访问:

https://segmentfault.com/a/1190000008636760

注意:如果需要某一个账号可在多个DB中访问,则需要单独给这个账号在不同的DB中赋值角色权限,如:

db.grantRolesToUser( "sa" , [ { role: "dbOwner", db: "admin" } ])

posted @ 2017-10-13 15:06  梦在旅途  阅读(93)  评论(0)    收藏  举报