How to install mongodb client under linux
習慣沉默
習慣沉默 2017-05-02 09:25:01
0
3
705

Since Tencent Cloud does not support external client tools to access the mongodb database
it must be managed on their own cvm-linux. Are there any suitable client tools?

習慣沉默
習慣沉默

reply all(3)
洪涛

1. Common practice: Most cloud vendors support opening service network ports. For example, you can set network rules to open MongoDB’s 27017 port;

2. If only SSH port 22 is supported, this is rare; however, SSH Tunnel can be used for port forwarding.

For reference.

Love MongoDB! Have Fun!

刘奇

Using the mongo tool, the mongo program is a command line interactive client. You can directly use host to specify the host where the mongodb database you want to access is located, and use port to specify the open port of the host where the mongodb database is located. As long as the server where the mongo tool is located and the server where the mongodb database is located are connected to each other. As shown in the following command.

mongo --host 127.0.0.1 --port 27017
过去多啦不再A梦

I have been using robomongo and ubuntu14.04 locally. I don’t know if it can be used in your environment

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template