Running MongoDB Tools
This section describes how to go to the MongoDB Tools installation directory and check whether the MongoDB Tools commands are normal.
- Go to the bin directory.
- Install MongoDB Tools using source code.
1cd /root/mongodb-tools-3.6.13/src/github.com/mongodb/mongo-tools/bin
- Installing MongoDB Tools using an RPM package.
1cd /usr/local/mongodb-tools/bin/
- Install MongoDB Tools using source code.
- 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


Parent topic: Running