如题。使用 apt-get install mongodb 安装的mongodb,但是不知道装的是什么版本。不知道在哪里查看?
ringa_lee2017-04-21 11:19:48
Look"bits": 64, Mongodb is 64-bit.
I use the command line to log in. If you don't have this permission, you can also use a program to connect and solve the problem in a similar way.
oldcai@ProBook:~$ mongo MongoDB shell version: 2.0.4 connecting to: test > use admin switched to db admin > db.runCommand("buildInfo") { "version" : "2.0.4", "gitVersion" : "nogitversion", "sysInfo" : "Linux yellow 2.6.24-29-server #1 SMP Tue Oct 11 15:57:27 UTC 2011 x86_64 BOOST_LIB_VERSION=1_46_1", "versionArray" : [ 2, 0, 4, 0 ], "bits" : 64, "debug" : false, "maxBsonObjectSize" : 16777216, "ok" : 1 } >
怪我咯2017-04-21 11:19:48
uname -a Take a look, if your ubuntu/debian is 64bit, then mongodb is also 64bit.