- 安装:
# dnf install mongodb mongodb-server
# service mongod start
- 启动:
$ sudo service mongod start
$ mongo
MongoDB shell version: 3.2.7
connecting to: test
# dnf install mongodb mongodb-server
# service mongod start
$ sudo service mongod start
$ mongo
MongoDB shell version: 3.2.7
connecting to: test