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

Compiling the MongoDB RPM Package

  1. Go to the tool directory.
    cd /home/tsdbtool
  2. Set compile_flag to 1 in the configuration file and perform the check by referring to Checking the Installation Environment.
  3. 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.