我使用了这段代码:
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