我要评分
获取效率
正确性
完整性
易理解

Running MongoDB Tools

This section describes how to go to the MongoDB Tools installation directory and check whether the MongoDB Tools commands are normal.

  1. Go to the bin directory.
    • Install MongoDB Tools using source code.
      1
      cd /root/mongodb-tools-3.6.13/src/github.com/mongodb/mongo-tools/bin
      
    • Installing MongoDB Tools using an RPM package.
      1
      cd /usr/local/mongodb-tools/bin/
      
  2. Check whether the MongoDB Tools commands are normal. This section uses mongorestore and mongoreplay as examples.
    1
    2
    3
    4
    ./mongorestore --version
    ./mongorestore --help
    ./mongoreplay --version
    ./mongoreplay --help