centos mongodb

cd到mongodb目录下的bin文件夹,执行命令./mongo
运行如下:
[root@namenode mongodb]# ./bin/mongo
MongoDB shell version: 1.8.2
connecting to: test
> use test;
switched to db test
原文地址:https://www.cnblogs.com/jtlgb/p/5733235.html