mongodb的默认安装目录在哪里 [英] where is default installation directory for mongodb

查看:49
本文介绍了mongodb的默认安装目录在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照其站点上的说明安装了mongodb.要打开外壳,我必须转到mongodb的安装目录,然后键入

I installed mongodb by following the instructions from its site. To open the shell I must go to the installation directory of mongodb, and then type

./bin/mongo

我不知道默认目录.可能在哪里?

I don't know the default directory. where might it be?

推荐答案

晚些时候参加聚会,但可以帮助其他人:我为Ubuntu 16.4安装了mongodb 3.4.10

Late to the party but it could help others : I installed mongodb 3.4.10 for Ubuntu 16.4

我找到了mongo文件以启动

I found the mongo file to launch the shell at

/usr/bin/mongo

我使用以下命令找到了它

I found it using the following commands

sudo updatedb
locate -b '\mongo'

这篇关于mongodb的默认安装目录在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆