在codeanywhere中安装和运行mongodb

时间:2017-04-22 20:38:49

标签: mongodb

我使用了这段代码:

DeserializeOwned

我创建了一个名为mongodb的文件,其中包含:

$ mkdir data
$ echo 'mongod --bind_ip=$0.0.0.0 --dbpath=data --nojournal  "$@"' > mongod
$ chmod a+x mongod

但是当我跑步时

​ mongod --bind_ip=$0.0.0.0 --dbpath=data --nojournal  "$@"

我得到了这个并且它不起作用:  https://i.stack.imgur.com/L9224.png

0 个答案:

没有答案