Checking the Installation Environment
- Go to the tool directory.
cd /home/tsdbtool
- Run the check command.
sh tsdbtool.sh check dbtype=mongodb conf=mongodbconf.csv sourcedir=mongo-r4.0.12.tar.gz


If mongodb env check success is output, the environment is normal. In this case, perform the install operation. If the command output contains failed, rectify the fault based on the command output and then run the check command. During the command execution, there is a short pause for waiting for the command to be automatically entered.
For RPM package installation, change sourcedir to rpmdir and change the source code package name to the RPM package name. For example:
sh tsdbtool.sh check dbtype=mongodb conf=mongodbconf.csv rpmdir=mongo-4.0.12-1.el7.aarch64.rpm


Parent topic: Deploying MongoDB