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

Compiling the PostgreSQL RPM Package

If the source code package is used for installation, skip this section.

  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=postgresql conf=postgresqlconf.csv sourcedir=postgresql-11.3.tar.gz

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