通过服务器中转访问其他服务器:su - ptkfcz输入passwordssh 用户@转接服务IP使用locate命令定位mongo位置进入mongo的bin目录下:输入命令进去mongoDB:./mongo IP:端口show dbs,use db,show tables
分类:
数据库 时间:
2014-06-18 20:18:05
阅读次数:
248
Could there be a professional photographer, and may not be as formal photographer, eventually you will find yourself looking for a digital camera cont...
分类:
其他好文 时间:
2014-06-18 19:55:02
阅读次数:
184
1 SELECT 2 DB_NAME(mf.database_id) AS databaseName, 3 name as File_LogicalName, 4 case 5 when type_desc = 'LOG' then 'Log File' 6 when type_desc = 'R....
分类:
数据库 时间:
2014-06-18 19:25:20
阅读次数:
233
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-06-18 17:39:11
阅读次数:
260
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-06-18 17:25:33
阅读次数:
155
位于/etc/vim/的vimrc" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by" the call to :runtime you can find below. If you wish to....
分类:
其他好文 时间:
2014-06-18 17:21:42
阅读次数:
271
java自带替换String s="hlz_and_hourui哈哈"; String new_S=s.replaceAll("哈", "笑毛"); System.out.println(new_S);则输出为:"hlz_and_hourui笑毛笑毛"; 1 package find_repal.....
分类:
编程语言 时间:
2014-06-18 15:58:49
阅读次数:
264
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-06-18 12:51:52
阅读次数:
205
HDU 2095 find your present (2)题目描述:Problem DescriptionIn the new year party, everybody will get a "special present".Now it's your turn to get your spe...
分类:
其他好文 时间:
2014-06-17 14:12:54
阅读次数:
217
当前系统的postfix的版本为 postfix-2.6.6-2.2.el6_1.x86_64获取新的postfix的包 postfix-2.11.0.tar.gz解压 cd postfix-2.11.0要是有.spec的文件可以打包成包,就很方便了 find -name '*.spec'vim I...
分类:
数据库 时间:
2014-06-17 13:57:51
阅读次数:
288