Compiling the MongoDB RPM Package
- Go to the tool directory.
cd /home/tsdbtool
- Set compile_flag to 1 in the configuration file and perform the check by referring to Checking the Installation Environment.
- Run the compile command.
sh tsdbtool.sh compile dbtype=mongodb conf=mongodbconf.csv sourcedir=mongo-r4.0.12.tar.gz


Logs generated during the normal process are stored in the /tmp/rpm.log file. After the command is executed, the MongoDB RPM package is generated in the tsdbtool directory.

Parent topic: Deploying MongoDB