search

Home  >  Q&A  >  body text

linux下如何安装mongodb客户端

由于腾讯云不支持外网客户端工具访问mongodb数据库
必须在他们自己的cvm-linux上管理,有没有哪些合适的客户端工具?

習慣沉默習慣沉默2755 days ago676

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:27:01

    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!

    reply
    0
  • 怪我咯

    怪我咯2017-05-02 09:27:01

    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

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:27:01

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

    reply
    0
  • Cancelreply