美文网首页
mongodb安装和可视化工具Rono 3t

mongodb安装和可视化工具Rono 3t

作者: 勤学会 | 来源:发表于2019-01-07 20:13 被阅读0次

1.进入官网
https://www.mongodb.com/download-center/community
下载对应版本

image.png
2.上传到服务器
tar -zxvf
mv mongodb/ /usr/local/mongodb
3.创建数据库目录
mkdir -p /data/db
mkdir -m 777 /var/log/mongodb/
4.创建配置文件(重要)
vim /etc/mongodb.conf
fork = true
bind_ip = 0.0.0.0
port = 27017
quiet = true
dbpath = /data/db
logpath = /var/log/mongodb/mongod.log
logappend = true
journal = true

5.启动
进入/usr/local/mongodb/bin目录
启动服务端 ./mongod --config /etc/mongodb.conf
进入客户端 ./mongo

6.Rono 3t连接


image.png

如果有账号密码就自己 填写一下


image.png
点击Test测试一下是否能连接,
如果不能连接,关闭防火墙.试试

遇到的坑
1.about to fork child process, waiting until server is ready for connections.
forked process: 86658
ERROR: child process failed, exited with error number 100
To see additional information in this output, start without the "--fork" option.
2.rono 3t 无法连接 bind_ip = 0.0.0.0

感谢教我的小伙伴,

相关文章

网友评论

      本文标题:mongodb安装和可视化工具Rono 3t

      本文链接:https://www.haomeiwen.com/subject/nreprqtx.html