摘要:
db.runCommand({addshard : "localhost:10001"}){ "errmsg" : "no such cmd", "bad cmd" : { "addshard" : "localhost:10001" }, "ok" : 0} 阅读全文
posted @ 2011-04-20 17:45 陈力 阅读(6507) 评论(4) 推荐(0) 编辑
|
|||
摘要:
db.runCommand({addshard : "localhost:10001"}){ "errmsg" : "no such cmd", "bad cmd" : { "addshard" : "localhost:10001" }, "ok" : 0} 阅读全文
posted @ 2011-04-20 17:45 陈力 阅读(6507) 评论(4) 推荐(0) 编辑
摘要:
lee@ubuntu:~$ sudo mkdir -p /var/mongodb/0[sudo] password for lee: lee@ubuntu:~$ sudo mkdir -p/var/mongodb/1mkdir: invalid option -- '/'Try `mkdir --help' for more information.lee@ubuntu:~$ sudo mkdir -p /var/mongodb/1lee@ubuntu:~$ cd mongodb-linux-i686-1.6.4/lee@ubuntu:~/mongodb-linux-i 阅读全文
posted @ 2011-04-20 11:46 陈力 阅读(1090) 评论(0) 推荐(0) 编辑 |
|||