我已经下载了 mongodb-linux-2.4.1 压缩包。然后我解压它。转到 mongodb-linux-2.4.1/bin 文件夹并启动它
./mongo
然后我得到:
li@li-HP:~/Tools/mongodb-linux-x86_64-2.4.1/bin$ ./mongo
MongoDB shell version: 2.4.1
connecting to: test
Fri Mar 29 19:29:47.958 JavaScript execution failed: Error: couldn't connect to
server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112
exception: connect failed
有什么建议吗?