摘要: 数据库用户角色(Database User Roles): read:授予User只读数据的权限 readWrite:授予User读写数据的权限 数据库管理角色(Database Administration Roles): dbAdmin:在当前dB中执行管理操作 dbOwner:在当前DB中执行 阅读全文
posted @ 2017-03-03 22:08 夏天的西瓜君 阅读(7947) 评论(0) 推荐(0) 编辑
摘要: MongoDB Enterprise >use abcdb //切换到abcdb库 MongoDB Enterprise >db.createUser({user: "abc",pwd: "abc123",roles: [ { role: "readWrite", db: "abcdb" } ]}) 阅读全文
posted @ 2017-03-03 21:40 夏天的西瓜君 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 6874:C 25 Feb 10:51:25.082 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/t 阅读全文
posted @ 2017-02-25 10:53 夏天的西瓜君 阅读(2763) 评论(0) 推荐(0) 编辑
摘要: vim Tomcat/webapps/manager/META-INF/context.xml 注释Value节点 <!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.\d+\.\d+\.\d+ 阅读全文
posted @ 2017-01-25 14:03 夏天的西瓜君 阅读(129) 评论(0) 推荐(0) 编辑
摘要: export JAVA_HOME=/home/tomcat/jdk1.8.0_121export JRE_HOME=${JAVA_HOME}/jreexport CATALINA_HOME=${HOME}/apache-tomcat-9.0.0.M17export CATALINA_BASE=${H 阅读全文
posted @ 2017-01-25 13:51 夏天的西瓜君 阅读(2588) 评论(0) 推荐(0) 编辑
摘要: api-ms-win-crt-filesystem-l1-1-0.dll 在win7安装powershell时可能会发生缺失,可以到c盘搜索下,或者你已经安装vscode,可能会搜索到。 文件下载地址: http://files.cnblogs.com/files/yangxuming/api-ms 阅读全文
posted @ 2017-01-24 11:03 夏天的西瓜君 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: 直接用cmd 打开,然后输入powershell,接着可以用ls命令测试下,能正常显示目录,基本没问题。或者在程序->管理工具->windows powershell modules 打开。 或则在程序->附件->windows powershell 阅读全文
posted @ 2017-01-24 10:54 夏天的西瓜君 阅读(3434) 评论(0) 推荐(0) 编辑
摘要: ^: 指针 @: 取址 #: 十进制符 $: 十六进制符 阅读全文
posted @ 2017-01-13 09:17 夏天的西瓜君 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: node.js 开发工具: webstorm +1 开发工具: webstorm +1 sublime text 3 书: 推荐 《nodejs入门经典》 + 《深入浅出nodejs》 http://cnodejs.org/ NODE中文社区 http://blog.csdn.net/yanghua 阅读全文
posted @ 2016-11-29 15:45 夏天的西瓜君 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 下面的关键字不能被重新定义或用作标志符:and array as asm begin case class const constructor destructor dispinterface divdo downto else end except exports file finalizatio 阅读全文
posted @ 2016-11-22 17:22 夏天的西瓜君 阅读(247) 评论(0) 推荐(0) 编辑